mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 23:14:53 +09:00
Raise every caret range to the current latest within its major, in the
root package.json, the pnpm-workspace.yaml catalog, the per-package
package.json files and the create plugin template.
Majors taken: eslint 10, @eslint/js 10, globals 17, nyc 18,
@types/express 5, @types/node 24, finalhandler 2, pidusage 4,
style-loader 4, css-loader 7, yargs 18 (all packages), chalk 6.
Majors skipped: mocha 12 (integration suite fails under it, 59 tests,
starting with a 30 s timeout in clusteriocontroller run; kept at
^11.8.0), inquirer (10+ is a rewrite on @inquirer/prompts where
ui.Prompt.prototype.close no longer exists, so the win32 readline
workaround in create.js would have to go and cannot be verified here),
react/antd/react-router-dom/@types/react, typescript 7,
@sinclair/typebox, webpack-merge (exact pin), webpack-dev-middleware,
webpack-manifest-plugin, winston-daily-rotate-file.
Code adaptations: the two /api/stream/:id handlers in routes.ts are
typed Request<{ id: string }> because @types/express 5 types
req.params values as string | string[]; eslint.config.mjs adds
newIsCapExceptions: ["constructor"] because eslint 10.10 new-cap now
reports `new this.constructor()`.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
68 lines
1.5 KiB
JSON
68 lines
1.5 KiB
JSON
{
|
|
"name": "@clusterio/lib",
|
|
"version": "2.0.0-alpha.27",
|
|
"description": "Shared library for Clusterio",
|
|
"homepage": "https://github.com/clusterio/clusterio#readme",
|
|
"author": "Hornwitser <github@hornwitser.no>",
|
|
"license": "MIT",
|
|
|
|
"keywords": [
|
|
"clusterio",
|
|
"factorio"
|
|
],
|
|
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/clusterio/clusterio"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/clusterio/clusterio/issues"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
|
|
"type": "module",
|
|
"imports": {
|
|
"#WebSocket": {
|
|
"node": "./src/link/WebSocket.node.ts",
|
|
"import": "./src/link/WebSocket.browser.ts"
|
|
},
|
|
"#is_deep_strict_equal": {
|
|
"node": "./src/is_deep_strict_equal.node.ts",
|
|
"import": "./src/is_deep_strict_equal.browser.ts"
|
|
}
|
|
},
|
|
"browser": "browser.ts",
|
|
"main": "dist/node/index.js",
|
|
"scripts": {
|
|
"prepare": "tsc --build && pnpm run compile_validator",
|
|
"compile_validator": "node scripts/compile_validator.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
|
|
"dependencies": {
|
|
"@sinclair/typebox": "catalog:",
|
|
"ajv": "^8.20.0",
|
|
"chalk": "catalog:",
|
|
"fast-deep-equal": "^3.1.3",
|
|
"jszip": "catalog:",
|
|
"set-blocking": "catalog:",
|
|
"triple-beam": "^1.4.1",
|
|
"winston": "catalog:",
|
|
"winston-transport": "catalog:",
|
|
"ws": "catalog:",
|
|
"yargs": "^18.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "catalog:",
|
|
"@types/set-blocking": "catalog:",
|
|
"@types/triple-beam": "^1.3.5",
|
|
"@types/ws": "catalog:",
|
|
"@types/yargs": "^17.0.35",
|
|
"typescript": "catalog:"
|
|
}
|
|
}
|