Commit 463c61a
authored
chore: move pnpm settings to pnpm-workspace.yaml (#791)
## Summary
- Move `pnpm.overrides` and `pnpm.peerDependencyRules` out of
`package.json` and into `pnpm-workspace.yaml` as top-level `overrides`
and `peerDependencyRules` keys.
- pnpm no longer reads the `pnpm` field in `package.json` and emits a
warning on install:
```
[WARN] The "pnpm" field in package.json is no longer read by pnpm. The
following keys were ignored: "pnpm.overrides",
"pnpm.peerDependencyRules". See https://pnpm.io/settings for the new
home of each setting.
```
## Test plan
- [x] `vp install` no longer emits the deprecation warning
- [x] `vitest` still resolves to `@voidzero-dev/vite-plus-test` via the
override1 parent 29dfa5b commit 463c61a
3 files changed
Lines changed: 12 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
| 114 | + | |
127 | 115 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments