mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-11 15:04:52 +09:00
The migration from phin to fetch in #755 was hampred by the lack of an option to set the CA when using fetch. This meant places that used phin to talk to the controller with the tlsCa option could not be migrated to use fetch. Remove the tlsCa option to unblock this dependency. The replacement for this option is to set the NODE_EXTRA_CA_CERTS environment variable to a path to the certificate file instead, which works with fetch.
65 lines
1.9 KiB
JSON
65 lines
1.9 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"files": [],
|
|
"packageManager": "pnpm@10.28.1+sha512.7d7dbbca9e99447b7c3bf7a73286afaaf6be99251eb9498baefa7d406892f67b879adb3a1d7e687fc4ccc1a388c7175fbaae567a26ab44d1067b54fcb0d6a316",
|
|
"scripts": {
|
|
"build": "tsc --build",
|
|
"watch": "tsc --build --watch",
|
|
"build-mod": "pnpm run -r build-mod --output-dir ../../dist",
|
|
"test": "pnpm run build && NODE_EXTRA_CA_CERTS=test/file/tls/cert.pem mocha --enable-source-maps --check-leaks -R spec --recursive test \"plugins/*/test/**\" --exclude \"test/manual/**\"",
|
|
"silent-test": "SILENT_TEST=y pnpm test",
|
|
"fast-test": "FAST_TEST=y pnpm test",
|
|
"cover": "nyc pnpm test",
|
|
"fast-cover": "FAST_TEST=y nyc pnpm test",
|
|
"ci-cover": "nyc --reporter=lcovonly pnpm run-script test",
|
|
"lint": "eslint packages plugins test",
|
|
"lint-fix": "eslint --fix packages plugins test",
|
|
"clean": "node ./clean.js",
|
|
"docs": "typedoc",
|
|
"bundle-dependencies": "bundle-dependencies"
|
|
},
|
|
"nyc": {
|
|
"exclude": [
|
|
"test/**",
|
|
"plugins/*/test/**"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"workspaces": [
|
|
"packages/*",
|
|
"plugins/*",
|
|
"external_plugins/*",
|
|
"external_plugins/*/*"
|
|
],
|
|
"devDependencies": {
|
|
"@clusterio/controller": "workspace:*",
|
|
"@clusterio/ctl": "workspace:*",
|
|
"@clusterio/host": "workspace:*",
|
|
"@clusterio/lib": "workspace:*",
|
|
"@clusterio/web_ui": "workspace:*",
|
|
"@eslint/eslintrc": "^3.3.1",
|
|
"@eslint/js": "^9.32.0",
|
|
"@stylistic/eslint-plugin": "^5.2.2",
|
|
"@swc/core": "^1.13.3",
|
|
"@typescript-eslint/eslint-plugin": "^8.38.0",
|
|
"@typescript-eslint/parser": "^8.38.0",
|
|
"eslint": "^9.32.0",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"express": "^5.1.0",
|
|
"form-data": "^4.0.4",
|
|
"fs-extra": "^11.3.0",
|
|
"globals": "^16.3.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"jszip": "^3.10.1",
|
|
"mocha": "^11.7.1",
|
|
"nyc": "^17.1.0",
|
|
"phin": "^3.7.1",
|
|
"typedoc": "^0.28.9",
|
|
"typescript": "^5.9.2",
|
|
"yargs": "^18.0.0"
|
|
}
|
|
}
|