Skip to content

Commit 7d10f42

Browse files
Implement pnpm overrides
1 parent 364ef93 commit 7d10f42

File tree

27 files changed

+997
-1246
lines changed

27 files changed

+997
-1246
lines changed

package.json

Lines changed: 157 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,19 @@
99
"engines": {
1010
"node": ">=20.16.0"
1111
},
12+
"workspaces": [
13+
"packages/*"
14+
],
1215
"scripts": {
1316
"build": "pnpm -r build",
1417
"clean": "pnpm -r clean",
1518
"compile": "tsc --build && pnpm -r --if-present compile:esbuild",
1619
"fix:eslint": "pnpm lint:ts --fix",
1720
"fix:meta": "pnpm run meta-updater:base && pnpm -r exec prettier --write tsconfig.json package.json",
18-
"fix:syncpack": "pnpm syncpack fix-mismatches",
1921
"init-vscode-sandbox": "pnpm --filter=@cursorless/cursorless-vscode init-launch-sandbox",
2022
"lint:meta": "pnpm run meta-updater:base --test",
2123
"lint:ts": "cross-env ESLINT_USE_FLAT_CONFIG=false eslint packages --ext ts,tsx,mts",
22-
"lint": "pnpm run lint:meta && syncpack list-mismatches && pnpm run lint:ts",
24+
"lint": "pnpm run lint:meta && pnpm run lint:ts",
2325
"meta-updater:base": "pnpm --filter=@cursorless/meta-updater build && meta-updater",
2426
"preinstall": "npx only-allow pnpm",
2527
"test-compile": "tsc --build",
@@ -31,25 +33,161 @@
3133
"watch:tsc": "tsc --build --watch"
3234
},
3335
"devDependencies": {
34-
"@pnpm/meta-updater": "2.0.4",
35-
"@types/node": "20.17.50",
36-
"@typescript-eslint/eslint-plugin": "8.33.1",
37-
"@typescript-eslint/parser": "8.33.1",
38-
"cross-env": "7.0.3",
39-
"esbuild": "0.25.5",
40-
"eslint": "9.28.0",
41-
"eslint-config-prettier": "10.1.5",
42-
"eslint-import-resolver-typescript": "4.4.2",
43-
"eslint-plugin-import": "2.31.0",
44-
"eslint-plugin-mocha": "10.5.0",
45-
"eslint-plugin-unicorn": "56.0.1",
46-
"eslint-plugin-unused-imports": "4.1.4",
47-
"prettier": "3.3.3",
48-
"prettier-plugin-tailwindcss": "0.6.12",
49-
"syncpack": "13.0.4",
50-
"typescript": "5.8.3"
36+
"@pnpm/meta-updater": "",
37+
"@types/node": "",
38+
"@typescript-eslint/eslint-plugin": "",
39+
"@typescript-eslint/parser": "",
40+
"cross-env": "",
41+
"esbuild": "",
42+
"eslint": "",
43+
"eslint-config-prettier": "",
44+
"eslint-import-resolver-typescript": "",
45+
"eslint-plugin-import": "",
46+
"eslint-plugin-mocha": "",
47+
"eslint-plugin-unicorn": "",
48+
"eslint-plugin-unused-imports": "",
49+
"prettier": "",
50+
"prettier-plugin-tailwindcss": "",
51+
"typescript": ""
5152
},
5253
"pnpm": {
54+
"overrides": {
55+
"@algolia/client-search": "5.25.0",
56+
"@cursorless/cheatsheet": "workspace:*",
57+
"@cursorless/common": "workspace:*",
58+
"@cursorless/cursorless-cheatsheet": "workspace:*",
59+
"@cursorless/cursorless-engine": "workspace:*",
60+
"@cursorless/cursorless-everywhere-talon-core": "workspace:*",
61+
"@cursorless/cursorless-tutorial": "workspace:*",
62+
"@cursorless/neovim-common": "workspace:*",
63+
"@cursorless/neovim-registry": "workspace:*",
64+
"@cursorless/node-common": "workspace:*",
65+
"@cursorless/sentence-parser": "workspace:*",
66+
"@cursorless/test-case-recorder": "workspace:*",
67+
"@cursorless/vscode-common": "workspace:*",
68+
"@docsearch/react": "3.9.0",
69+
"@docusaurus/core": "3.8.0",
70+
"@docusaurus/module-type-aliases": "3.8.0",
71+
"@docusaurus/preset-classic": "3.8.0",
72+
"@docusaurus/theme-classic": "3.8.0",
73+
"@docusaurus/theme-common": "3.8.0",
74+
"@docusaurus/theme-search-algolia": "3.8.0",
75+
"@docusaurus/types": "3.8.0",
76+
"@effortlessmotion/html-webpack-inline-source-plugin": "1.0.3",
77+
"@fortawesome/fontawesome-svg-core": "6.7.2",
78+
"@fortawesome/free-solid-svg-icons": "6.7.2",
79+
"@fortawesome/react-fontawesome": "0.2.2",
80+
"@mdx-js/loader": "3.1.0",
81+
"@mdx-js/react": "3.1.0",
82+
"@next/mdx": "15.3.3",
83+
"@pnpm/lockfile-file": "9.1.3",
84+
"@pnpm/logger": "1001.0.0",
85+
"@pnpm/meta-updater": "2.0.4",
86+
"@pnpm/types": "1000.6.0",
87+
"@svgr/webpack": "8.1.0",
88+
"@tailwindcss/postcss": "4.1.8",
89+
"@testing-library/dom": "10.4.0",
90+
"@testing-library/react": "16.3.0",
91+
"@tsconfig/docusaurus": "2.0.3",
92+
"@types/chai": "5.2.2",
93+
"@types/cross-spawn": "6.0.6",
94+
"@types/fs-extra": "11.0.4",
95+
"@types/jest": "29.5.14",
96+
"@types/js-yaml": "4.0.9",
97+
"@types/lodash": "4.17.17",
98+
"@types/lodash-es": "4.17.12",
99+
"@types/mdast": "4.0.4",
100+
"@types/mdx": "2.0.13",
101+
"@types/mocha": "10.0.10",
102+
"@types/moo": "0.5.10",
103+
"@types/nearley": "2.11.5",
104+
"@types/node": "20.17.50",
105+
"@types/normalize-path": "3.0.2",
106+
"@types/react": "19.1.6",
107+
"@types/react-dom": "19.1.5",
108+
"@types/react-helmet": "6.1.11",
109+
"@types/semver": "7.7.0",
110+
"@types/sinon": "17.0.4",
111+
"@types/tail": "2.2.3",
112+
"@types/tinycolor2": "1.4.6",
113+
"@types/uuid": "10.0.0",
114+
"@types/vscode": "1.82.0",
115+
"@types/vscode-webview": "1.57.5",
116+
"@types/webpack": "5.28.5",
117+
"@typescript-eslint/eslint-plugin": "8.33.1",
118+
"@typescript-eslint/parser": "8.33.1",
119+
"@vscode/test-electron": "2.5.2",
120+
"@webpack-cli/generators": "3.0.7",
121+
"autoprefixer": "10.4.21",
122+
"chai": "5.2.0",
123+
"clsx": "2.1.1",
124+
"cross-env": "7.0.3",
125+
"cross-spawn": "7.0.6",
126+
"css-loader": "7.1.2",
127+
"esbuild": "0.25.5",
128+
"eslint": "9.28.0",
129+
"eslint-config-next": "15.3.3",
130+
"eslint-config-prettier": "10.1.5",
131+
"eslint-import-resolver-typescript": "4.4.2",
132+
"eslint-plugin-import": "2.31.0",
133+
"eslint-plugin-mocha": "10.5.0",
134+
"eslint-plugin-unicorn": "56.0.1",
135+
"eslint-plugin-unused-imports": "4.1.4",
136+
"fast-check": "4.1.1",
137+
"fast-xml-parser": "5.2.3",
138+
"fs-extra": "11.3.0",
139+
"glob": "11.0.2",
140+
"html-webpack-plugin": "5.6.3",
141+
"http-server": "14.1.1",
142+
"immer": "10.1.1",
143+
"immutability-helper": "3.1.1",
144+
"itertools": "2.4.1",
145+
"jest": "29.7.0",
146+
"jest-environment-jsdom": "30.0.0-beta.3",
147+
"js-yaml": "4.1.0",
148+
"lodash": "4.17.21",
149+
"lodash-es": "4.17.21",
150+
"mdast-util-find-and-replace": "3.0.2",
151+
"mocha": "11.5.0",
152+
"moo": "0.5.2",
153+
"nearley": "2.20.1",
154+
"neovim": "5.3.0",
155+
"next": "15.3.3",
156+
"node-html-parser": "7.0.1",
157+
"normalize-path": "3.0.0",
158+
"path-exists": "5.0.0",
159+
"postcss": "8.5.4",
160+
"postcss-loader": "8.1.1",
161+
"prettier": "3.3.3",
162+
"prettier-plugin-tailwindcss": "0.6.12",
163+
"prism-react-renderer": "2.4.1",
164+
"react": "19.1.0",
165+
"react-dom": "19.1.0",
166+
"react-player": "2.16.0",
167+
"react-string-replace": "1.1.1",
168+
"react-use": "17.6.0",
169+
"semver": "7.7.2",
170+
"sinon": "20.0.0",
171+
"style-loader": "4.0.0",
172+
"tail": "2.2.6",
173+
"tailwindcss": "3.4.14",
174+
"talon-snippets": "1.3.0",
175+
"tinycolor2": "1.6.0",
176+
"trie-search": "2.2.0",
177+
"ts-jest": "29.3.4",
178+
"ts-loader": "9.5.2",
179+
"ts-node": "10.9.2",
180+
"type-fest": "4.41.0",
181+
"typescript": "5.8.3",
182+
"unified": "11.0.5",
183+
"unist-util-visit": "5.0.0",
184+
"uuid": "11.1.0",
185+
"vscode-uri": "3.1.0",
186+
"webpack": "5.99.9",
187+
"webpack-cli": "6.0.1",
188+
"webpack-dev-server": "5.2.2",
189+
"zod": "3.25.50"
190+
},
53191
"patchedDependencies": {
54192
"@types/[email protected]": "patches/@[email protected]",
55193

packages/cheatsheet-local/package.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -29,33 +29,33 @@
2929
"clean": "rm -rf ./out tsconfig.tsbuildinfo ./dist ./build"
3030
},
3131
"dependencies": {
32-
"@cursorless/cheatsheet": "workspace:*",
33-
"react": "19.1.0",
34-
"react-dom": "19.1.0"
32+
"@cursorless/cheatsheet": "",
33+
"react": "",
34+
"react-dom": ""
3535
},
3636
"devDependencies": {
37-
"@effortlessmotion/html-webpack-inline-source-plugin": "1.0.3",
38-
"@testing-library/dom": "10.4.0",
39-
"@testing-library/react": "16.3.0",
40-
"@types/jest": "29.5.14",
41-
"@types/node": "20.17.50",
42-
"@types/react": "19.1.6",
43-
"@types/react-dom": "19.1.5",
44-
"@types/webpack": "5.28.5",
45-
"@webpack-cli/generators": "3.0.7",
46-
"autoprefixer": "10.4.21",
47-
"css-loader": "7.1.2",
48-
"html-webpack-plugin": "5.6.3",
49-
"jest": "29.7.0",
50-
"postcss": "8.5.4",
51-
"postcss-loader": "8.1.1",
52-
"style-loader": "4.0.0",
53-
"tailwindcss": "3.4.14",
54-
"ts-loader": "9.5.2",
55-
"ts-node": "10.9.2",
56-
"typescript": "5.8.3",
57-
"webpack": "5.99.9",
58-
"webpack-cli": "6.0.1",
59-
"webpack-dev-server": "5.2.2"
37+
"@effortlessmotion/html-webpack-inline-source-plugin": "",
38+
"@testing-library/dom": "",
39+
"@testing-library/react": "",
40+
"@types/jest": "",
41+
"@types/node": "",
42+
"@types/react": "",
43+
"@types/react-dom": "",
44+
"@types/webpack": "",
45+
"@webpack-cli/generators": "",
46+
"autoprefixer": "",
47+
"css-loader": "",
48+
"html-webpack-plugin": "",
49+
"jest": "",
50+
"postcss": "",
51+
"postcss-loader": "",
52+
"style-loader": "",
53+
"tailwindcss": "",
54+
"ts-loader": "",
55+
"ts-node": "",
56+
"typescript": "",
57+
"webpack": "",
58+
"webpack-cli": "",
59+
"webpack-dev-server": ""
6060
}
6161
}

