@systemfsoftware/stryker-js 15.0.1 → 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.
@@ -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([S.Struct({ status: S.Literal("passed") }), S.Struct({
176
- status: S.Literal("compileError"),
177
- reason: S.String
178
- })]).pipe(S.toTaggedUnion("status"));
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, false),
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-Cf9G6kA8.mjs";
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-reports", "serve", "feedback", "mcp"]>;
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;
@@ -1,5 +1,5 @@
1
- import { i as mod_d_exports$5 } from "./index-Cf9G6kA8.mjs";
2
- import { l as MutationTestDone } from "./RunEnvironment.service-B1bsWOQ9.mjs";
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-DdVQINP9.mjs";
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