@systemfsoftware/stryker-js 4.0.0 → 5.0.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.
Files changed (40) hide show
  1. package/CHANGELOG.md +73 -0
  2. package/LICENSE +3 -15
  3. package/README.md +67 -13
  4. package/dist/Plugins-sA_9VKus.d.mts +96 -0
  5. package/dist/builtin-reporters-wAuKFSsd.mjs +672 -0
  6. package/dist/builtin-reporters.d.mts +14 -0
  7. package/dist/builtin-reporters.mjs +2 -0
  8. package/dist/compiler-Bq9Nelu8.mjs +48406 -0
  9. package/dist/config.d.mts +11 -0
  10. package/dist/config.mjs +7 -0
  11. package/dist/dist-B3nT7z4G.mjs +5155 -0
  12. package/dist/execAsync-CfPZgJSD.mjs +10 -0
  13. package/dist/execAsync-DdCu5QLN.mjs +10 -0
  14. package/dist/getMachineId-bsd-C6bLIaiv.mjs +27 -0
  15. package/dist/getMachineId-bsd-CXSiHDga.mjs +27 -0
  16. package/dist/getMachineId-darwin-D3cIKeqx.mjs +24 -0
  17. package/dist/getMachineId-darwin-DPZ0kdKD.mjs +24 -0
  18. package/dist/getMachineId-linux-CQwLSlZk.mjs +20 -0
  19. package/dist/getMachineId-linux-Ci8OVJU0.mjs +20 -0
  20. package/dist/getMachineId-unsupported-PX0hnW6X.mjs +15 -0
  21. package/dist/getMachineId-unsupported-_ExL3Avl.mjs +15 -0
  22. package/dist/getMachineId-win-BCsS9pC_.mjs +26 -0
  23. package/dist/getMachineId-win-D9Tb0p7w.mjs +26 -0
  24. package/dist/index.d.mts +659 -1253
  25. package/dist/index.mjs +3 -1034
  26. package/dist/main.mjs +104333 -0
  27. package/dist/merge-config-BrrNQWje.mjs +16 -0
  28. package/dist/mutation-test.cell-RmF-sBUm.d.mts +509 -0
  29. package/dist/output-mode-CfGHDpi5.d.mts +17 -0
  30. package/dist/parser.wasm32-wasi.wasm +0 -0
  31. package/dist/plugin-loader.d.mts +106 -0
  32. package/dist/plugin-loader.mjs +2 -0
  33. package/dist/plugin-worker-entry-DNu0SHO8.mjs +1413 -0
  34. package/dist/promises.d.mts +5 -0
  35. package/dist/promises.mjs +14 -0
  36. package/dist/rolldown-runtime-Dr7-SnC6.mjs +45 -0
  37. package/dist/src-Bzh7ykDp.mjs +4724 -0
  38. package/dist/stryker-config-BlfHxS7n.d.mts +14 -0
  39. package/dist/wasm-Dr7kZatW.mjs +13017 -0
  40. package/package.json +80 -40