packages/cheatsheet/package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,24 @@
2626
"watch": "pnpm run --filter @cursorless/cheatsheet --parallel '/^watch:.*/'"
2727
},
2828
"dependencies": {
29-
"@fortawesome/fontawesome-svg-core": "6.7.2",
30-
"@fortawesome/free-solid-svg-icons": "6.7.2",
31-
"@fortawesome/react-fontawesome": "0.2.2",
32-
"react": "19.1.0",
33-
"react-dom": "19.1.0",
34-
"react-string-replace": "1.1.1",
35-
"react-use": "17.6.0"
29+
"@fortawesome/fontawesome-svg-core": "",
30+
"@fortawesome/free-solid-svg-icons": "",
31+
"@fortawesome/react-fontawesome": "",
32+
"react": "",
33+
"react-dom": "",
34+
"react-string-replace": "",
35+
"react-use": ""
3636
},
3737
"devDependencies": {
38-
"@testing-library/dom": "10.4.0",
39-
"@testing-library/react": "16.3.0",
40-
"@types/jest": "29.5.14",
41-
"@types/react": "19.1.6",
42-
"@types/react-dom": "19.1.5",
43-
"@types/react-helmet": "6.1.11",
44-
"jest": "29.7.0",
45-
"jest-environment-jsdom": "30.0.0-beta.3",
46-
"ts-jest": "29.3.4",
47-
"typescript": "5.8.3"
38+
"@testing-library/dom": "",
39+
"@testing-library/react": "",
40+
"@types/jest": "",
41+
"@types/react": "",
42+
"@types/react-dom": "",
43+
"@types/react-helmet": "",
44+
"jest": "",
45+
"jest-environment-jsdom": "",
46+
"ts-jest": "",
47+
"typescript": ""
4848
}
4949
}

