@hughescr/stryker-bun-runner 1.7.2 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +333 -23
- package/dist/index.d.ts +71 -9
- package/dist/index.js +585 -164
- package/dist/templates/import-scan.js +1644 -21
- package/package.json +25 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hughescr/stryker-bun-runner",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "Stryker mutation testing test runner plugin for Bun (bun test), with per-test coverage",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"stryker",
|
|
@@ -35,35 +35,38 @@
|
|
|
35
35
|
"dist"
|
|
36
36
|
],
|
|
37
37
|
"scripts": {
|
|
38
|
+
"bench": "sh bench/lock.sh --exclusive -- bun bench/run.ts",
|
|
38
39
|
"build": "rm -rf dist && bun build src/index.ts --outdir dist --target node --format esm --packages external && bun scripts/build-preload.ts dist/templates && dts-bundle-generator --config dts-bundle-generator.config.json",
|
|
39
|
-
"
|
|
40
|
+
"check:ast-grep": "ast-grep scan --report-style short --globs '!bench/fixture/**' --error=unused-suppression",
|
|
41
|
+
"checks": "sh bench/lock.sh --shared -- sh -c 'bun test && bun run lint && bun run typecheck'",
|
|
42
|
+
"lint": "node node_modules/oxlint/bin/oxlint --deny-warnings --format unix && bun node_modules/eslint/bin/eslint.js -c eslint.package-json.config.mjs package.json && bun run check:ast-grep",
|
|
43
|
+
"lint:fix": "node node_modules/oxlint/bin/oxlint --fix && bun node_modules/eslint/bin/eslint.js -c eslint.package-json.config.mjs --fix package.json",
|
|
40
44
|
"mutate": "stryker run",
|
|
41
45
|
"prepublishOnly": "bun run build",
|
|
42
46
|
"test": "bun test",
|
|
43
47
|
"typecheck": "node node_modules/typescript/bin/tsc --noEmit && node node_modules/typescript/bin/tsc --noEmit -p scripts",
|
|
44
|
-
"bench": "sh bench/lock.sh --exclusive -- bun bench/run.ts",
|
|
45
|
-
"checks": "sh bench/lock.sh --shared -- sh -c 'bun test && bun run lint && bun run typecheck'",
|
|
46
48
|
"postversion": "git commit -m \"Bump package version to $npm_package_version\" package.json; git flow release start $npm_package_version; git flow release finish -m $npm_package_version $npm_package_version; git checkout develop; git merge main"
|
|
47
49
|
},
|
|
48
50
|
"dependencies": {
|
|
49
51
|
"@stryker-mutator/api": "^9.0.0 || ^10.0.0",
|
|
50
|
-
"picomatch": "^4.0.
|
|
51
|
-
"smol-toml": "^1.
|
|
52
|
+
"picomatch": "^4.0.7",
|
|
53
|
+
"smol-toml": "^1.9.1",
|
|
52
54
|
"tinyglobby": "^0.2.17",
|
|
53
|
-
"ws": "^8.
|
|
55
|
+
"ws": "^8.23.1"
|
|
54
56
|
},
|
|
55
57
|
"devDependencies": {
|
|
56
|
-
"@
|
|
57
|
-
"@
|
|
58
|
-
"@stryker-mutator/
|
|
59
|
-
"@
|
|
60
|
-
"@types/
|
|
61
|
-
"@types/
|
|
58
|
+
"@ast-grep/cli": "0.51.3",
|
|
59
|
+
"@hughescr/oxlint-config-default": "0.11.0",
|
|
60
|
+
"@stryker-mutator/core": "10.1.1",
|
|
61
|
+
"@stryker-mutator/typescript-checker": "10.1.1",
|
|
62
|
+
"@types/bun": "1.4.5",
|
|
63
|
+
"@types/node": "26.6.11",
|
|
64
|
+
"@types/ws": "8.18.2",
|
|
62
65
|
"@typescript/native": "npm:typescript@7.0.2",
|
|
63
|
-
"dts-bundle-generator": "
|
|
64
|
-
"eslint": "10.
|
|
65
|
-
"
|
|
66
|
-
"
|
|
66
|
+
"dts-bundle-generator": "10.0.0",
|
|
67
|
+
"eslint": "10.16.0",
|
|
68
|
+
"oxlint": "1.94.0",
|
|
69
|
+
"tsrs": "0.25.0-ts7.1.0-beta",
|
|
67
70
|
"typescript": "<7.0.0"
|
|
68
71
|
},
|
|
69
72
|
"peerDependencies": {
|
|
@@ -75,6 +78,9 @@
|
|
|
75
78
|
"node": ">=20"
|
|
76
79
|
},
|
|
77
80
|
"patchedDependencies": {
|
|
78
|
-
"@stryker-mutator/typescript-checker@10.
|
|
79
|
-
}
|
|
81
|
+
"@stryker-mutator/typescript-checker@10.1.1": "patches/@stryker-mutator%2Ftypescript-checker@10.1.1.patch"
|
|
82
|
+
},
|
|
83
|
+
"trustedDependencies": [
|
|
84
|
+
"@ast-grep/cli"
|
|
85
|
+
]
|
|
80
86
|
}
|