Commit b75419d
committed
allow upgrades in
When using pnpm with a workspace, if you happen to run the upgrade tool
in the root because some Tailwind CSS dependencies live there, then you
will get an error that you need the `--workspace-root` flag.
However, if we _always_ add it, then the upgrade tool will add
dependencies to the root, regardless of whether you are in a
sub-packages.
With this, the check doesn't happen and no error is thrown. This will
just install/bump the dependencies where necessary.pnpm workspace root1 parent 4999043 commit b75419d
File tree
2 files changed
+30
-1
lines changed- integrations/upgrade
- packages/@tailwindcss-upgrade/src/utils
2 files changed
+30
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3091 | 3091 | | |
3092 | 3092 | | |
3093 | 3093 | | |
3094 | | - | |
| 3094 | + | |
| 3095 | + | |
| 3096 | + | |
| 3097 | + | |
| 3098 | + | |
| 3099 | + | |
| 3100 | + | |
| 3101 | + | |
| 3102 | + | |
| 3103 | + | |
| 3104 | + | |
| 3105 | + | |
| 3106 | + | |
| 3107 | + | |
| 3108 | + | |
| 3109 | + | |
| 3110 | + | |
| 3111 | + | |
| 3112 | + | |
| 3113 | + | |
| 3114 | + | |
| 3115 | + | |
| 3116 | + | |
3095 | 3117 | | |
3096 | 3118 | | |
3097 | 3119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
34 | 41 | | |
35 | 42 | | |
36 | 43 | | |
| |||
0 commit comments