packages/common/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@
2525
"watch": "pnpm run --filter @cursorless/common --parallel '/^watch:.*/'"
2626
},
2727
"dependencies": {
28-
"lodash-es": "4.17.21",
29-
"vscode-uri": "3.1.0"
28+
"lodash-es": "",
29+
"vscode-uri": ""
3030
},
3131
"devDependencies": {
32-
"@types/js-yaml": "4.0.9",
33-
"@types/lodash-es": "4.17.12",
34-
"@types/mocha": "10.0.10",
35-
"cross-spawn": "7.0.6",
36-
"fast-check": "4.1.1",
37-
"js-yaml": "4.1.0",
38-
"mocha": "11.5.0"
32+
"@types/js-yaml": "",
33+
"@types/lodash-es": "",
34+
"@types/mocha": "",
35+
"cross-spawn": "",
36+
"fast-check": "",
37+
"js-yaml": "",
38+
"mocha": ""
3939
}
4040
}

packages/cursorless-cheatsheet/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
"clean": "rm -rf ./out tsconfig.tsbuildinfo ./dist ./build"
2323
},
2424
"dependencies": {
25-
"@cursorless/common": "workspace:*",
26-
"@cursorless/node-common": "workspace:*",
27-
"immer": "10.1.1",
28-
"lodash-es": "4.17.21",
29-
"node-html-parser": "7.0.1"
25+
"@cursorless/common": "",
26+
"@cursorless/node-common": "",
27+
"immer": "",
28+
"lodash-es": "",
29+
"node-html-parser": ""
3030
},
3131
"devDependencies": {
32-
"@types/lodash-es": "4.17.12"
32+
"@types/lodash-es": ""
3333
}
3434
}

0 commit comments

Comments
 (0)