@systemfsoftware/stryker-js 15.0.0 → 16.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.
- package/CHANGELOG.md +44 -0
- package/README.md +12 -6
- package/dist/{Run.schema-B1HZugu9.d.mts → Run.schema-CgcTsB1w.d.mts} +1 -1
- package/dist/{RunEnvironment.service-B1bsWOQ9.d.mts → RunEnvironment.service-F8LgeCqh.d.mts} +90 -18
- package/dist/config.d.mts +2 -2
- package/dist/config.mjs +1 -1
- package/dist/events.d.mts +1 -1
- package/dist/{index-Cf9G6kA8.d.mts → index-DEphx668.d.mts} +11 -2
- package/dist/index.d.mts +11 -6
- package/dist/index.mjs +3 -2
- package/dist/main.mjs +2077 -1350
- package/dist/{merge-config-zsGl1aWc.mjs → merge-config-BYhhPA7r.mjs} +12 -5
- package/dist/{merge-config-BdQdK3PM.d.mts → merge-config-b06M-Ccx.d.mts} +2 -2
- package/dist/promises.d.mts +2 -2
- package/dist/promises.mjs +1 -1
- package/dist/{run-stages-aBT_QAfO.mjs → run-stages-k4L7ymmp.mjs} +570 -254
- package/package.json +10 -10
|
@@ -172,10 +172,17 @@ const CheckerMutantWire = S.Struct({
|
|
|
172
172
|
replacement: S.String,
|
|
173
173
|
location: Location$1
|
|
174
174
|
});
|
|
175
|
-
const CheckResultSchema = S.Union([
|
|
176
|
-
status: S.Literal("
|
|
177
|
-
|
|
178
|
-
|
|
175
|
+
const CheckResultSchema = S.Union([
|
|
176
|
+
S.Struct({ status: S.Literal("passed") }),
|
|
177
|
+
S.Struct({
|
|
178
|
+
status: S.Literal("compileError"),
|
|
179
|
+
reason: S.String
|
|
180
|
+
}),
|
|
181
|
+
S.Struct({
|
|
182
|
+
status: S.Literal("ignored"),
|
|
183
|
+
reason: S.String
|
|
184
|
+
})
|
|
185
|
+
]).pipe(S.toTaggedUnion("status"));
|
|
179
186
|
const CheckStatus = S.Literals(CheckResultSchema.discriminants);
|
|
180
187
|
var CheckerFailed = class extends S.TaggedError()("CheckerFailed", {
|
|
181
188
|
cause: S.String,
|
|
@@ -594,7 +601,7 @@ const StrykerOptionsSchema = S.StructWithRest(S.Struct({
|
|
|
594
601
|
dryRunOnly: defaulted(S.Boolean, false),
|
|
595
602
|
ignorePatterns: defaulted(S.Array(S.String), []),
|
|
596
603
|
ignoreStatic: defaulted(S.Boolean, false),
|
|
597
|
-
incremental: defaulted(S.Boolean,
|
|
604
|
+
incremental: defaulted(S.Boolean, true),
|
|
598
605
|
incrementalFile: defaulted(S.String, "reports/stryker-incremental.json"),
|
|
599
606
|
incrementalSources: defaulted(S.Array(S.String), []),
|
|
600
607
|
progressStreamFile: defaulted(S.String, "reports/mutation-stream.jsonl"),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as mod_d_exports$5 } from "./index-
|
|
1
|
+
import { i as mod_d_exports$5 } from "./index-DEphx668.mjs";
|
|
2
2
|
import * as S from "effect/Schema";
|
|
3
3
|
//#region src/config/stryker-config.schema.d.ts
|
|
4
4
|
type StrykerConfig = mod_d_exports$5.PartialStrykerOptions;
|
|
@@ -6,7 +6,7 @@ type Primitive = boolean | number | string | null | undefined;
|
|
|
6
6
|
type ImmutablePrimitive = Primitive | ((...args: never[]) => void);
|
|
7
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
8
|
declare const ConfigEnvSchema: S.Struct<{
|
|
9
|
-
readonly command: S.Literals<readonly ["run", "merge
|
|
9
|
+
readonly command: S.Literals<readonly ["run", "merge", "serve", "feedback", "mcp"]>;
|
|
10
10
|
readonly isDryRun: S.Boolean;
|
|
11
11
|
readonly mode: S.Literals<readonly ["human", "machine"]>;
|
|
12
12
|
readonly isCi: S.Boolean;
|
package/dist/promises.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as mod_d_exports$5 } from "./index-
|
|
2
|
-
import { l as MutationTestDone } from "./RunEnvironment.service-
|
|
1
|
+
import { i as mod_d_exports$5 } from "./index-DEphx668.mjs";
|
|
2
|
+
import { l as MutationTestDone } from "./RunEnvironment.service-F8LgeCqh.mjs";
|
|
3
3
|
//#region src/drivers/promise.d.ts
|
|
4
4
|
export declare const run: ((targetMutatePatterns?: readonly string[]) => (options: mod_d_exports$5.PartialStrykerOptions) => Promise<MutationTestDone>) & ((options: mod_d_exports$5.PartialStrykerOptions, targetMutatePatterns?: readonly string[]) => Promise<MutationTestDone>);
|
|
5
5
|
//#endregion
|
package/dist/promises.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as nodePlatformLayer, t as strykerCell } from "./run-stages-
|
|
1
|
+
import { C as nodePlatformLayer, t as strykerCell } from "./run-stages-k4L7ymmp.mjs";
|
|
2
2
|
import * as Effect from "effect/Effect";
|
|
3
3
|
import { dual } from "effect/Function";
|
|
4
4
|
//#region src/drivers/promise.ts
|