@systemfsoftware/stryker-js 10.2.0 → 12.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.
@@ -0,0 +1,18 @@
1
+ import { n as mod_d_exports$2 } from "./index-f-U3oZaJ.mjs";
2
+ import * as S from "effect/Schema";
3
+ //#region src/config/stryker-config.schema.d.ts
4
+ type StrykerConfig = mod_d_exports$2.PartialStrykerOptions;
5
+ type Primitive = boolean | number | string | null | undefined;
6
+ type ImmutablePrimitive = Primitive | ((...args: never[]) => void);
7
+ type Immutable<T> = T extends ImmutablePrimitive ? T : T extends Array<infer U> ? ReadonlyArray<Immutable<U>> : T extends Map<infer K, infer V> ? ReadonlyMap<Immutable<K>, Immutable<V>> : T extends Set<infer M> ? ReadonlySet<Immutable<M>> : T extends RegExp ? Readonly<RegExp> : { readonly [K in keyof T]: Immutable<T[K]>; };
8
+ declare const ConfigEnvSchema: S.Struct<{
9
+ readonly command: S.Literals<readonly ["run", "merge-reports"]>;
10
+ readonly isDryRun: S.Boolean;
11
+ readonly mode: S.Literals<readonly ["human", "machine"]>;
12
+ readonly isCi: S.Boolean;
13
+ }>;
14
+ type ConfigEnv = typeof ConfigEnvSchema.Type;
15
+ type StrykerConfigFn = (env: ConfigEnv) => StrykerConfig | Promise<StrykerConfig>;
16
+ type StrykerConfigExport = StrykerConfig | Promise<StrykerConfig> | StrykerConfigFn;
17
+ //#endregion
18
+ export { StrykerConfig as a, Primitive as i, Immutable as n, StrykerConfigExport as o, ImmutablePrimitive as r, StrykerConfigFn as s, ConfigEnv as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@systemfsoftware/stryker-js",
3
- "version": "10.2.0",
3
+ "version": "12.0.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/systemfsoftware/stryker-js-effect.git",
@@ -23,42 +23,46 @@
23
23
  "node": ">=24.13.1"
24
24
  },
25
25
  "dependencies": {
26
- "@effect/opentelemetry": "4.0.0-rc.116",
27
- "@effect/platform-node": "4.0.0-rc.116",
28
- "@effect/platform-node-shared": "4.0.0-rc.116",
26
+ "@effect/opentelemetry": "4.0.0-rc.117",
27
+ "@effect/platform-node": "4.0.0-rc.117",
28
+ "@effect/platform-node-shared": "4.0.0-rc.117",
29
29
  "@noble/hashes": "^2",
30
30
  "@opentelemetry/api": "^1.9.0",
31
31
  "@opentelemetry/exporter-metrics-otlp-http": "^0.222.0",
32
32
  "@opentelemetry/exporter-trace-otlp-http": "^0.222.0",
33
33
  "@opentelemetry/sdk-metrics": "^2.11.0",
34
34
  "@opentelemetry/sdk-trace-base": "^2.2.0",
35
- "@systemfsoftware/effect-cell-types": "^8.3.2",
36
- "@systemfsoftware/stryker-vm-harness": "^1.0.0"
35
+ "@systemfsoftware/effect-cell-types": "^10.2.0",
36
+ "@systemfsoftware/stryker-vm-harness": "^3.0.1"
37
37
  },
