Skip to content

Commit fc1effb

Browse files
committed
Pin dependency versions, bump pnpm to 12.16.1, and switch husky setup from preinstall to prepare
- lock version numbers - make sure @types are in devDependencies
1 parent 22c3dfb commit fc1effb

7 files changed

Lines changed: 4707 additions & 5257 deletions

File tree

‎apps/browser/package.json‎

Lines changed: 35 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -6,43 +6,42 @@
66
"lint:fix": "eslint src --ext ts,tsx --fix"
77
},
88
"devDependencies": {
9-
"@pmmmwh/react-refresh-webpack-plugin": "^0.6.1",
10-
"@svgr/webpack": "^8.1.0",
11-
"@types/archiver": "^6.0.3",
12-
"@types/jest": "^29.5.14",
13-
"@types/node": "20.x",
14-
"@types/webextension-polyfill": "^0.12.4",
15-
"@typescript-eslint/eslint-plugin": "^8.54.0",
16-
"@typescript-eslint/parser": "^8.54.0",
17-
"archiver": "^6.0.1",
18-
"baseline-browser-mapping": "^2.9.19",
19-
"clean-webpack-plugin": "^4.0.0",
20-
"copy-webpack-plugin": "^12.0.2",
21-
"css-loader": "^6.8.1",
22-
"eslint": "^8.57.1",
23-
"eslint-config-prettier": "^10.1.8",
24-
"eslint-plugin-react": "^7.37.5",
25-
"mini-css-extract-plugin": "^2.9.4",
26-
"react-refresh": "^0.17.0",
27-
"sass": "^1.93.2",
28-
"sass-loader": "^13.3.3",
29-
"style-loader": "^3.3.3",
30-
"ts-node": "^10.9.2",
31-
"ts-loader": "^9.5.4",
32-
"typescript": "^5.9.3",
33-
"webextension-polyfill": "^0.12.0",
34-
"webpack": "^5.102.0",
35-
"webpack-cli": "^5.1.4",
36-
"webpack-dev-server": "^5.2.2"
9+
"@pmmmwh/react-refresh-webpack-plugin": "0.6.1",
10+
"@svgr/webpack": "8.1.0",
11+
"@types/archiver": "6.0.4",
12+
"@types/chrome": "0.1.43",
13+
"@types/jest": "29.5.14",
14+
"@types/node": "20.19.43",
15+
"@types/react": "18.2.79",
16+
"@types/react-dom": "18.2.25",
17+
"@types/webextension-polyfill": "0.12.4",
18+
"@typescript-eslint/eslint-plugin": "8.54.0",
19+
"@typescript-eslint/parser": "8.54.0",
20+
"archiver": "6.0.1",
21+
"baseline-browser-mapping": "2.11.28",
22+
"clean-webpack-plugin": "4.0.0",
23+
"copy-webpack-plugin": "12.0.2",
24+
"css-loader": "6.8.1",
25+
"eslint": "9.39.5",
26+
"eslint-config-prettier": "10.1.8",
27+
"eslint-plugin-react": "7.37.5",
28+
"mini-css-extract-plugin": "2.9.4",
29+
"react-refresh": "0.17.0",
30+
"sass": "1.93.3",
31+
"sass-loader": "13.3.3",
32+
"style-loader": "3.3.4",
33+
"ts-node": "10.9.2",
34+
"ts-loader": "9.5.7",
35+
"typescript": "5.9.3",
36+
"webextension-polyfill": "0.12.0",
37+
"webpack": "5.112.2",
38+
"webpack-cli": "5.1.4",
39+
"webpack-dev-server": "5.2.7"
3740
},
3841
"dependencies": {
39-
"@types/chrome": "^0.1.16",
40-
"@types/react": "^18.2.48",
41-
"@types/react-dom": "^18.2.18",
42-
"@types/webextension-polyfill": "^0.12.4",
43-
"classnames": "^2.5.1",
44-
"react": "^18.2.0",
45-
"react-dom": "^18.2.0",
46-
"tsconfig-paths-webpack-plugin": "^4.2.0"
42+
"classnames": "2.5.1",
43+
"react": "18.3.1",
44+
"react-dom": "18.3.1",
45+
"tsconfig-paths-webpack-plugin": "4.2.0"
4746
}
4847
}