package/package.json CHANGED
@@ -1,75 +1,115 @@
1
1
  {
2
2
  "name": "@systemfsoftware/stryker-js",
3
- "version": "4.0.0",
3
+ "version": "5.0.0",
4
4
  "repository": {
5
5
  "type": "git",
6
- "url": "git+https://github.com/systemfsoftware/systemfsoftware.git",
7
- "directory": "packages/stryker-js/stryker-js"
6
+ "url": "git+https://github.com/systemfsoftware/stryker-js-effect.git",
7
+ "directory": "packages/stryker-js"
8
8
  },
9
- "homepage": "https://github.com/systemfsoftware/systemfsoftware/tree/main/packages/stryker-js/stryker-js#readme",
10
- "bugs": "https://github.com/systemfsoftware/systemfsoftware/issues",
11
- "description": "The mutation-testing language — concept modules, no platform.",
9
+ "homepage": "https://github.com/systemfsoftware/stryker-js-effect",
10
+ "bugs": {
11
+ "url": "https://github.com/systemfsoftware/stryker-js-effect/issues"
12
+ },
13
+ "description": "The Stryker mutation testing tool — the stryker executable, the run engine, and the configuration surface.",
12
14
  "type": "module",
13
15
  "files": [
14
16
  "dist"
15
17
  ],
18
+ "bin": {
19
+ "stryker": "./dist/main.mjs"
20
+ },
16
21
  "license": "Apache-2.0",
17
22
  "engines": {
18
- "node": ">=20.0.0"
23
+ "node": ">=22.18.0"
19
24
  },
20
25
  "dependencies": {
21
- "effect": "4.0.0-rc.112",
22
- "@systemfsoftware/effect-cell-types": "^8.0.0"
26
+ "@effect/opentelemetry": "4.0.0-rc.112",
27
+ "@effect/platform-node": "4.0.0-rc.112",
28
+ "@effect/platform-node-shared": "4.0.0-rc.112",
29
+ "@noble/hashes": "^2",
30
+ "@opentelemetry/api": "^1.9.0",
31
+ "@opentelemetry/exporter-trace-otlp-http": "^0.208.0",
32
+ "@opentelemetry/sdk-trace-base": "^2.2.0",
33
+ "@systemfsoftware/effect-cell-types": "^8",
34
+ "diff-match-patch": "1.0.5",
35
+ "minimatch": "~10.2.4",
36
+ "@systemfsoftware/stryker-ignorer-interface": "^0.1.0",
37
+ "@systemfsoftware/stryker-js-html-reporter": "^4.0.0",
38
+ "@systemfsoftware/stryker-js-plugin-runtime": "^5.0.0",
39
+ "@systemfsoftware/stryker-js-plugin-interface": "^5.0.0",
40
+ "@systemfsoftware/stryker-js-instrumenter": "^7.0.0"
41
+ },
42
+ "peerDependencies": {
43
+ "effect": "4.0.0-rc.112"
23
44
  },
24
45
  "devDependencies": {
46
+ "@effect/tsgo": "^0.45.0",
25
47
  "@effect/vitest": "4.0.0-rc.112",
26
- "@microsoft/api-extractor": "^7.58.7",
27
- "@systemfsoftware/arethetypeswrong-cli": "^4.1.0",
48
+ "@microsoft/api-extractor": "^7",
49
+ "@oxc-parser/binding-wasm32-wasi": "^0.140.0",
50
+ "@std/jsonc": "npm:@jsr/std__jsonc@^1",
51
+ "@systemfsoftware/all": "^2",
52
+ "@systemfsoftware/arethetypeswrong-cli": "^4",
53
+ "@systemfsoftware/effect-gherkin-spec": "^4",
54
+ "@systemfsoftware/effect-schema-law": "^2",
55
+ "@systemfsoftware/effect-schema-vite": "^2",
56
+ "@systemfsoftware/tsconfig": "^1",
57
+ "@types/diff-match-patch": "1.0.36",
28
58
  "@types/node": "^24",
29
- "oxlint": "^1.77.0",
30
- "oxlint-tsgolint": "7.0.2001",
59
+ "@vitest/coverage-v8": "^4",
60
+ "concurrently": "^10",
61
+ "mutation-testing-elements": "3.7.3",
62
+ "oxc-parser": "^0.140.0",
63
+ "oxlint": "^1",
64
+ "oxlint-tsgolint": "^7",
31
65
  "rimraf": "^6.1.3",
32
- "tsdown": "^0.22.14",
66
+ "tsdown": "^0.23.0",
33
67
  "typescript": "^7",
34
68
  "vitest": "^4",
35
- "@systemfsoftware/all": "^2.0.2",
36
- "@systemfsoftware/effect-schema-law": "^2.1.1",
37
- "@systemfsoftware/tsconfig": "^1.3.4",
38
- "@systemfsoftware/vitest-config": "^0.1.0",
39
- "@systemfsoftware/effect-schema-vite": "^2.1.1"
69
+ "@systemfsoftware/stryker-ignorer-effect-schema-declarations": "^0.1.0",
70
+ "@systemfsoftware/stryker-ignorer-in-source-vitest-block": "^0.1.0",
71
+ "@systemfsoftware/tsdown-config": "^0.1.0",
72
+ "@systemfsoftware/vitest-config": "^0.1.0"
40
73
  },
41
74
  "publishConfig": {
42
75
  "access": "public",
43
76
  "provenance": true
44
77
  },
45
78
  "exports": {
46
- ".": "./dist/index.mjs",
47
- "./Checker": "./dist/Checker.mjs",
48
- "./Evaluator": "./dist/Evaluator.mjs",
49
- "./ExitClass": "./dist/ExitClass.mjs",
50
- "./Ignorer": "./dist/Ignorer.mjs",
51
- "./Metrics": "./dist/Metrics.mjs",
52
- "./Module": "./dist/Module.mjs",
53
- "./Mutant": "./dist/Mutant.mjs",
54
- "./output-file": "./dist/output-file.mjs",
55
- "./Plugin": "./dist/Plugin.mjs",
56
- "./provided-options": "./dist/provided-options.mjs",
57
- "./Report": "./dist/Report.mjs",
58
- "./Reporter": "./dist/Reporter.mjs",
59
- "./ReporterEvent": "./dist/ReporterEvent.mjs",
60
- "./Run": "./dist/Run.mjs",
61
- "./Schema": "./dist/Schema.mjs",
62
- "./TestRunner": "./dist/TestRunner.mjs",
79
+ ".": {
80
+ "types": "./dist/index.d.mts",
81
+ "default": "./dist/index.mjs"
82
+ },
83
+ "./builtin-reporters": {
84
+ "types": "./dist/builtin-reporters.d.mts",
85
+ "default": "./dist/builtin-reporters.mjs"
86
+ },
87
+ "./config": {
88
+ "types": "./dist/config.d.mts",
89
+ "default": "./dist/config.mjs"
90
+ },
91
+ "./plugin-loader": {
92
+ "types": "./dist/plugin-loader.d.mts",
93
+ "default": "./dist/plugin-loader.mjs"
94
+ },
95
+ "./promises": {
96
+ "types": "./dist/promises.d.mts",
97
+ "default": "./dist/promises.mjs"
98
+ },
63
99
  "./package.json": "./package.json"
64
100
  },
101
+ "inlinedDependencies": {
102
+ "@jsr/std__jsonc": "1.0.2"
103
+ },
65
104
  "scripts": {
66
105
  "clean": "rimraf dist",
67
- "build": "tsdown && pnpm api:check",
68
- "typecheck": "tsc --noEmit --incremental",
106
+ "build": "rimraf dist && tsdown --config tsdown.bin.config.ts && tsdown --config tsdown.config.ts",
107
+ "typecheck": "tsc --noEmit --incremental && tsc -p tsconfig.node.json --noEmit",
69
108
  "test": "vitest run",
70
109
  "attw": "attw --pack .",
71
110
  "lint": "f=${OXLINT_FORMAT:-${AGENT:+agent}}; oxlint . --format=${f:-default}",
72
- "api:check": "tsdown && api-extractor run",
73
- "api:update": "api-extractor run --local"
111
+ "api:check": "concurrently --kill-others-on-fail \"api-extractor run\" \"api-extractor run --config api-extractor.builtin-reporters.json\" \"api-extractor run --config api-extractor.plugin-loader.json\"",
112
+ "api:update": "concurrently --kill-others-on-fail \"api-extractor run --local\" \"api-extractor run --local --config api-extractor.builtin-reporters.json\" \"api-extractor run --local --config api-extractor.plugin-loader.json\"",
113
+ "lint:tsgo": "effect-tsgo diagnostics --project tsconfig.json --format ${TSGO_FORMAT:-text}"
74
114
  }
75
115
  }