Commit 922463a
committed
fix(migration): overwrite workspace yaml overrides and handle force-mode vite-plus
Always overwrite pnpm-workspace.yaml overrides when migrating from
package.json, since the package.json value was the effective one
(pnpm ignores workspace overrides when pnpm.overrides exists).
Also write the vite-plus override to pnpm-workspace.yaml in force
mode for standalone projects without existing pnpm config.1 parent 4a56523 commit 922463a
2 files changed
Lines changed: 11 additions & 4 deletions
File tree
- packages/cli
- snap-tests-global/migration-monorepo-pnpm-overrides-dependency-selector
- src/migration
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
730 | 730 | | |
731 | 731 | | |
732 | 732 | | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
733 | 740 | | |
734 | 741 | | |
735 | 742 | | |
| |||
1056 | 1063 | | |
1057 | 1064 | | |
1058 | 1065 | | |
1059 | | - | |
1060 | | - | |
1061 | | - | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
1062 | 1069 | | |
1063 | 1070 | | |
1064 | 1071 | | |
| |||
0 commit comments