‎apps/editor/package.json‎

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,59 +1347,59 @@
13471347
}
13481348
},
13491349
"devDependencies": {
1350-
"@types/dompurify": "^3.0.5",
1351-
"@types/he": "^1.2.3",
1352-
"@types/jsdom": "^21.1.7",
1353-
"@types/node": "20.x",
1354-
"@types/react": "^18.2.60",
1355-
"@types/react-dom": "^18.2.19",
1350+
"@types/dompurify": "3.0.5",
1351+
"@types/he": "1.2.3",
1352+
"@types/jsdom": "21.1.7",
1353+
"@types/node": "20.19.43",
1354+
"@types/react": "18.2.79",
1355+
"@types/react-dom": "18.2.25",
13561356
"@types/vscode": "1.96.0",
1357-
"@types/ws": "^8.18.1",
1358-
"@types/turndown": "^5.0.5",
1359-
"@typescript-eslint/eslint-plugin": "^7.18.0",
1360-
"@typescript-eslint/parser": "^7.18.0",
1361-
"clean-webpack-plugin": "^4.0.0",
1362-
"copy-webpack-plugin": "^12.0.2",
1363-
"css-loader": "^6.5.1",
1364-
"eslint": "^8.57.1",
1365-
"eslint-config-prettier": "^10.1.5",
1366-
"esbuild-loader": "^4.2.2",
1367-
"eslint-plugin-react": "^7.37.5",
1368-
"fork-ts-checker-webpack-plugin": "^9.0.2",
1369-
"mini-css-extract-plugin": "^2.9.2",
1370-
"sass-embedded": "^1.89.2",
1371-
"sass-loader": "^12.6.0",
1372-
"style-loader": "^3.3.4",
1373-
"ts-node": "^10.9.2",
1374-
"typed-css-modules": "^0.9.1",
1375-
"webpack": "^5.109.2",
1376-
"webpack-cli": "^6.0.1"
1357+
"@types/ws": "8.18.1",
1358+
"@types/turndown": "5.0.5",
1359+
"@typescript-eslint/eslint-plugin": "7.18.0",
1360+
"@typescript-eslint/parser": "7.18.0",
1361+
"clean-webpack-plugin": "4.0.0",
1362+
"copy-webpack-plugin": "12.0.2",
1363+
"css-loader": "6.5.1",
1364+
"eslint": "9.39.5",
1365+
"eslint-config-prettier": "10.1.5",
1366+
"esbuild-loader": "4.2.2",
1367+
"eslint-plugin-react": "7.37.5",
1368+
"fork-ts-checker-webpack-plugin": "9.0.3",
1369+
"mini-css-extract-plugin": "2.9.4",
1370+
"sass-embedded": "1.89.2",
1371+
"sass-loader": "12.6.0",
1372+
"style-loader": "3.3.4",
1373+
"ts-node": "10.9.2",
1374+
"typed-css-modules": "0.9.1",
1375+
"webpack": "5.109.2",
1376+
"webpack-cli": "6.0.1"
13771377
},
13781378
"dependencies": {
1379-
"@joplin/turndown": "^4.0.81",
1380-
"@joplin/turndown-plugin-gfm": "^1.0.63",
1381-
"@mozilla/readability": "^0.6.0",
1382-
"@svgr/webpack": "^8.1.0",
1383-
"@vscode/codicons": "^0.0.46-38",
1384-
"axios": "^1.21.0",
1385-
"bufferutil": "^4.0.9",
1386-
"classnames": "^2.5.1",
1387-
"dayjs": "^1.11.10",
1388-
"diff": "^8.0.4",
1389-
"dompurify": "^3.4.17",
1390-
"dotenv": "^16.4.5",
1391-
"glob": "^11.1.0",
1392-
"he": "^1.2.0",
1393-
"ignore": "^6.0.2",
1394-
"jsdom": "^24.0.0",
1395-
"marked": "^17.0.1",
1396-
"path-browserify": "^1.0.1",
1397-
"react": "^18.2.0",
1398-
"react-dom": "^18.2.0",
1399-
"rimraf": "^6.0.1",
1400-
"simplebar-react": "^3.3.1",
1379+
"@joplin/turndown": "4.0.86",
1380+
"@joplin/turndown-plugin-gfm": "1.0.68",
1381+
"@mozilla/readability": "0.6.0",
1382+
"@svgr/webpack": "8.1.0",
1383+
"@vscode/codicons": "0.0.46-38",
1384+
"axios": "1.21.0",
1385+
"bufferutil": "4.1.0",
1386+
"classnames": "2.5.1",
1387+
"dayjs": "1.11.23",
1388+
"diff": "8.0.4",
1389+
"dompurify": "3.4.17",
1390+
"dotenv": "16.6.1",
1391+
"glob": "14.0.3",
1392+
"he": "1.2.0",
1393+
"ignore": "6.0.2",
1394+
"jsdom": "24.1.3",
1395+
"marked": "17.0.6",
1396+
"path-browserify": "1.0.1",
1397+
"react": "18.2.0",
1398+
"react-dom": "18.3.1",
1399+
"rimraf": "6.0.1",
1400+
"simplebar-react": "3.3.2",
14011401
"ui": "workspace:*",
1402-
"utf-8-validate": "^6.0.5",
1403-
"ws": "^8.21.3"
1402+
"utf-8-validate": "6.0.5",
1403+
"ws": "8.22.1"
14041404
}
14051405
}

