Skip to content

Commit 8c9840f

Browse files
authored
chore: move all pnpm settings to pnpm-workspace.yaml (#19895)
1 parent 78cddd8 commit 8c9840f

File tree

3 files changed

+42
-54
lines changed

3 files changed

+42
-54
lines changed

.npmrc

Lines changed: 0 additions & 6 deletions
This file was deleted.

package.json

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -92,54 +92,6 @@
9292
]
9393
},
9494
"packageManager": "pnpm@10.12.2",
95-
"pnpm": {
96-
"overrides": {
97-
"vite": "workspace:*"
98-
},
99-
"patchedDependencies": {
100-
"http-proxy@1.18.1": "patches/http-proxy@1.18.1.patch",
101-
"sirv@3.0.1": "patches/sirv@3.0.1.patch",
102-
"chokidar@3.6.0": "patches/chokidar@3.6.0.patch",
103-
"dotenv-expand@12.0.2": "patches/dotenv-expand@12.0.2.patch"
104-
},
105-
"peerDependencyRules": {
106-
"allowedVersions": {
107-
"vite": "*"
108-
},
109-
"ignoreMissing": [
110-
"@algolia/client-search",
111-
"postcss",
112-
"search-insights"
113-
]
114-
},
115-
"packageExtensions": {
116-
"sass-embedded": {
117-
"peerDependencies": {
118-
"source-map-js": "*"
119-
},
120-
"peerDependenciesMeta": {
121-
"source-map-js": {
122-
"optional": true
123-
}
124-
}
125-
}
126-
},
127-
"ignoredBuiltDependencies": [
128-
"core-js",
129-
"es5-ext"
130-
],
131-
"onlyBuiltDependencies": [
132-
"@parcel/watcher",
133-
"@tailwindcss/oxide",
134-
"bcrypt",
135-
"esbuild",
136-
"playwright-chromium",
137-
"sharp",
138-
"simple-git-hooks",
139-
"unrs-resolver",
140-
"workerd"
141-
]
142-
},
14395
"stackblitz": {
14496
"startCommand": "pnpm --filter='./packages/vite' run dev"
14597
}

pnpm-workspace.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,45 @@ packages:
33
- 'playground/**'
44
- 'packages/**/__tests__/**'
55
- docs
6+
7+
hoistPattern:
8+
- postcss # package/vite
9+
- pug # playground/tailwind: @vue/compiler-sfc
10+
- eslint-import-resolver-* # eslint-plugin-import-x
11+
shellEmulator: true
12+
autoInstallPeers: false
13+
dedupeInjectedDeps: false
14+
overrides:
15+
vite: 'workspace:*'
16+
patchedDependencies:
17+
"http-proxy@1.18.1": "patches/http-proxy@1.18.1.patch"
18+
"sirv@3.0.1": "patches/sirv@3.0.1.patch"
19+
"chokidar@3.6.0": "patches/chokidar@3.6.0.patch"
20+
"dotenv-expand@12.0.2": "patches/dotenv-expand@12.0.2.patch"
21+
peerDependencyRules:
22+
allowedVersions:
23+
vite: "*"
24+
ignoreMissing:
25+
- "@algolia/client-search"
26+
- "postcss"
27+
- "search-insights"
28+
packageExtensions:
29+
sass-embedded:
30+
peerDependencies:
31+
source-map-js: "*"
32+
peerDependenciesMeta:
33+
source-map-js:
34+
optional: true
35+
ignoredBuiltDependencies:
36+
- core-js
37+
- es5-ext
38+
onlyBuiltDependencies:
39+
- "@parcel/watcher"
40+
- "@tailwindcss/oxide"
41+
- "bcrypt"
42+
- "esbuild"
43+
- "playwright-chromium"
44+
- "sharp"
45+
- "simple-git-hooks"
46+
- "unrs-resolver"
47+
- "workerd"

0 commit comments

Comments
 (0)