mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-11 23:04:52 +09:00
Add script which uses GitHub's REST API to fetch issues and pull requests that have changed since the last release, parse out the changelog entries from merged pull requests, and print a formatted version of the changelog suitable for copying into the release description, the CHANGELOG.md file and the Discord announcement. The script expects Pull Requests to have a `### Changelog` section in them with a code block containing changelog entries. As an added bonus the script can parse out `#<number>` references so that you do not need to write it out in the ugly `[#id](long-url-with-id-repeated)` format. Updates documentation and pull request template to describe the changelog format and usage of the formatting script. Includes improvements from review and a second look.
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=$(pwd)/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",
|
|
"@types/node": "catalog:",
|
|
"@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",
|
|
"typedoc": "^0.28.9",
|
|
"typescript": "^5.9.2",
|
|
"yargs": "^18.0.0"
|
|
}
|
|
}
|