‎package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cwc",
3-
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39",
3+
"packageManager": "pnpm@12.16.1+sha512.091d1dee7927575661b25dab3c2ae31cafc1c54d6b71ed6a6600cf0c1cb10434a447eae14015f1b23e2e6bedeed79df94a932e2164d2832280dce3fb32f656d1",
44
"devDependencies": {
55
"@types/jest": "^29.5.14",
66
"husky": "^9.1.7",
@@ -11,7 +11,7 @@
1111
"typescript": "^5.8.3"
1212
},
1313
"scripts": {
14-
"preinstall": "husky",
14+
"prepare": "husky",
1515
"test": "jest",
1616
"test:watch": "jest --watch"
1717
},

‎packages/shared/package.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
"test:watch": "jest --watch"
99
},
1010
"dependencies": {
11-
"react": "^18.2.0",
12-
"react-dom": "^18.2.0"
11+
"react": "18.2.0",
12+
"react-dom": "18.2.0"
1313
},
1414
"devDependencies": {
15-
"@types/react": "^18.2.60",
16-
"@types/react-dom": "^18.2.19"
15+
"@types/react": "18.2.60",
16+
"@types/react-dom": "18.2.19"
1717
}
1818
}

‎packages/ui/package.json‎

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,30 @@
77
"build-storybook": "storybook build"
88
},
99
"devDependencies": {
10-
"@storybook/types": "^7.6.20",
11-
"@types/node": "20.x",
12-
"@types/react": "^18.2.60",
13-
"@types/react-dom": "^18.2.19",
14-
"@types/vscode": "^1.98.0",
15-
"css-loader": "^6.5.1",
16-
"sass": "^1.86.1",
17-
"sass-loader": "^12.4.0",
18-
"storybook": "^7.6.20",
19-
"style-loader": "^3.3.1",
20-
"typescript": "^5.8.2"
10+
"@storybook/types": "7.6.24",
11+
"@types/node": "20.19.43",
12+
"@types/react": "18.2.60",
13+
"@types/react-dom": "18.2.19",
14+
"@types/vscode": "1.98.0",
15+
"css-loader": "6.5.1",
16+
"sass": "1.86.1",
17+
"sass-loader": "12.4.0",
18+
"storybook": "7.6.24",
19+
"style-loader": "3.3.1",
20+
"typescript": "5.8.3"
2121
},
2222
"dependencies": {
23-
"@storybook/react": "^7.6.20",
24-
"@storybook/react-vite": "^7.6.20",
25-
"@vscode/codicons": "^0.0.45",
26-
"classnames": "^2.5.1",
27-
"dayjs": "^1.11.10",
28-
"react": "^18.2.0",
29-
"react-dom": "^18.2.0",
30-
"react-markdown": "^10.1.0",
31-
"react-qr-code": "^2.0.18",
32-
"react-sortablejs": "^6.1.4",
33-
"simplebar-react": "^3.3.1",
34-
"vite-plugin-svgr": "^3.2.0"
23+
"@storybook/react": "7.6.24",
24+
"@storybook/react-vite": "7.6.24",
25+
"@vscode/codicons": "0.0.45",
26+
"classnames": "2.5.1",
27+
"dayjs": "1.11.10",
28+
"react": "18.2.0",
29+
"react-dom": "18.2.0",
30+
"react-markdown": "10.1.0",
31+
"react-qr-code": "2.0.18",
32+
"react-sortablejs": "6.1.4",
33+
"simplebar-react": "3.3.1",
34+
"vite-plugin-svgr": "3.3.0"
3535
}
3636
}

0 commit comments

Comments
 (0)