Move shared dependencies into the workspace catalog

yargs, @types/yargs, semver and @types/semver are used by several packages at the same version. Also point the remaining direct references to @swc/core and react-router-dom at their existing catalog entries.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
bbassieandClaude Fable 5.1 committed 2026-09-12 23:36:25 +00:00
1 parent f3daaf7b15
commit fd05ea0e9c
8 files changed
+32 -28

No files matched your search

+6 -6
View File
@@ -45,21 +45,21 @@
"@eslint/eslintrc": "^3.3.7", "@eslint/eslintrc": "^3.3.7",
"@eslint/js": "^10.0.1", "@eslint/js": "^10.0.1",
"@stylistic/eslint-plugin": "^5.10.0", "@stylistic/eslint-plugin": "^5.10.0",
"@swc/core": "^1.16.2", "@swc/core": "catalog:",
"@types/node": "catalog:", "@types/node": "catalog:",
"@typescript-eslint/eslint-plugin": "^8.70.0", "@typescript-eslint/eslint-plugin": "^8.70.0",
"@typescript-eslint/parser": "^8.70.0", "@typescript-eslint/parser": "^8.70.0",
"eslint": "^10.10.0", "eslint": "^10.10.0",
"eslint-plugin-node": "^11.1.0", "eslint-plugin-node": "^11.1.0",
"express": "^5.2.1", "express": "catalog:",
"form-data": "^4.0.6", "form-data": "^4.0.6",
"globals": "^17.12.0", "globals": "^17.12.0",
"jsonwebtoken": "^9.0.3", "jsonwebtoken": "catalog:",
"jszip": "^3.10.2", "jszip": "catalog:",
"mocha": "^11.8.0", "mocha": "^11.8.0",
"nyc": "^18.0.0", "nyc": "^18.0.0",
"typedoc": "^0.28.20", "typedoc": "^0.28.20",
"typescript": "^5.9.3", "typescript": "catalog:",
"yargs": "^18.1.0" "yargs": "catalog:"
} }
} }
+4 -4
View File
@@ -44,11 +44,11 @@
"finalhandler": "^2.1.1", "finalhandler": "^2.1.1",
"jsonwebtoken": "catalog:", "jsonwebtoken": "catalog:",
"jszip": "catalog:", "jszip": "catalog:",
"semver": "^7.8.5", "semver": "catalog:",
"winston": "catalog:", "winston": "catalog:",
"winston-daily-rotate-file": "catalog:", "winston-daily-rotate-file": "catalog:",
"ws": "catalog:", "ws": "catalog:",
"yargs": "^18.1.0" "yargs": "catalog:"
}, },
"devDependencies": { "devDependencies": {
"@clusterio/web_ui": "workspace:^", "@clusterio/web_ui": "workspace:^",
@@ -59,9 +59,9 @@
"@types/finalhandler": "catalog:", "@types/finalhandler": "catalog:",
"@types/jsonwebtoken": "catalog:", "@types/jsonwebtoken": "catalog:",
"@types/node": "catalog:", "@types/node": "catalog:",
"@types/semver": "^7.8.0", "@types/semver": "catalog:",
"@types/ws": "catalog:", "@types/ws": "catalog:",
"@types/yargs": "^17.0.35", "@types/yargs": "catalog:",
"react": "catalog:", "react": "catalog:",
"react-dom": "catalog:", "react-dom": "catalog:",
"react-router-dom": "catalog:", "react-router-dom": "catalog:",
+1 -1
View File
@@ -34,6 +34,6 @@
"dependencies": { "dependencies": {
"chalk": "catalog:", "chalk": "catalog:",
"inquirer": "^8.2.4", "inquirer": "^8.2.4",
"yargs": "^18.1.0" "yargs": "catalog:"
} }
} }
+2 -2
View File
@@ -39,11 +39,11 @@
"@clusterio/lib": "workspace:^", "@clusterio/lib": "workspace:^",
"as-table": "^1.0.55", "as-table": "^1.0.55",
"winston": "catalog:", "winston": "catalog:",
"yargs": "^18.1.0" "yargs": "catalog:"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "catalog:", "@types/node": "catalog:",
"@types/yargs": "^17.0.35", "@types/yargs": "catalog:",
"typescript": "catalog:" "typescript": "catalog:"
} }
} }
+4 -4
View File
@@ -43,18 +43,18 @@
"jszip": "catalog:", "jszip": "catalog:",
"pidusage": "^4.0.1", "pidusage": "^4.0.1",
"rcon-client": "^4.2.5", "rcon-client": "^4.2.5",
"semver": "^7.8.5", "semver": "catalog:",
"set-blocking": "catalog:", "set-blocking": "catalog:",
"winston": "catalog:", "winston": "catalog:",
"winston-daily-rotate-file": "catalog:", "winston-daily-rotate-file": "catalog:",
"yargs": "^18.1.0" "yargs": "catalog:"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "catalog:", "@types/node": "catalog:",
"@types/pidusage": "^2.0.5", "@types/pidusage": "^2.0.5",
"@types/semver": "^7.8.0", "@types/semver": "catalog:",
"@types/set-blocking": "catalog:", "@types/set-blocking": "catalog:",
"@types/yargs": "^17.0.35", "@types/yargs": "catalog:",
"typescript": "catalog:" "typescript": "catalog:"
} }
} }
+2 -2
View File
@@ -54,14 +54,14 @@
"winston": "catalog:", "winston": "catalog:",
"winston-transport": "catalog:", "winston-transport": "catalog:",
"ws": "catalog:", "ws": "catalog:",
"yargs": "^18.1.0" "yargs": "catalog:"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "catalog:", "@types/node": "catalog:",
"@types/set-blocking": "catalog:", "@types/set-blocking": "catalog:",
"@types/triple-beam": "^1.3.5", "@types/triple-beam": "^1.3.5",
"@types/ws": "catalog:", "@types/ws": "catalog:",
"@types/yargs": "^17.0.35", "@types/yargs": "catalog:",
"typescript": "catalog:" "typescript": "catalog:"
} }
} }
+9 -9
View File
@@ -35,9 +35,9 @@
"dependencies": { "dependencies": {
"@ant-design/icons": "^5.6.1", "@ant-design/icons": "^5.6.1",
"@clusterio/lib": "workspace:^", "@clusterio/lib": "workspace:^",
"@sinclair/typebox": "^0.30.6", "@sinclair/typebox": "catalog:",
"@swc/core": "^1.16.2", "@swc/core": "catalog:",
"antd": "^5.29.3", "antd": "catalog:",
"assert": "^2.1.0", "assert": "^2.1.0",
"browserify-zlib": "^0.2.0", "browserify-zlib": "^0.2.0",
"buffer": "^6.0.3", "buffer": "^6.0.3",
@@ -50,23 +50,23 @@
"path-browserify": "^1.0.1", "path-browserify": "^1.0.1",
"process": "^0.11.10", "process": "^0.11.10",
"rc-field-form": "^1.44.0", "rc-field-form": "^1.44.0",
"react": "^18.2.0", "react": "catalog:",
"react-dom": "^18.2.0", "react-dom": "catalog:",
"react-markdown": "catalog:", "react-markdown": "catalog:",
"react-router-dom": "^6.30.6", "react-router-dom": "catalog:",
"stream-browserify": "^3.0.0", "stream-browserify": "^3.0.0",
"style-loader": "^4.0.0", "style-loader": "^4.0.0",
"swc-loader": "^0.2.7", "swc-loader": "^0.2.7",
"terser-webpack-plugin": "^5.6.1", "terser-webpack-plugin": "^5.6.1",
"typescript": "^5.9.3", "typescript": "catalog:",
"util": "^0.12.5", "util": "^0.12.5",
"webpack": "catalog:", "webpack": "catalog:",
"webpack-cli": "catalog:", "webpack-cli": "catalog:",
"webpack-manifest-plugin": "^5.0.0" "webpack-manifest-plugin": "^5.0.0"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^24.13.4", "@types/node": "catalog:",
"@types/react": "^18.3.31", "@types/react": "catalog:",
"@types/react-dom": "^18.3.7" "@types/react-dom": "^18.3.7"
} }
} }
+4
View File
@@ -13,8 +13,10 @@ catalog:
'@types/jsonwebtoken': ^9.0.10 '@types/jsonwebtoken': ^9.0.10
'@types/node': ^24.13.4 '@types/node': ^24.13.4
'@types/react': ^18.3.31 '@types/react': ^18.3.31
'@types/semver': ^7.8.0
'@types/set-blocking': ^2.0.2 '@types/set-blocking': ^2.0.2
'@types/ws': ^8.18.1 '@types/ws': ^8.18.1
'@types/yargs': ^17.0.35
antd: ^5.29.3 antd: ^5.29.3
chalk: ^6.0.0 chalk: ^6.0.0
express: ^5.2.1 express: ^5.2.1
@@ -24,6 +26,7 @@ catalog:
react-dom: ^18.2.0 react-dom: ^18.2.0
react-markdown: ^10.1.0 react-markdown: ^10.1.0
react-router-dom: ^6.30.6 react-router-dom: ^6.30.6
semver: ^7.8.5
set-blocking: ^2.0.0 set-blocking: ^2.0.0
typescript: ^5.9.3 typescript: ^5.9.3
webpack: ^5.110.3 webpack: ^5.110.3
@@ -33,6 +36,7 @@ catalog:
winston-daily-rotate-file: ^4.7.1 winston-daily-rotate-file: ^4.7.1
winston-transport: ^4.9.0 winston-transport: ^4.9.0
ws: ^8.21.3 ws: ^8.21.3
yargs: ^18.1.0
catalogMode: strict catalogMode: strict