38
38
  "peerDependencies": {
39
- "effect": "4.0.0-rc.116"
39
+ "effect": "4.0.0-rc.117"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@effect/tsgo": "^0.45.0",
43
- "@effect/vitest": "4.0.0-rc.116",
44
43
  "@microsoft/api-extractor": "^7",
45
44
  "@oxc-parser/binding-wasm32-wasi": "^0.150.0",
46
45
  "@std/jsonc": "npm:@jsr/std__jsonc@^1",
47
46
  "@systemfsoftware/arethetypeswrong-cli": "^4.2.0",
48
- "@systemfsoftware/effect-gherkin-spec": "^4.2.2",
49
- "@systemfsoftware/effect-schema-law": "^2.2.1",
50
- "@systemfsoftware/effect-schema-vite": "^2.2.1",
51
- "@systemfsoftware/oxlint-config-recommended": "^1.1.0",
47
+ "@systemfsoftware/differential-spec": "^0.5.0",
48
+ "@systemfsoftware/effect-gherkin-spec": "^5.0.0",
49
+ "@systemfsoftware/effect-schema-law": "^3.0.0",
50
+ "@systemfsoftware/effect-schema-vite": "^2.2.5",
51
+ "@systemfsoftware/oxlint-config-recommended": "^3.1.0",
52
52
  "@systemfsoftware/stryker-ignorer-effect-schema-declarations": "latest",
53
53
  "@systemfsoftware/stryker-ignorer-in-source-vitest-block": "latest",
54
54
  "@systemfsoftware/stryker-js": "latest",
55
55
  "@systemfsoftware/stryker-js-typescript-checker": "latest",
56
56
  "@systemfsoftware/stryker-js-vitest-runner": "latest",
57
57
  "@systemfsoftware/stryker-test-contribution": "latest",
58
- "@systemfsoftware/tsconfig": "^1.3.6",
58
+ "@systemfsoftware/tsconfig": "^2.0.1",
59
+ "@systemfsoftware/vitest": "^0.1.0",
59
60
  "@types/node": "^24",
60
61
  "@vitest/coverage-v8": "^5",
61
62
  "concurrently": "^10",
63
+ "fast-check": "^4",
64
+ "happy-dom": "^20",
65
+ "jsdom": "^30",
62
66
  "mutation-testing-elements": "3.9.0",
63
67
  "oxc-parser": "^0.150.0",
64
68
  "oxlint": "^1",
@@ -67,14 +71,15 @@
67
71
  "tsdown": "^0.23.0",
68
72
  "typescript": "^7",
69
73
  "vitest": "^5",
74
+ "@systemfsoftware/stryker-framework-interface": "^0.0.0",
75
+ "@systemfsoftware/stryker-js-instrumenter": "^9.0.1",
70
76
  "@systemfsoftware/stryker-config": "^0.1.0",
71
- "@systemfsoftware/stryker-js-html-reporter": "^4.0.5",
72
- "@systemfsoftware/stryker-js-instrumenter": "^8.1.0",
73
- "@systemfsoftware/stryker-js-plugin-runtime": "^5.0.4",
74
- "@systemfsoftware/stryker-js-plugin-interface": "^7.3.0",
75
77
  "@systemfsoftware/stryker-ignorer-interface": "^0.1.1",
76
- "@systemfsoftware/vitest-config": "^0.1.0",
77
- "@systemfsoftware/tsdown-config": "^0.1.0"
78
+ "@systemfsoftware/stryker-js-html-reporter": "^5.0.1",
79
+ "@systemfsoftware/stryker-js-plugin-interface": "^8.0.0",
80
+ "@systemfsoftware/stryker-js-plugin-runtime": "^6.0.1",
81
+ "@systemfsoftware/tsdown-config": "^0.1.0",
82
+ "@systemfsoftware/vitest-config": "^0.1.0"
78
83
  },
79
84
  "publishConfig": {
80
85
  "access": "public",
@@ -101,44 +106,19 @@
101
106
  },
102
107
  "inlinedDependencies": {
103
108
  "@eslint-community/regexpp": "4.12.2",
104
- "@jridgewell/gen-mapping": "0.3.13",
105
- "@jridgewell/remapping": "2.3.5",
106
- "@jridgewell/resolve-uri": "3.1.2",
107
- "@jridgewell/sourcemap-codec": "1.6.0",
108
- "@jridgewell/trace-mapping": "0.3.31",
109
109
  "@jsr/std__jsonc": "1.0.2",
110
- "@sveltejs/acorn-typescript": "1.0.13",
111
- "acorn": "8.18.0",
112
- "angular-html-parser": "10.12.0",
113
- "aria-query": "5.3.1",
114
- "axobject-query": "4.1.0",
115
- "chai": "6.2.2",
116
- "esrap": "2.3.7",
117
- "expect-type": "1.4.0",
118
- "is-reference": "3.0.3",
119
- "locate-character": "3.0.0",
120
- "magic-string": [
121
- "0.30.21",
122
- "1.4.1"
123
- ],
124
- "oxc-parser": "0.150.0",
125
- "oxc-walker": "1.1.1",
126
- "svelte": "5.57.0",
127
- "tinybench": "6.1.4",
128
- "vite": "8.2.2",
129
- "vitest": "5.0.1",
130
- "zimmerframe": "1.1.5"
110
+ "oxc-parser": "0.150.0"
131
111
  },
132
112
  "scripts": {
133
113
  "clean": "rimraf dist",
134
114
  "build": "pnpm run typecheck && rimraf dist && tsdown --config tsdown.bin.config.ts && tsdown --config tsdown.config.ts",
135
- "typecheck": "tsc --noEmit --incremental && tsc -p tsconfig.node.json --noEmit",
115
+ "typecheck": "tsc -b",
136
116
  "test": "vitest run",
137
117
  "mutation": "stryker run",
138
118
  "attw": "attw --pack .",
139
119
  "lint": "f=${OXLINT_FORMAT:-${AGENT:+agent}}; oxlint . --format=${f:-default}",
140
120
  "api:check": "api-extractor run",
141
121
  "api:update": "api-extractor run --local",
142
- "lint:tsgo": "effect-tsgo diagnostics --project tsconfig.json --format ${TSGO_FORMAT:-text}"
122
+ "lint:tsgo": "effect-tsgo diagnostics --project tsconfig.app.json --format ${TSGO_FORMAT:-text} && effect-tsgo diagnostics --project tsconfig.test.json --format ${TSGO_FORMAT:-text}"
143
123
  }
144
124
  }