From 5e0ab3423ff57c47591217c145f8b3cf21107658 Mon Sep 17 00:00:00 2001 From: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com> Date: Sun, 19 Jul 2026 02:29:29 +0100 Subject: [PATCH] Chore: More consistent package files This commit does not contain any material changes. --- packages/controller/package.json | 34 +++++++++++++-------- packages/create/package.json | 34 +++++++++++++-------- packages/ctl/package.json | 34 +++++++++++++-------- packages/host/package.json | 34 +++++++++++++-------- packages/lib/package.json | 38 +++++++++++++++--------- packages/web_ui/package.json | 31 ++++++++++++------- plugins/global_chat/package.json | 31 +++++++++++-------- plugins/inventory_sync/package.json | 25 ++++++++++------ plugins/player_auth/package.json | 29 +++++++++++------- plugins/research_sync/package.json | 25 ++++++++++------ plugins/statistics_exporter/package.json | 29 +++++++++++------- plugins/subspace_storage/package.json | 25 ++++++++++------ 12 files changed, 236 insertions(+), 133 deletions(-) diff --git a/packages/controller/package.json b/packages/controller/package.json index 6f7dda66..4ef85bce 100644 --- a/packages/controller/package.json +++ b/packages/controller/package.json @@ -1,11 +1,27 @@ { "name": "@clusterio/controller", - "description": "Implementation of Clusterio controller", - "author": "Hornwitser ", - "homepage": "https://github.com/clusterio/clusterio#readme", - "license": "MIT", - "repository": { "type": "git", "url": "https://github.com/clusterio/clusterio" }, "version": "2.0.0-alpha.27", + "description": "Implementation of Clusterio controller", + "homepage": "https://github.com/clusterio/clusterio#readme", + "author": "Hornwitser ", + "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" + }, + "main": "dist/node/index.js", "scripts": { "prepare": "tsc --build && webpack-cli --mode production", @@ -14,13 +30,10 @@ "bin": { "clusteriocontroller": "./dist/node/controller.js" }, - "keywords": [ - "clusterio", - "factorio" - ], "engines": { "node": ">=22" }, + "dependencies": { "@clusterio/lib": "workspace:^", "@sinclair/typebox": "catalog:", @@ -54,8 +67,5 @@ "webpack-cli": "catalog:", "webpack-dev-middleware": "^6.1.1", "webpack-merge": "catalog:" - }, - "publishConfig": { - "access": "public" } } diff --git a/packages/create/package.json b/packages/create/package.json index 5ba79e29..aa0bfd24 100644 --- a/packages/create/package.json +++ b/packages/create/package.json @@ -1,28 +1,38 @@ { "name": "@clusterio/create", - "description": "Installer for clusterio", - "author": "Hornwitser ", - "homepage": "https://github.com/clusterio/clusterio#readme", - "license": "MIT", - "repository": { "type": "git", "url": "https://github.com/clusterio/clusterio" }, "version": "2.0.0-alpha.27", - "main": "create.js", - "bin": { - "clusteriocreate": "./create.js" - }, + "description": "Installer for clusterio", + "homepage": "https://github.com/clusterio/clusterio#readme", + "author": "Hornwitser ", + "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" + }, + + "main": "create.js", + "bin": { + "clusteriocreate": "./create.js" + }, "engines": { "node": ">=22" }, + "dependencies": { "chalk": "catalog:", "inquirer": "^8.2.4", "yargs": "^17.7.2" - }, - "publishConfig": { - "access": "public" } } diff --git a/packages/ctl/package.json b/packages/ctl/package.json index c038cff6..96d18c33 100644 --- a/packages/ctl/package.json +++ b/packages/ctl/package.json @@ -1,11 +1,27 @@ { "name": "@clusterio/ctl", - "description": "Clusterio command line management tool", - "author": "Hornwitser ", - "homepage": "https://github.com/clusterio/clusterio#readme", - "license": "MIT", - "repository": { "type": "git", "url": "https://github.com/clusterio/clusterio" }, "version": "2.0.0-alpha.27", + "description": "Clusterio command line management tool", + "homepage": "https://github.com/clusterio/clusterio#readme", + "author": "Hornwitser ", + "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" + }, + "main": "dist/node/index.js", "scripts": { "prepare": "tsc --build", @@ -14,13 +30,10 @@ "bin": { "clusterioctl": "./dist/node/ctl.js" }, - "keywords": [ - "clusterio", - "factorio" - ], "engines": { "node": ">=22" }, + "dependencies": { "@clusterio/lib": "workspace:^", "as-table": "^1.0.55", @@ -31,8 +44,5 @@ "@types/node": "catalog:", "@types/yargs": "^17.0.33", "typescript": "catalog:" - }, - "publishConfig": { - "access": "public" } } diff --git a/packages/host/package.json b/packages/host/package.json index 1fba31ae..e80c6082 100644 --- a/packages/host/package.json +++ b/packages/host/package.json @@ -1,11 +1,27 @@ { "name": "@clusterio/host", - "description": "Implementation of Clusterio host server", - "author": "Hornwitser ", - "homepage": "https://github.com/clusterio/clusterio#readme", - "license": "MIT", - "repository": { "type": "git", "url": "https://github.com/clusterio/clusterio" }, "version": "2.0.0-alpha.27", + "description": "Implementation of Clusterio host server", + "homepage": "https://github.com/clusterio/clusterio#readme", + "author": "Hornwitser ", + "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" + }, + "main": "dist/node/index.js", "scripts": { "prepare": "tsc --build", @@ -15,13 +31,10 @@ "bin": { "clusteriohost": "./dist/node/host.js" }, - "keywords": [ - "clusterio", - "factorio" - ], "engines": { "node": ">=22" }, + "dependencies": { "@clusterio/lib": "workspace:^", "@sinclair/typebox": "catalog:", @@ -35,9 +48,6 @@ "winston-daily-rotate-file": "catalog:", "yargs": "^17.7.2" }, - "publishConfig": { - "access": "public" - }, "devDependencies": { "@types/node": "catalog:", "@types/pidusage": "^2.0.2", diff --git a/packages/lib/package.json b/packages/lib/package.json index b0fcfd7b..4da29bf8 100644 --- a/packages/lib/package.json +++ b/packages/lib/package.json @@ -1,24 +1,37 @@ { "name": "@clusterio/lib", - "description": "Shared library for Clusterio", - "author": "Hornwitser ", - "homepage": "https://github.com/clusterio/clusterio#readme", - "license": "MIT", - "repository": { "type": "git", "url": "https://github.com/clusterio/clusterio" }, "version": "2.0.0-alpha.27", - "scripts": { - "prepare": "tsc --build && pnpm run compile_validator", - "compile_validator": "node scripts/compile_validator.js" - }, - "main": "dist/node/index.js", - "browser": "browser.ts", + "description": "Shared library for Clusterio", + "homepage": "https://github.com/clusterio/clusterio#readme", + "author": "Hornwitser ", + "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" + }, + + "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.17.1", @@ -32,9 +45,6 @@ "ws": "catalog:", "yargs": "^17.7.2" }, - "publishConfig": { - "access": "public" - }, "devDependencies": { "@types/node": "catalog:", "@types/set-blocking": "catalog:", diff --git a/packages/web_ui/package.json b/packages/web_ui/package.json index f6e1da45..76b2d028 100644 --- a/packages/web_ui/package.json +++ b/packages/web_ui/package.json @@ -1,23 +1,37 @@ { "name": "@clusterio/web_ui", + "version": "2.0.0-alpha.27", "description": "Clusterio web interface implementation", + "homepage": "https://github.com/clusterio/clusterio#readme", "author": "Hornwitser", "license": "MIT", - "repository": { "type": "git", "url": "https://github.com/clusterio/clusterio" }, - "version": "2.0.0-alpha.27", + + "keywords": [ + "clusterio", + "factorio" + ], + + "repository": { + "type": "git", + "url": "https://github.com/clusterio/clusterio" + }, + "bugs": { + "url": "https://github.com/clusterio/clusterio/issues" + }, + "publishConfig": { + "access": "public" + }, + "browser": "src/index.ts", "main": "dist/browser/src/index.js", "scripts": { "prepare": "tsc --build", "test": "echo \"Error: no test specified\" && exit 1" }, - "keywords": [ - "clusterio", - "factorio" - ], "engines": { - "node": ">=12" + "node": ">=22" }, + "dependencies": { "@ant-design/icons": "^5.6.1", "@clusterio/lib": "workspace:^", @@ -54,8 +68,5 @@ "@types/node": "^20.17.19", "@types/react": "^18.3.18", "@types/react-dom": "^18.3.5" - }, - "publishConfig": { - "access": "public" } } diff --git a/plugins/global_chat/package.json b/plugins/global_chat/package.json index 8143a9dc..c33bba72 100644 --- a/plugins/global_chat/package.json +++ b/plugins/global_chat/package.json @@ -2,31 +2,41 @@ "name": "@clusterio/plugin-global_chat", "version": "2.0.0-alpha.27", "description": "Clusterio plugin forwarding between Factorio servers", - "author": "Hornwitser ", "homepage": "https://github.com/clusterio/clusterio#readme", + "author": "Hornwitser ", "license": "MIT", - "repository": { "type": "git", "url": "https://github.com/clusterio/clusterio" }, - "main": "dist/node/index.js", + "keywords": [ "clusterio", "clusterio-plugin", "factorio" ], - "scripts": { - "prepare": "tsc --build && webpack-cli --mode production", - "test": "echo \"Error: run tests from root\" && exit 1" + + "repository": { + "type": "git", + "url": "https://github.com/clusterio/clusterio" }, "bugs": { "url": "https://github.com/clusterio/clusterio/issues" }, + "publishConfig": { + "access": "public" + }, + + "main": "dist/node/index.js", + "scripts": { + "prepare": "tsc --build && webpack-cli --mode production", + "test": "echo \"Error: run tests from root\" && exit 1" + }, "engines": { "node": ">=22" }, + "peerDependencies": { - "@clusterio/web_ui": "workspace:^", - "@clusterio/host": "workspace:^", "@clusterio/ctl": "workspace:^", - "@clusterio/lib": "workspace:^" + "@clusterio/host": "workspace:^", + "@clusterio/lib": "workspace:^", + "@clusterio/web_ui": "workspace:^" }, "dependencies": { "@sinclair/typebox": "catalog:" @@ -42,8 +52,5 @@ "webpack": "catalog:", "webpack-cli": "catalog:", "webpack-merge": "catalog:" - }, - "publishConfig": { - "access": "public" } } diff --git a/plugins/inventory_sync/package.json b/plugins/inventory_sync/package.json index bf029786..14c093a0 100644 --- a/plugins/inventory_sync/package.json +++ b/plugins/inventory_sync/package.json @@ -2,26 +2,36 @@ "name": "@clusterio/plugin-inventory_sync", "version": "2.0.0-alpha.27", "description": "Clusterio plugin forwarding between Factorio servers", - "author": "Danielv ", "homepage": "https://github.com/clusterio/clusterio#readme", + "author": "Danielv ", "license": "MIT", - "repository": { "type": "git", "url": "https://github.com/clusterio/clusterio" }, - "main": "dist/node/index.js", + "keywords": [ "clusterio", "clusterio-plugin", "factorio" ], - "scripts": { - "prepare": "tsc --build && webpack-cli --mode production", - "test": "echo \"Error: run tests from root\" && exit 1" + + "repository": { + "type": "git", + "url": "https://github.com/clusterio/clusterio" }, "bugs": { "url": "https://github.com/clusterio/factorioClusterio/issues" }, + "publishConfig": { + "access": "public" + }, + + "main": "dist/node/index.js", + "scripts": { + "prepare": "tsc --build && webpack-cli --mode production", + "test": "echo \"Error: run tests from root\" && exit 1" + }, "engines": { "node": ">=22" }, + "peerDependencies": { "@clusterio/controller": "workspace:^", "@clusterio/host": "workspace:^", @@ -45,8 +55,5 @@ "webpack": "catalog:", "webpack-cli": "catalog:", "webpack-merge": "catalog:" - }, - "publishConfig": { - "access": "public" } } diff --git a/plugins/player_auth/package.json b/plugins/player_auth/package.json index 1c0b40a6..e674f239 100644 --- a/plugins/player_auth/package.json +++ b/plugins/player_auth/package.json @@ -2,31 +2,41 @@ "name": "@clusterio/plugin-player_auth", "version": "2.0.0-alpha.27", "description": "Clusterio plugin authenticating logged in players to the web interface", - "author": "Hornwitser ", "homepage": "https://github.com/clusterio/clusterio#readme", + "author": "Hornwitser ", "license": "MIT", - "repository": { "type": "git", "url": "https://github.com/clusterio/clusterio" }, - "main": "dist/node/index.js", + "keywords": [ "clusterio", "clusterio-plugin", "factorio" ], - "scripts": { - "prepare": "tsc --build && webpack-cli --mode production", - "test": "echo \"Error: run tests from root\" && exit 1" + + "repository": { + "type": "git", + "url": "https://github.com/clusterio/clusterio" }, "bugs": { "url": "https://github.com/clusterio/clusterio/issues" }, + "publishConfig": { + "access": "public" + }, + + "main": "dist/node/index.js", + "scripts": { + "prepare": "tsc --build && webpack-cli --mode production", + "test": "echo \"Error: run tests from root\" && exit 1" + }, "engines": { "node": ">=22" }, + "peerDependencies": { "@clusterio/controller": "workspace:^", - "@clusterio/web_ui": "workspace:^", "@clusterio/host": "workspace:^", - "@clusterio/lib": "workspace:^" + "@clusterio/lib": "workspace:^", + "@clusterio/web_ui": "workspace:^" }, "dependencies": { "@sinclair/typebox": "catalog:", @@ -49,8 +59,5 @@ "webpack": "catalog:", "webpack-cli": "catalog:", "webpack-merge": "catalog:" - }, - "publishConfig": { - "access": "public" } } diff --git a/plugins/research_sync/package.json b/plugins/research_sync/package.json index 08cf2b66..b21ebf5f 100644 --- a/plugins/research_sync/package.json +++ b/plugins/research_sync/package.json @@ -2,26 +2,36 @@ "name": "@clusterio/plugin-research_sync", "version": "2.0.0-alpha.27", "description": "Clusterio plugin for synchronizing research between Factorio servers", - "author": "Hornwitser ", "homepage": "https://github.com/clusterio/clusterio#readme", + "author": "Hornwitser ", "license": "MIT", - "repository": { "type": "git", "url": "https://github.com/clusterio/clusterio" }, - "main": "dist/node/index.js", + "keywords": [ "clusterio", "clusterio-plugin", "factorio" ], - "scripts": { - "prepare": "tsc --build && webpack-cli --mode production", - "test": "echo \"Error: run tests from root\" && exit 1" + + "repository": { + "type": "git", + "url": "https://github.com/clusterio/clusterio" }, "bugs": { "url": "https://github.com/clusterio/clusterio/issues" }, + "publishConfig": { + "access": "public" + }, + + "main": "dist/node/index.js", + "scripts": { + "prepare": "tsc --build && webpack-cli --mode production", + "test": "echo \"Error: run tests from root\" && exit 1" + }, "engines": { "node": ">=22" }, + "peerDependencies": { "@clusterio/controller": "workspace:^", "@clusterio/host": "workspace:^", @@ -42,8 +52,5 @@ "webpack": "catalog:", "webpack-cli": "catalog:", "webpack-merge": "catalog:" - }, - "publishConfig": { - "access": "public" } } diff --git a/plugins/statistics_exporter/package.json b/plugins/statistics_exporter/package.json index ed6fc78e..68c2a4a0 100644 --- a/plugins/statistics_exporter/package.json +++ b/plugins/statistics_exporter/package.json @@ -2,30 +2,40 @@ "name": "@clusterio/plugin-statistics_exporter", "version": "2.0.0-alpha.27", "description": "Clusterio plugin for gathering statistics from Factorio servers", - "author": "Hornwitser ", "homepage": "https://github.com/clusterio/clusterio#readme", + "author": "Hornwitser ", "license": "MIT", - "repository": { "type": "git", "url": "https://github.com/clusterio/clusterio" }, - "main": "dist/node/index.js", + "keywords": [ "clusterio", "clusterio-plugin", "factorio" ], - "scripts": { - "prepare": "tsc --build && webpack-cli --mode production", - "test": "echo \"Error: run tests from root\" && exit 1" + + "repository": { + "type": "git", + "url": "https://github.com/clusterio/clusterio" }, "bugs": { "url": "https://github.com/clusterio/clusterio/issues" }, + "publishConfig": { + "access": "public" + }, + + "main": "dist/node/index.js", + "scripts": { + "prepare": "tsc --build && webpack-cli --mode production", + "test": "echo \"Error: run tests from root\" && exit 1" + }, "engines": { "node": ">=22" }, + "peerDependencies": { - "@clusterio/web_ui": "workspace:^", "@clusterio/host": "workspace:^", - "@clusterio/lib": "workspace:^" + "@clusterio/lib": "workspace:^", + "@clusterio/web_ui": "workspace:^" }, "devDependencies": { "@clusterio/web_ui": "workspace:^", @@ -37,8 +47,5 @@ "webpack": "catalog:", "webpack-cli": "catalog:", "webpack-merge": "catalog:" - }, - "publishConfig": { - "access": "public" } } diff --git a/plugins/subspace_storage/package.json b/plugins/subspace_storage/package.json index 82e43d46..3b77dec0 100644 --- a/plugins/subspace_storage/package.json +++ b/plugins/subspace_storage/package.json @@ -2,26 +2,36 @@ "name": "@clusterio/plugin-subspace_storage", "version": "2.0.0-alpha.27", "description": "Clusterio plugin for sharing storage between Factorio servers", - "author": "Hornwitser ", "homepage": "https://github.com/clusterio/clusterio#readme", + "author": "Hornwitser ", "license": "MIT", - "repository": { "type": "git", "url": "https://github.com/clusterio/clusterio" }, - "main": "dist/node/index.js", + "keywords": [ "clusterio", "clusterio-plugin", "factorio" ], - "scripts": { - "prepare": "tsc --build && webpack-cli --mode production", - "test": "echo \"Error: run tests from root\" && exit 1" + + "repository": { + "type": "git", + "url": "https://github.com/clusterio/clusterio" }, "bugs": { "url": "https://github.com/clusterio/clusterio/issues" }, + "publishConfig": { + "access": "public" + }, + + "main": "dist/node/index.js", + "scripts": { + "prepare": "tsc --build && webpack-cli --mode production", + "test": "echo \"Error: run tests from root\" && exit 1" + }, "engines": { "node": ">=22" }, + "peerDependencies": { "@clusterio/controller": "workspace:^", "@clusterio/host": "workspace:^", @@ -46,8 +56,5 @@ "webpack": "catalog:", "webpack-cli": "catalog:", "webpack-merge": "catalog:" - }, - "publishConfig": { - "access": "public" } }