mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-19 15:33:12 +09:00
Merge pull request #1025 from bbassie/fix/esm-coverage
Collect coverage with c8 instead of nyc
This commit is contained in:
2 files changed
+8
-8
No files matched your search
+1
-2
@@ -10,9 +10,8 @@ pids
|
|||||||
# Directory for instrumented libs generated by jscoverage/JSCover
|
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||||
lib-cov
|
lib-cov
|
||||||
|
|
||||||
# Coverage directories used by tools like nyc and codecov
|
# Coverage directories used by tools like c8 and codecov
|
||||||
coverage
|
coverage
|
||||||
.nyc_output
|
|
||||||
|
|
||||||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
|
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
|
||||||
.grunt
|
.grunt
|
||||||
|
|||||||
+7
-6
@@ -12,19 +12,20 @@
|
|||||||
"silent-test": "SILENT_TEST=y pnpm test",
|
"silent-test": "SILENT_TEST=y pnpm test",
|
||||||
"fast-test": "FAST_TEST=y pnpm test",
|
"fast-test": "FAST_TEST=y pnpm test",
|
||||||
"no-external-test": "NO_EXTERNAL_TEST=y pnpm test",
|
"no-external-test": "NO_EXTERNAL_TEST=y pnpm test",
|
||||||
"cover": "nyc pnpm test",
|
"cover": "c8 pnpm test",
|
||||||
"fast-cover": "FAST_TEST=y nyc pnpm test",
|
"fast-cover": "FAST_TEST=y c8 pnpm test",
|
||||||
"ci-cover": "nyc --reporter=lcovonly pnpm test",
|
"ci-cover": "c8 --reporter=lcovonly pnpm test",
|
||||||
"lint": "eslint packages plugins test",
|
"lint": "eslint packages plugins test",
|
||||||
"lint-fix": "eslint --fix packages plugins test",
|
"lint-fix": "eslint --fix packages plugins test",
|
||||||
"clean": "node ./clean.js",
|
"clean": "node ./clean.js",
|
||||||
"docs": "typedoc",
|
"docs": "typedoc",
|
||||||
"bundle-dependencies": "bundle-dependencies"
|
"bundle-dependencies": "bundle-dependencies"
|
||||||
},
|
},
|
||||||
"nyc": {
|
"c8": {
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"test/**",
|
"test/**",
|
||||||
"plugins/*/test/**"
|
"plugins/*/test/**",
|
||||||
|
"temp/**"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -47,6 +48,7 @@
|
|||||||
"@stylistic/eslint-plugin": "^5.10.0",
|
"@stylistic/eslint-plugin": "^5.10.0",
|
||||||
"@swc/core": "catalog:",
|
"@swc/core": "catalog:",
|
||||||
"@types/node": "catalog:",
|
"@types/node": "catalog:",
|
||||||
|
"c8": "^12.0.0",
|
||||||
"@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",
|
||||||
@@ -57,7 +59,6 @@
|
|||||||
"jsonwebtoken": "catalog:",
|
"jsonwebtoken": "catalog:",
|
||||||
"jszip": "catalog:",
|
"jszip": "catalog:",
|
||||||
"mocha": "^11.8.0",
|
"mocha": "^11.8.0",
|
||||||
"nyc": "^18.0.0",
|
|
||||||
"typedoc": "^0.28.20",
|
"typedoc": "^0.28.20",
|
||||||
"typescript": "catalog:",
|
"typescript": "catalog:",
|
||||||
"yargs": "catalog:"
|
"yargs": "catalog:"
|
||||||
|
|||||||
Reference in new issue
Block a user