@systemfsoftware/stryker-js 3.0.0 → 3.0.1
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 +7 -0
- package/dist/{Plugin-CunIOPtw.d.mts → Plugin-BtItMchw.d.mts} +1 -1
- package/dist/Plugin.d.mts +1 -1
- package/dist/{Reporter-BU7qo6MR.d.mts → Reporter-C7ysGxqX.d.mts} +1 -1
- package/dist/Reporter.d.mts +2 -2
- package/dist/ReporterEvent.d.mts +1 -1
- package/dist/ReporterEvent.mjs +17 -18
- package/dist/{ReporterEvent.schema-Db6r_euv.d.mts → ReporterEvent.schema-BhtyYCZo.d.mts} +25 -26
- package/dist/{Run-CnhaYlAC.d.mts → Run-BUpNSmcM.d.mts} +77 -78
- package/dist/Run.d.mts +1 -1
- package/dist/Run.mjs +1 -1
- package/dist/{Run.schema-C4m-b9Ki.mjs → Run.schema-DZve3k2m.mjs} +51 -52
- package/dist/{Schema-CXKiLnTu.d.mts → Schema-4oCWQ0P0.d.mts} +63 -64
- package/dist/{Schema-CdNkubPi.mjs → Schema-CMKdWMUN.mjs} +55 -57
- package/dist/Schema.d.mts +1 -1
- package/dist/Schema.mjs +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +1 -1
- package/dist/provided-options.d.mts +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@ import { q as TestRunner } from "./Mutant-Ci25PsWA.mjs";
|
|
|
3
3
|
import { t as Evaluator } from "./Evaluator-CnAN8-pZ.mjs";
|
|
4
4
|
import { t as Ignorer } from "./Ignorer-BUY68FZQ.mjs";
|
|
5
5
|
import { t as Module } from "./Module-DHKEMAFI.mjs";
|
|
6
|
-
import { l as ReporterFactory } from "./ReporterEvent.schema-
|
|
6
|
+
import { l as ReporterFactory } from "./ReporterEvent.schema-BhtyYCZo.mjs";
|
|
7
7
|
import * as Context from "effect/Context";
|
|
8
8
|
import * as S from "effect/Schema";
|
|
9
9
|
import * as Option from "effect/Option";
|
package/dist/Plugin.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as PluginReporterContribution, a as PluginEnvironment, c as RunConfiguration, d as composePlugins, f as declarePlugin, g as PluginLayerKind, h as PluginLayerContribution, i as MergedPluginServices, l as SandboxDirectory, m as PluginKind, n as ComposedPlugins, o as PluginInterfaces, p as PluginContribution, r as ContributionOf, t as AnyPluginContribution, u as SelectedReporterFactory, v as Shadowing } from "./Plugin-
|
|
1
|
+
import { _ as PluginReporterContribution, a as PluginEnvironment, c as RunConfiguration, d as composePlugins, f as declarePlugin, g as PluginLayerKind, h as PluginLayerContribution, i as MergedPluginServices, l as SandboxDirectory, m as PluginKind, n as ComposedPlugins, o as PluginInterfaces, p as PluginContribution, r as ContributionOf, t as AnyPluginContribution, u as SelectedReporterFactory, v as Shadowing } from "./Plugin-BtItMchw.mjs";
|
|
2
2
|
export { AnyPluginContribution, ComposedPlugins, ContributionOf, MergedPluginServices, type PluginContribution, PluginEnvironment, PluginInterfaces, PluginKind, PluginLayerContribution, type PluginLayerKind, PluginReporterContribution, RunConfiguration, SandboxDirectory, SelectedReporterFactory, Shadowing, composePlugins, declarePlugin };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as MetricsResult, t as Metrics } from "./Metrics.schema-BaVd6rXs.mjs";
|
|
2
|
-
import { a as ReporterEvent, c as ReporterEventUnion, d as ReporterPlanDescriptor, f as RunTiming, i as MutationTestingPlanReady, l as ReporterFactory, n as MutantTested, o as ReporterEventKind, r as MutationTestReportReady, s as ReporterEventSchema, t as DryRunCompleted, u as ReporterInit } from "./ReporterEvent.schema-
|
|
2
|
+
import { a as ReporterEvent, c as ReporterEventUnion, d as ReporterPlanDescriptor, f as RunTiming, i as MutationTestingPlanReady, l as ReporterFactory, n as MutantTested, o as ReporterEventKind, r as MutationTestReportReady, s as ReporterEventSchema, t as DryRunCompleted, u as ReporterInit } from "./ReporterEvent.schema-BhtyYCZo.mjs";
|
|
3
3
|
import * as S from "effect/Schema";
|
|
4
4
|
//#region src/Reporter.schema.d.ts
|
|
5
5
|
declare const ReporterFailed_base: S.Class<ReporterFailed, S.TaggedStruct<"ReporterFailed", {
|
package/dist/Reporter.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { n as MetricsResult, t as Metrics } from "./Metrics.schema-BaVd6rXs.mjs";
|
|
2
|
-
import { a as ReporterEvent, c as ReporterEventUnion, d as ReporterPlanDescriptor, f as RunTiming, i as MutationTestingPlanReady, l as ReporterFactory, n as MutantTested, o as ReporterEventKind, r as MutationTestReportReady, s as ReporterEventSchema, t as DryRunCompleted, u as ReporterInit } from "./ReporterEvent.schema-
|
|
3
|
-
import { r as ReporterFailed, t as REPORTER_SCHEMA_VERSION } from "./Reporter-
|
|
2
|
+
import { a as ReporterEvent, c as ReporterEventUnion, d as ReporterPlanDescriptor, f as RunTiming, i as MutationTestingPlanReady, l as ReporterFactory, n as MutantTested, o as ReporterEventKind, r as MutationTestReportReady, s as ReporterEventSchema, t as DryRunCompleted, u as ReporterInit } from "./ReporterEvent.schema-BhtyYCZo.mjs";
|
|
3
|
+
import { r as ReporterFailed, t as REPORTER_SCHEMA_VERSION } from "./Reporter-C7ysGxqX.mjs";
|
|
4
4
|
export { DryRunCompleted, type Metrics, type MetricsResult, MutantTested, MutationTestReportReady, MutationTestingPlanReady, REPORTER_SCHEMA_VERSION, type ReporterEvent, ReporterEventKind, ReporterEventSchema, ReporterEventUnion, type ReporterFactory, ReporterFailed, type ReporterInit, type ReporterPlanDescriptor, type RunTiming };
|
package/dist/ReporterEvent.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ReporterEvent, c as ReporterEventUnion, d as ReporterPlanDescriptor, f as RunTiming, i as MutationTestingPlanReady, l as ReporterFactory, n as MutantTested, o as ReporterEventKind, r as MutationTestReportReady, s as ReporterEventSchema, t as DryRunCompleted, u as ReporterInit } from "./ReporterEvent.schema-
|
|
1
|
+
import { a as ReporterEvent, c as ReporterEventUnion, d as ReporterPlanDescriptor, f as RunTiming, i as MutationTestingPlanReady, l as ReporterFactory, n as MutantTested, o as ReporterEventKind, r as MutationTestReportReady, s as ReporterEventSchema, t as DryRunCompleted, u as ReporterInit } from "./ReporterEvent.schema-BhtyYCZo.mjs";
|
|
2
2
|
export { DryRunCompleted, MutantTested, MutationTestReportReady, MutationTestingPlanReady, ReporterEvent, ReporterEventKind, ReporterEventSchema, ReporterEventUnion, ReporterFactory, ReporterInit, ReporterPlanDescriptor, RunTiming };
|
package/dist/ReporterEvent.mjs
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { t as LocationSchema } from "./Mutant.schema-H3r0ho_R.mjs";
|
|
2
2
|
import { MutationTestResultSchema } from "./Report.mjs";
|
|
3
3
|
import { t as MetricsResultSchema } from "./Metrics.schema-DZdoc46X.mjs";
|
|
4
|
-
import { i as MutantStatus } from "./Run.schema-
|
|
4
|
+
import { i as MutantStatus } from "./Run.schema-DZve3k2m.mjs";
|
|
5
5
|
import { d as TestRunnerCapabilitiesSchema, u as TestResultSchema } from "./TestRunner.schema-Dy0Wdro2.mjs";
|
|
6
6
|
import * as S from "effect/Schema";
|
|
7
|
-
import { Wire } from "@systemfsoftware/effect-cell-types";
|
|
8
7
|
//#region src/ReporterEvent.schema.ts
|
|
9
8
|
const ReporterEventKind = S.Literals([
|
|
10
9
|
"dryRunCompleted",
|
|
@@ -12,36 +11,36 @@ const ReporterEventKind = S.Literals([
|
|
|
12
11
|
"mutantTested",
|
|
13
12
|
"mutationTestReportReady"
|
|
14
13
|
]);
|
|
15
|
-
const RunTimingSchema =
|
|
16
|
-
net:
|
|
17
|
-
overhead:
|
|
14
|
+
const RunTimingSchema = S.Struct({
|
|
15
|
+
net: S.Finite,
|
|
16
|
+
overhead: S.Finite
|
|
18
17
|
});
|
|
19
18
|
const ReporterPlanKind = S.Literals(["EarlyResult", "Run"]);
|
|
20
|
-
const ReporterPlanDescriptorSchema =
|
|
21
|
-
mutantId:
|
|
22
|
-
plan:
|
|
23
|
-
netTime:
|
|
24
|
-
reloadEnvironment:
|
|
19
|
+
const ReporterPlanDescriptorSchema = S.Struct({
|
|
20
|
+
mutantId: S.String,
|
|
21
|
+
plan: ReporterPlanKind,
|
|
22
|
+
netTime: S.Finite,
|
|
23
|
+
reloadEnvironment: S.Boolean
|
|
25
24
|
});
|
|
26
25
|
var DryRunCompleted = class extends S.TaggedClass()("dryRunCompleted", {
|
|
27
26
|
timing: RunTimingSchema,
|
|
28
27
|
capabilities: TestRunnerCapabilitiesSchema,
|
|
29
|
-
testCount:
|
|
28
|
+
testCount: S.Finite,
|
|
30
29
|
tests: S.Array(TestResultSchema)
|
|
31
30
|
}) {};
|
|
32
31
|
var MutationTestingPlanReady = class extends S.TaggedClass()("mutationTestingPlanReady", {
|
|
33
|
-
total:
|
|
32
|
+
total: S.Finite,
|
|
34
33
|
plans: S.Array(ReporterPlanDescriptorSchema)
|
|
35
34
|
}) {};
|
|
36
35
|
var MutantTested = class extends S.TaggedClass()("mutantTested", {
|
|
37
|
-
id:
|
|
36
|
+
id: S.String,
|
|
38
37
|
status: MutantStatus,
|
|
39
|
-
file:
|
|
38
|
+
file: S.String,
|
|
40
39
|
location: LocationSchema,
|
|
41
|
-
mutator:
|
|
42
|
-
replacement:
|
|
43
|
-
completed:
|
|
44
|
-
total:
|
|
40
|
+
mutator: S.String,
|
|
41
|
+
replacement: S.NullOr(S.String),
|
|
42
|
+
completed: S.Finite,
|
|
43
|
+
total: S.Finite
|
|
45
44
|
}) {};
|
|
46
45
|
var MutationTestReportReady = class extends S.TaggedClass()("mutationTestReportReady", {
|
|
47
46
|
report: MutationTestResultSchema,
|
|
@@ -1,32 +1,31 @@
|
|
|
1
1
|
import { n as MetricsResult } from "./Metrics.schema-BaVd6rXs.mjs";
|
|
2
|
-
import { m as StrykerOptions } from "./Schema-
|
|
2
|
+
import { m as StrykerOptions } from "./Schema-4oCWQ0P0.mjs";
|
|
3
3
|
import * as S from "effect/Schema";
|
|
4
|
-
import { Wire } from "@systemfsoftware/effect-cell-types";
|
|
5
4
|
import { StandardSchemaV1 } from "effect/StandardSchema";
|
|
6
5
|
//#region src/ReporterEvent.schema.d.ts
|
|
7
6
|
declare const ReporterEventKind: S.Literals<readonly ["dryRunCompleted", "mutationTestingPlanReady", "mutantTested", "mutationTestReportReady"]>;
|
|
8
7
|
type ReporterEventKind = typeof ReporterEventKind.Type;
|
|
9
8
|
declare const RunTimingSchema: S.Struct<{
|
|
10
|
-
net: S.Finite
|
|
11
|
-
overhead: S.Finite
|
|
12
|
-
}
|
|
9
|
+
readonly net: S.Finite;
|
|
10
|
+
readonly overhead: S.Finite;
|
|
11
|
+
}>;
|
|
13
12
|
type RunTiming = typeof RunTimingSchema.Type;
|
|
14
13
|
declare const ReporterPlanDescriptorSchema: S.Struct<{
|
|
15
|
-
mutantId: S.String
|
|
16
|
-
plan: S.Literals<readonly ["EarlyResult", "Run"]
|
|
17
|
-
netTime: S.Finite
|
|
18
|
-
reloadEnvironment: S.Boolean
|
|
19
|
-
}
|
|
14
|
+
readonly mutantId: S.String;
|
|
15
|
+
readonly plan: S.Literals<readonly ["EarlyResult", "Run"]>;
|
|
16
|
+
readonly netTime: S.Finite;
|
|
17
|
+
readonly reloadEnvironment: S.Boolean;
|
|
18
|
+
}>;
|
|
20
19
|
type ReporterPlanDescriptor = typeof ReporterPlanDescriptorSchema.Type;
|
|
21
20
|
declare const DryRunCompleted_base: S.Class<DryRunCompleted, S.TaggedStruct<"dryRunCompleted", {
|
|
22
21
|
readonly timing: S.Struct<{
|
|
23
|
-
net: S.Finite
|
|
24
|
-
overhead: S.Finite
|
|
25
|
-
}
|
|
22
|
+
readonly net: S.Finite;
|
|
23
|
+
readonly overhead: S.Finite;
|
|
24
|
+
}>;
|
|
26
25
|
readonly capabilities: S.Struct<{
|
|
27
26
|
readonly reloadEnvironment: S.Boolean;
|
|
28
27
|
}>;
|
|
29
|
-
readonly testCount: S.Finite
|
|
28
|
+
readonly testCount: S.Finite;
|
|
30
29
|
readonly tests: S.$Array<S.Union<readonly [S.Struct<{
|
|
31
30
|
readonly id: S.String;
|
|
32
31
|
readonly name: S.String;
|
|
@@ -62,19 +61,19 @@ declare const DryRunCompleted_base: S.Class<DryRunCompleted, S.TaggedStruct<"dry
|
|
|
62
61
|
}>, {}>;
|
|
63
62
|
declare class DryRunCompleted extends DryRunCompleted_base {}
|
|
64
63
|
declare const MutationTestingPlanReady_base: S.Class<MutationTestingPlanReady, S.TaggedStruct<"mutationTestingPlanReady", {
|
|
65
|
-
readonly total: S.Finite
|
|
64
|
+
readonly total: S.Finite;
|
|
66
65
|
readonly plans: S.$Array<S.Struct<{
|
|
67
|
-
mutantId: S.String
|
|
68
|
-
plan: S.Literals<readonly ["EarlyResult", "Run"]
|
|
69
|
-
netTime: S.Finite
|
|
70
|
-
reloadEnvironment: S.Boolean
|
|
71
|
-
}
|
|
66
|
+
readonly mutantId: S.String;
|
|
67
|
+
readonly plan: S.Literals<readonly ["EarlyResult", "Run"]>;
|
|
68
|
+
readonly netTime: S.Finite;
|
|
69
|
+
readonly reloadEnvironment: S.Boolean;
|
|
70
|
+
}>>;
|
|
72
71
|
}>, {}>;
|
|
73
72
|
declare class MutationTestingPlanReady extends MutationTestingPlanReady_base {}
|
|
74
73
|
declare const MutantTested_base: S.Class<MutantTested, S.TaggedStruct<"mutantTested", {
|
|
75
|
-
readonly id: S.String
|
|
74
|
+
readonly id: S.String;
|
|
76
75
|
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "Timeout", "CompileError", "RuntimeError", "Ignored", "Pending"]>;
|
|
77
|
-
readonly file: S.String
|
|
76
|
+
readonly file: S.String;
|
|
78
77
|
readonly location: S.Struct<{
|
|
79
78
|
readonly start: S.Struct<{
|
|
80
79
|
readonly line: S.Finite;
|
|
@@ -85,10 +84,10 @@ declare const MutantTested_base: S.Class<MutantTested, S.TaggedStruct<"mutantTes
|
|
|
85
84
|
readonly column: S.Finite;
|
|
86
85
|
}>;
|
|
87
86
|
}>;
|
|
88
|
-
readonly mutator: S.String
|
|
89
|
-
readonly replacement: S.NullOr<S.String
|
|
90
|
-
readonly completed: S.Finite
|
|
91
|
-
readonly total: S.Finite
|
|
87
|
+
readonly mutator: S.String;
|
|
88
|
+
readonly replacement: S.NullOr<S.String>;
|
|
89
|
+
readonly completed: S.Finite;
|
|
90
|
+
readonly total: S.Finite;
|
|
92
91
|
}>, {}>;
|
|
93
92
|
declare class MutantTested extends MutantTested_base {}
|
|
94
93
|
declare const MutationTestReportReady_base: S.Class<MutationTestReportReady, S.TaggedStruct<"mutationTestReportReady", {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as Context from "effect/Context";
|
|
2
2
|
import * as S from "effect/Schema";
|
|
3
|
-
import { Wire } from "@systemfsoftware/effect-cell-types";
|
|
4
3
|
import * as Effect from "effect/Effect";
|
|
5
4
|
import * as Exit from "effect/Exit";
|
|
6
5
|
import * as Cause from "effect/Cause";
|
|
@@ -15,115 +14,115 @@ type ModeSignal = typeof ModeSignal.Type;
|
|
|
15
14
|
declare const MutantStatus: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "Timeout", "CompileError", "RuntimeError", "Ignored", "Pending"]>;
|
|
16
15
|
type MutantStatus = typeof MutantStatus.Type;
|
|
17
16
|
declare const Position: S.Struct<{
|
|
18
|
-
line: S.Finite
|
|
19
|
-
column: S.Finite
|
|
20
|
-
}
|
|
17
|
+
readonly line: S.Finite;
|
|
18
|
+
readonly column: S.Finite;
|
|
19
|
+
}>;
|
|
21
20
|
declare const Location: S.Struct<{
|
|
22
|
-
start: S.Struct<{
|
|
23
|
-
line: S.Finite
|
|
24
|
-
column: S.Finite
|
|
25
|
-
}
|
|
26
|
-
end: S.Struct<{
|
|
27
|
-
line: S.Finite
|
|
28
|
-
column: S.Finite
|
|
29
|
-
}
|
|
30
|
-
}
|
|
21
|
+
readonly start: S.Struct<{
|
|
22
|
+
readonly line: S.Finite;
|
|
23
|
+
readonly column: S.Finite;
|
|
24
|
+
}>;
|
|
25
|
+
readonly end: S.Struct<{
|
|
26
|
+
readonly line: S.Finite;
|
|
27
|
+
readonly column: S.Finite;
|
|
28
|
+
}>;
|
|
29
|
+
}>;
|
|
31
30
|
type Location = typeof Location.Type;
|
|
32
31
|
type Position = typeof Position.Type;
|
|
33
32
|
declare const RunStarted_base: S.Class<RunStarted, S.TaggedStruct<"stream", {
|
|
34
|
-
readonly schemaVersion: S.String
|
|
35
|
-
readonly runId: S.String
|
|
33
|
+
readonly schemaVersion: S.String;
|
|
34
|
+
readonly runId: S.String;
|
|
36
35
|
readonly mode: S.Literals<readonly ["human", "machine"]>;
|
|
37
36
|
readonly signal: S.Literals<readonly ["flag", "env", "tty", "agent", "tool"]>;
|
|
38
37
|
}>, {}>;
|
|
39
38
|
declare class RunStarted extends RunStarted_base {}
|
|
40
39
|
declare const PhaseEntered_base: S.Class<PhaseEntered, S.TaggedStruct<"phase", {
|
|
41
40
|
readonly phase: S.Literals<readonly ["prepare", "instrument", "dry-run", "mutation-test"]>;
|
|
42
|
-
readonly elapsedMs: S.Finite
|
|
41
|
+
readonly elapsedMs: S.Finite;
|
|
43
42
|
}>, {}>;
|
|
44
43
|
declare class PhaseEntered extends PhaseEntered_base {}
|
|
45
44
|
declare const PlanKnown_base: S.Class<PlanKnown, S.TaggedStruct<"plan", {
|
|
46
|
-
readonly total: S.Finite
|
|
45
|
+
readonly total: S.Finite;
|
|
47
46
|
}>, {}>;
|
|
48
47
|
declare class PlanKnown extends PlanKnown_base {}
|
|
49
48
|
declare const MutantTested_base: S.Class<MutantTested, S.TaggedStruct<"mutant", {
|
|
50
|
-
readonly id: S.String
|
|
49
|
+
readonly id: S.String;
|
|
51
50
|
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "Timeout", "CompileError", "RuntimeError", "Ignored", "Pending"]>;
|
|
52
|
-
readonly file: S.String
|
|
51
|
+
readonly file: S.String;
|
|
53
52
|
readonly location: S.Struct<{
|
|
54
|
-
start: S.Struct<{
|
|
55
|
-
line: S.Finite
|
|
56
|
-
column: S.Finite
|
|
57
|
-
}
|
|
58
|
-
end: S.Struct<{
|
|
59
|
-
line: S.Finite
|
|
60
|
-
column: S.Finite
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
readonly mutator: S.String
|
|
64
|
-
readonly replacement: S.NullOr<S.String
|
|
65
|
-
readonly completed: S.Finite
|
|
66
|
-
readonly total: S.Finite
|
|
53
|
+
readonly start: S.Struct<{
|
|
54
|
+
readonly line: S.Finite;
|
|
55
|
+
readonly column: S.Finite;
|
|
56
|
+
}>;
|
|
57
|
+
readonly end: S.Struct<{
|
|
58
|
+
readonly line: S.Finite;
|
|
59
|
+
readonly column: S.Finite;
|
|
60
|
+
}>;
|
|
61
|
+
}>;
|
|
62
|
+
readonly mutator: S.String;
|
|
63
|
+
readonly replacement: S.NullOr<S.String>;
|
|
64
|
+
readonly completed: S.Finite;
|
|
65
|
+
readonly total: S.Finite;
|
|
67
66
|
}>, {}>;
|
|
68
67
|
declare class MutantTested extends MutantTested_base {}
|
|
69
68
|
declare const Heartbeat_base: S.Class<Heartbeat, S.TaggedStruct<"tick", {
|
|
70
|
-
readonly elapsedMs: S.Finite
|
|
71
|
-
readonly completed: S.Finite
|
|
72
|
-
readonly total: S.NullOr<S.Finite
|
|
69
|
+
readonly elapsedMs: S.Finite;
|
|
70
|
+
readonly completed: S.Finite;
|
|
71
|
+
readonly total: S.NullOr<S.Finite>;
|
|
73
72
|
}>, {}>;
|
|
74
73
|
declare class Heartbeat extends Heartbeat_base {}
|
|
75
74
|
declare const VerdictReached_base: S.Class<VerdictReached, S.TaggedStruct<"verdict", {
|
|
76
|
-
readonly schemaVersion: S.String
|
|
77
|
-
readonly runId: S.String
|
|
75
|
+
readonly schemaVersion: S.String;
|
|
76
|
+
readonly runId: S.String;
|
|
78
77
|
readonly mode: S.Literals<readonly ["human", "machine"]>;
|
|
79
78
|
readonly signal: S.Literals<readonly ["flag", "env", "tty", "agent", "tool"]>;
|
|
80
|
-
readonly score: S.NullOr<S.Finite
|
|
79
|
+
readonly score: S.NullOr<S.Finite>;
|
|
81
80
|
readonly thresholds: S.Struct<{
|
|
82
|
-
high: S.Finite
|
|
83
|
-
low: S.Finite
|
|
84
|
-
break: S.NullOr<S.Finite
|
|
85
|
-
}
|
|
86
|
-
readonly reportFile: S.NullOr<S.String
|
|
81
|
+
readonly high: S.Finite;
|
|
82
|
+
readonly low: S.Finite;
|
|
83
|
+
readonly break: S.NullOr<S.Finite>;
|
|
84
|
+
}>;
|
|
85
|
+
readonly reportFile: S.NullOr<S.String>;
|
|
87
86
|
readonly counts: S.Struct<{
|
|
88
|
-
killed: S.Finite
|
|
89
|
-
timeout: S.Finite
|
|
90
|
-
survived: S.Finite
|
|
91
|
-
noCoverage: S.Finite
|
|
92
|
-
runtimeErrors: S.Finite
|
|
93
|
-
compileErrors: S.Finite
|
|
94
|
-
ignored: S.Finite
|
|
95
|
-
pending: S.Finite
|
|
96
|
-
}
|
|
87
|
+
readonly killed: S.Finite;
|
|
88
|
+
readonly timeout: S.Finite;
|
|
89
|
+
readonly survived: S.Finite;
|
|
90
|
+
readonly noCoverage: S.Finite;
|
|
91
|
+
readonly runtimeErrors: S.Finite;
|
|
92
|
+
readonly compileErrors: S.Finite;
|
|
93
|
+
readonly ignored: S.Finite;
|
|
94
|
+
readonly pending: S.Finite;
|
|
95
|
+
}>;
|
|
97
96
|
readonly mutants: S.$Array<S.Struct<{
|
|
98
|
-
readonly id: S.String
|
|
99
|
-
readonly file: S.String
|
|
97
|
+
readonly id: S.String;
|
|
98
|
+
readonly file: S.String;
|
|
100
99
|
readonly location: S.Struct<{
|
|
101
|
-
start: S.Struct<{
|
|
102
|
-
line: S.Finite
|
|
103
|
-
column: S.Finite
|
|
104
|
-
}
|
|
105
|
-
end: S.Struct<{
|
|
106
|
-
line: S.Finite
|
|
107
|
-
column: S.Finite
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
readonly mutator: S.String
|
|
111
|
-
readonly replacement: S.NullOr<S.String
|
|
100
|
+
readonly start: S.Struct<{
|
|
101
|
+
readonly line: S.Finite;
|
|
102
|
+
readonly column: S.Finite;
|
|
103
|
+
}>;
|
|
104
|
+
readonly end: S.Struct<{
|
|
105
|
+
readonly line: S.Finite;
|
|
106
|
+
readonly column: S.Finite;
|
|
107
|
+
}>;
|
|
108
|
+
}>;
|
|
109
|
+
readonly mutator: S.String;
|
|
110
|
+
readonly replacement: S.NullOr<S.String>;
|
|
112
111
|
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "Timeout", "CompileError", "RuntimeError", "Ignored", "Pending"]>;
|
|
113
112
|
}>>;
|
|
114
113
|
}>, {}>;
|
|
115
114
|
declare class VerdictReached extends VerdictReached_base {}
|
|
116
115
|
declare const RunFailed_base: S.Class<RunFailed, S.TaggedStruct<"error", {
|
|
117
|
-
readonly schemaVersion: S.String
|
|
118
|
-
readonly code: S.Finite
|
|
119
|
-
readonly error: S.String
|
|
120
|
-
readonly remediation: S.String
|
|
116
|
+
readonly schemaVersion: S.String;
|
|
117
|
+
readonly code: S.Finite;
|
|
118
|
+
readonly error: S.String;
|
|
119
|
+
readonly remediation: S.String;
|
|
121
120
|
}>, {}>;
|
|
122
121
|
declare class RunFailed extends RunFailed_base {}
|
|
123
122
|
declare const HelpRendered_base: S.Class<HelpRendered, S.TaggedStruct<"help", {
|
|
124
|
-
readonly schemaVersion: S.String
|
|
125
|
-
readonly code: S.Literals<readonly [0]
|
|
126
|
-
readonly help: S.String
|
|
123
|
+
readonly schemaVersion: S.String;
|
|
124
|
+
readonly code: S.Literals<readonly [0]>;
|
|
125
|
+
readonly help: S.String;
|
|
127
126
|
}>, {}>;
|
|
128
127
|
declare class HelpRendered extends HelpRendered_base {}
|
|
129
128
|
declare const RunEvent: S.Union<readonly [typeof RunStarted, typeof PhaseEntered, typeof PlanKnown, typeof MutantTested, typeof Heartbeat, typeof VerdictReached, typeof RunFailed, typeof HelpRendered]>;
|
|
@@ -140,15 +139,15 @@ declare const RunOutput_base: S.Class<RunOutput, S.TaggedStruct<"RunOutput", {
|
|
|
140
139
|
}>, {}>;
|
|
141
140
|
declare class RunOutput extends RunOutput_base {}
|
|
142
141
|
declare const PlanMutationRunCommand_base: S.Class<PlanMutationRunCommand, S.TaggedStruct<"PlanMutationRunCommand", {
|
|
143
|
-
readonly configMutatePatterns: S.$Array<S.String
|
|
144
|
-
readonly configMutatorNames: S.$Array<S.String
|
|
145
|
-
readonly targetMutatePatterns: S.$Array<S.String
|
|
146
|
-
readonly availableMutators: S.$Array<S.String
|
|
142
|
+
readonly configMutatePatterns: S.$Array<S.String>;
|
|
143
|
+
readonly configMutatorNames: S.$Array<S.String>;
|
|
144
|
+
readonly targetMutatePatterns: S.$Array<S.String>;
|
|
145
|
+
readonly availableMutators: S.$Array<S.String>;
|
|
147
146
|
}>, {}>;
|
|
148
147
|
declare class PlanMutationRunCommand extends PlanMutationRunCommand_base {}
|
|
149
148
|
declare const MutationRunPlan_base: S.Class<MutationRunPlan, S.TaggedStruct<"MutationRunPlan", {
|
|
150
|
-
readonly mutatePatterns: S.$Array<S.String
|
|
151
|
-
readonly mutatorNames: S.$Array<S.String
|
|
149
|
+
readonly mutatePatterns: S.$Array<S.String>;
|
|
150
|
+
readonly mutatorNames: S.$Array<S.String>;
|
|
152
151
|
}>, {}>;
|
|
153
152
|
declare class MutationRunPlan extends MutationRunPlan_base {}
|
|
154
153
|
declare namespace Run_d_exports {
|
package/dist/Run.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as RunTerminalEvent, S as RunStarted, _ as PlanKnown, b as RunFailed, c as shouldKeepTempDir, d as Location, f as ModeSignal, g as PhaseEntered, h as OutputMode, i as RunIdentityShape, l as Heartbeat, m as MutantTested, n as RunEvents, o as planMutationRun, p as MutantStatus, r as RunIdentity, s as runMutationTest, t as MutationRunIo, u as HelpRendered, v as Position, w as VerdictReached, x as RunPhase, y as RunEvent } from "./Run-
|
|
1
|
+
import { C as RunTerminalEvent, S as RunStarted, _ as PlanKnown, b as RunFailed, c as shouldKeepTempDir, d as Location, f as ModeSignal, g as PhaseEntered, h as OutputMode, i as RunIdentityShape, l as Heartbeat, m as MutantTested, n as RunEvents, o as planMutationRun, p as MutantStatus, r as RunIdentity, s as runMutationTest, t as MutationRunIo, u as HelpRendered, v as Position, w as VerdictReached, x as RunPhase, y as RunEvent } from "./Run-BUpNSmcM.mjs";
|
|
2
2
|
export { Heartbeat, HelpRendered, type Location, ModeSignal, MutantStatus, MutantTested, MutationRunIo, OutputMode, PhaseEntered, PlanKnown, type Position, RunEvent, type RunEvent as RunEventType, RunEvents, RunFailed, RunIdentity, RunIdentityShape, RunPhase, RunStarted, type RunTerminalEvent, VerdictReached, planMutationRun, runMutationTest, shouldKeepTempDir };
|
package/dist/Run.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.mjs";
|
|
2
|
-
import { a as MutantTested, c as PhaseEntered, d as RunEvent, f as RunFailed, g as VerdictReached, h as RunStarted, i as MutantStatus, l as PlanKnown, m as RunPhase, n as HelpRendered, o as MutationRunPlan, p as RunOutput, r as ModeSignal, s as OutputMode, t as Heartbeat, u as PlanMutationRunCommand } from "./Run.schema-
|
|
2
|
+
import { a as MutantTested, c as PhaseEntered, d as RunEvent, f as RunFailed, g as VerdictReached, h as RunStarted, i as MutantStatus, l as PlanKnown, m as RunPhase, n as HelpRendered, o as MutationRunPlan, p as RunOutput, r as ModeSignal, s as OutputMode, t as Heartbeat, u as PlanMutationRunCommand } from "./Run.schema-DZve3k2m.mjs";
|
|
3
3
|
import * as Context from "effect/Context";
|
|
4
4
|
import * as S from "effect/Schema";
|
|
5
5
|
import * as Effect from "effect/Effect";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as S from "effect/Schema";
|
|
2
|
-
import { Wire } from "@systemfsoftware/effect-cell-types";
|
|
3
2
|
//#region src/Run.schema.ts
|
|
4
3
|
const RunPhase = S.Literals([
|
|
5
4
|
"prepare",
|
|
@@ -25,84 +24,84 @@ const MutantStatus = S.Literals([
|
|
|
25
24
|
"Ignored",
|
|
26
25
|
"Pending"
|
|
27
26
|
]);
|
|
28
|
-
const Position =
|
|
29
|
-
line:
|
|
30
|
-
column:
|
|
27
|
+
const Position = S.Struct({
|
|
28
|
+
line: S.Finite,
|
|
29
|
+
column: S.Finite
|
|
31
30
|
});
|
|
32
|
-
const Location =
|
|
31
|
+
const Location = S.Struct({
|
|
33
32
|
start: Position,
|
|
34
33
|
end: Position
|
|
35
34
|
});
|
|
36
35
|
var RunStarted = class extends S.TaggedClass()("stream", {
|
|
37
|
-
schemaVersion:
|
|
38
|
-
runId:
|
|
36
|
+
schemaVersion: S.String,
|
|
37
|
+
runId: S.String,
|
|
39
38
|
mode: OutputMode,
|
|
40
39
|
signal: ModeSignal
|
|
41
40
|
}) {};
|
|
42
41
|
var PhaseEntered = class extends S.TaggedClass()("phase", {
|
|
43
42
|
phase: RunPhase,
|
|
44
|
-
elapsedMs:
|
|
43
|
+
elapsedMs: S.Finite
|
|
45
44
|
}) {};
|
|
46
|
-
var PlanKnown = class extends S.TaggedClass()("plan", { total:
|
|
45
|
+
var PlanKnown = class extends S.TaggedClass()("plan", { total: S.Finite }) {};
|
|
47
46
|
var MutantTested = class extends S.TaggedClass()("mutant", {
|
|
48
|
-
id:
|
|
47
|
+
id: S.String,
|
|
49
48
|
status: MutantStatus,
|
|
50
|
-
file:
|
|
49
|
+
file: S.String,
|
|
51
50
|
location: Location,
|
|
52
|
-
mutator:
|
|
53
|
-
replacement:
|
|
54
|
-
completed:
|
|
55
|
-
total:
|
|
51
|
+
mutator: S.String,
|
|
52
|
+
replacement: S.NullOr(S.String),
|
|
53
|
+
completed: S.Finite,
|
|
54
|
+
total: S.Finite
|
|
56
55
|
}) {};
|
|
57
56
|
var Heartbeat = class extends S.TaggedClass()("tick", {
|
|
58
|
-
elapsedMs:
|
|
59
|
-
completed:
|
|
60
|
-
total:
|
|
57
|
+
elapsedMs: S.Finite,
|
|
58
|
+
completed: S.Finite,
|
|
59
|
+
total: S.NullOr(S.Finite)
|
|
61
60
|
}) {};
|
|
62
|
-
const VerdictThresholds =
|
|
63
|
-
high:
|
|
64
|
-
low:
|
|
65
|
-
break:
|
|
61
|
+
const VerdictThresholds = S.Struct({
|
|
62
|
+
high: S.Finite,
|
|
63
|
+
low: S.Finite,
|
|
64
|
+
break: S.NullOr(S.Finite)
|
|
66
65
|
});
|
|
67
66
|
const VerdictMutant = S.Struct({
|
|
68
|
-
id:
|
|
69
|
-
file:
|
|
67
|
+
id: S.String,
|
|
68
|
+
file: S.String,
|
|
70
69
|
location: Location,
|
|
71
|
-
mutator:
|
|
72
|
-
replacement:
|
|
70
|
+
mutator: S.String,
|
|
71
|
+
replacement: S.NullOr(S.String),
|
|
73
72
|
status: MutantStatus
|
|
74
73
|
});
|
|
75
|
-
const VerdictCounts =
|
|
76
|
-
killed:
|
|
77
|
-
timeout:
|
|
78
|
-
survived:
|
|
79
|
-
noCoverage:
|
|
80
|
-
runtimeErrors:
|
|
81
|
-
compileErrors:
|
|
82
|
-
ignored:
|
|
83
|
-
pending:
|
|
74
|
+
const VerdictCounts = S.Struct({
|
|
75
|
+
killed: S.Finite,
|
|
76
|
+
timeout: S.Finite,
|
|
77
|
+
survived: S.Finite,
|
|
78
|
+
noCoverage: S.Finite,
|
|
79
|
+
runtimeErrors: S.Finite,
|
|
80
|
+
compileErrors: S.Finite,
|
|
81
|
+
ignored: S.Finite,
|
|
82
|
+
pending: S.Finite
|
|
84
83
|
});
|
|
85
84
|
var VerdictReached = class extends S.TaggedClass()("verdict", {
|
|
86
|
-
schemaVersion:
|
|
87
|
-
runId:
|
|
85
|
+
schemaVersion: S.String,
|
|
86
|
+
runId: S.String,
|
|
88
87
|
mode: OutputMode,
|
|
89
88
|
signal: ModeSignal,
|
|
90
|
-
score:
|
|
89
|
+
score: S.NullOr(S.Finite),
|
|
91
90
|
thresholds: VerdictThresholds,
|
|
92
|
-
reportFile:
|
|
91
|
+
reportFile: S.NullOr(S.String),
|
|
93
92
|
counts: VerdictCounts,
|
|
94
93
|
mutants: S.Array(VerdictMutant)
|
|
95
94
|
}) {};
|
|
96
95
|
var RunFailed = class extends S.TaggedClass()("error", {
|
|
97
|
-
schemaVersion:
|
|
98
|
-
code:
|
|
99
|
-
error:
|
|
100
|
-
remediation:
|
|
96
|
+
schemaVersion: S.String,
|
|
97
|
+
code: S.Finite,
|
|
98
|
+
error: S.String,
|
|
99
|
+
remediation: S.String
|
|
101
100
|
}) {};
|
|
102
101
|
var HelpRendered = class extends S.TaggedClass()("help", {
|
|
103
|
-
schemaVersion:
|
|
104
|
-
code:
|
|
105
|
-
help:
|
|
102
|
+
schemaVersion: S.String,
|
|
103
|
+
code: S.Literals([0]),
|
|
104
|
+
help: S.String
|
|
106
105
|
}) {};
|
|
107
106
|
const RunEvent = S.Union([
|
|
108
107
|
RunStarted,
|
|
@@ -126,14 +125,14 @@ S.TaggedError()("RunDecodeError", { message: S.String });
|
|
|
126
125
|
S.TaggedError()("RunReadError", { message: S.String });
|
|
127
126
|
S.TaggedError()("RunWriteError", { message: S.String });
|
|
128
127
|
var PlanMutationRunCommand = class extends S.TaggedClass()("PlanMutationRunCommand", {
|
|
129
|
-
configMutatePatterns:
|
|
130
|
-
configMutatorNames:
|
|
131
|
-
targetMutatePatterns:
|
|
132
|
-
availableMutators:
|
|
128
|
+
configMutatePatterns: S.Array(S.String),
|
|
129
|
+
configMutatorNames: S.Array(S.String),
|
|
130
|
+
targetMutatePatterns: S.Array(S.String),
|
|
131
|
+
availableMutators: S.Array(S.String)
|
|
133
132
|
}) {};
|
|
134
133
|
var MutationRunPlan = class extends S.TaggedClass()("MutationRunPlan", {
|
|
135
|
-
mutatePatterns:
|
|
136
|
-
mutatorNames:
|
|
134
|
+
mutatePatterns: S.Array(S.String),
|
|
135
|
+
mutatorNames: S.Array(S.String)
|
|
137
136
|
}) {};
|
|
138
137
|
//#endregion
|
|
139
138
|
export { MutantTested as a, PhaseEntered as c, RunEvent as d, RunFailed as f, VerdictReached as g, RunStarted as h, MutantStatus as i, PlanKnown as l, RunPhase as m, HelpRendered as n, MutationRunPlan as o, RunOutput as p, ModeSignal as r, OutputMode as s, Heartbeat as t, PlanMutationRunCommand as u };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as S from "effect/Schema";
|
|
2
|
-
import { Wire } from "@systemfsoftware/effect-cell-types";
|
|
3
2
|
//#region src/Schema.schema.d.ts
|
|
4
3
|
declare const LogLevel: S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>;
|
|
5
4
|
declare const CoverageAnalysisMode: S.Literals<readonly ["off", "all", "perTest"]>;
|
|
@@ -11,76 +10,76 @@ type CoverageAnalysisMode = typeof CoverageAnalysisMode.Type;
|
|
|
11
10
|
type ReportType = typeof ReportType.Type;
|
|
12
11
|
type PackageManager = typeof PackageManager.Type;
|
|
13
12
|
declare const StrykerOptionsSchema: S.StructWithRest<S.Struct<{
|
|
14
|
-
readonly allowConsoleColors: S.withDecodingDefaultKey<S.Boolean, never
|
|
15
|
-
readonly buildCommand: S.optional<S.String
|
|
16
|
-
readonly checkers: S.withDecodingDefaultKey<S.$Array<S.String
|
|
17
|
-
readonly checkerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String
|
|
18
|
-
readonly concurrency: S.optional<S.Union<readonly [S.Finite
|
|
13
|
+
readonly allowConsoleColors: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
14
|
+
readonly buildCommand: S.optional<S.String>;
|
|
15
|
+
readonly checkers: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
16
|
+
readonly checkerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
17
|
+
readonly concurrency: S.optional<S.Union<readonly [S.Finite, S.String]>>;
|
|
19
18
|
readonly commandRunner: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
|
|
20
|
-
readonly command: S.withDecodingDefaultKey<S.String, never
|
|
21
|
-
}
|
|
22
|
-
readonly coverageAnalysis: S.withDecodingDefaultKey<S.Literals<readonly ["off", "all", "perTest"]>, never
|
|
19
|
+
readonly command: S.withDecodingDefaultKey<S.String, never>;
|
|
20
|
+
}>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
|
|
21
|
+
readonly coverageAnalysis: S.withDecodingDefaultKey<S.Literals<readonly ["off", "all", "perTest"]>, never>;
|
|
23
22
|
readonly clearTextReporter: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
|
|
24
|
-
readonly allowColor: S.withDecodingDefaultKey<S.Boolean, never
|
|
25
|
-
readonly allowEmojis: S.withDecodingDefaultKey<S.Boolean, never
|
|
26
|
-
readonly logTests: S.withDecodingDefaultKey<S.Boolean, never
|
|
27
|
-
readonly maxTestsToLog: S.withDecodingDefaultKey<S.Finite, never
|
|
28
|
-
readonly reportTests: S.withDecodingDefaultKey<S.Boolean, never
|
|
29
|
-
readonly reportMutants: S.withDecodingDefaultKey<S.Boolean, never
|
|
30
|
-
readonly reportScoreTable: S.withDecodingDefaultKey<S.Boolean, never
|
|
31
|
-
readonly skipFull: S.withDecodingDefaultKey<S.Boolean, never
|
|
32
|
-
}
|
|
33
|
-
readonly dryRunOnly: S.withDecodingDefaultKey<S.Boolean, never
|
|
34
|
-
readonly ignorePatterns: S.withDecodingDefaultKey<S.$Array<S.String
|
|
35
|
-
readonly ignoreStatic: S.withDecodingDefaultKey<S.Boolean, never
|
|
36
|
-
readonly incremental: S.withDecodingDefaultKey<S.Boolean, never
|
|
37
|
-
readonly incrementalFile: S.withDecodingDefaultKey<S.String, never
|
|
38
|
-
readonly progressStreamFile: S.withDecodingDefaultKey<S.String, never
|
|
39
|
-
readonly force: S.withDecodingDefaultKey<S.Boolean, never
|
|
40
|
-
readonly fileLogLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never
|
|
41
|
-
readonly inPlace: S.withDecodingDefaultKey<S.Boolean, never
|
|
42
|
-
readonly logLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never
|
|
43
|
-
readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.Finite, never
|
|
44
|
-
readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.Finite, never
|
|
45
|
-
readonly mutate: S.withDecodingDefaultKey<S.$Array<S.String
|
|
23
|
+
readonly allowColor: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
24
|
+
readonly allowEmojis: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
25
|
+
readonly logTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
26
|
+
readonly maxTestsToLog: S.withDecodingDefaultKey<S.Finite, never>;
|
|
27
|
+
readonly reportTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
28
|
+
readonly reportMutants: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
29
|
+
readonly reportScoreTable: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
30
|
+
readonly skipFull: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
31
|
+
}>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
|
|
32
|
+
readonly dryRunOnly: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
33
|
+
readonly ignorePatterns: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
34
|
+
readonly ignoreStatic: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
35
|
+
readonly incremental: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
36
|
+
readonly incrementalFile: S.withDecodingDefaultKey<S.String, never>;
|
|
37
|
+
readonly progressStreamFile: S.withDecodingDefaultKey<S.String, never>;
|
|
38
|
+
readonly force: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
39
|
+
readonly fileLogLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
40
|
+
readonly inPlace: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
41
|
+
readonly logLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
42
|
+
readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.Finite, never>;
|
|
43
|
+
readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.Finite, never>;
|
|
44
|
+
readonly mutate: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
46
45
|
readonly mutator: S.withDecodingDefaultKey<S.Struct<{
|
|
47
|
-
excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String
|
|
48
|
-
}>, never
|
|
46
|
+
readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
47
|
+
}>, never>;
|
|
49
48
|
readonly packageManager: S.optional<S.Literals<readonly ["npm", "yarn", "pnpm"]>>;
|
|
50
|
-
readonly plugins: S.withDecodingDefaultKey<S.$Array<S.String
|
|
51
|
-
readonly appendPlugins: S.withDecodingDefaultKey<S.$Array<S.String
|
|
52
|
-
readonly reporters: S.withDecodingDefaultKey<S.$Array<S.String
|
|
49
|
+
readonly plugins: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
50
|
+
readonly appendPlugins: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
51
|
+
readonly reporters: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
53
52
|
readonly htmlReporter: S.withDecodingDefaultKey<S.Struct<{
|
|
54
|
-
fileName: S.withDecodingDefaultKey<S.String, never
|
|
55
|
-
}>, never
|
|
53
|
+
readonly fileName: S.withDecodingDefaultKey<S.String, never>;
|
|
54
|
+
}>, never>;
|
|
56
55
|
readonly jsonReporter: S.withDecodingDefaultKey<S.Struct<{
|
|
57
|
-
fileName: S.withDecodingDefaultKey<S.String, never
|
|
58
|
-
}>, never
|
|
59
|
-
readonly disableTypeChecks: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean
|
|
60
|
-
readonly symlinkNodeModules: S.withDecodingDefaultKey<S.Boolean, never
|
|
61
|
-
readonly tempDirName: S.withDecodingDefaultKey<S.String, never
|
|
62
|
-
readonly cleanTempDir: S.withDecodingDefaultKey<S.Literals<readonly ["always", false, true]>, never
|
|
63
|
-
readonly testRunner: S.withDecodingDefaultKey<S.String, never
|
|
64
|
-
readonly testRunnerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String
|
|
56
|
+
readonly fileName: S.withDecodingDefaultKey<S.String, never>;
|
|
57
|
+
}>, never>;
|
|
58
|
+
readonly disableTypeChecks: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.String]>, never>;
|
|
59
|
+
readonly symlinkNodeModules: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
60
|
+
readonly tempDirName: S.withDecodingDefaultKey<S.String, never>;
|
|
61
|
+
readonly cleanTempDir: S.withDecodingDefaultKey<S.Literals<readonly ["always", false, true]>, never>;
|
|
62
|
+
readonly testRunner: S.withDecodingDefaultKey<S.String, never>;
|
|
63
|
+
readonly testRunnerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
65
64
|
readonly thresholds: S.withDecodingDefaultKey<S.Struct<{
|
|
66
|
-
readonly high: S.withDecodingDefaultKey<S.Finite, never
|
|
67
|
-
readonly low: S.withDecodingDefaultKey<S.Finite, never
|
|
68
|
-
readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite
|
|
69
|
-
}>, never
|
|
70
|
-
readonly timeoutFactor: S.withDecodingDefaultKey<S.Finite, never
|
|
71
|
-
readonly timeoutMS: S.withDecodingDefaultKey<S.Finite, never
|
|
72
|
-
readonly dryRunTimeoutMinutes: S.withDecodingDefaultKey<S.Finite, never
|
|
73
|
-
readonly tsconfigFile: S.withDecodingDefaultKey<S.String, never
|
|
74
|
-
readonly warnings: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean
|
|
75
|
-
readonly unknownOptions: S.withDecodingDefaultKey<S.Boolean, never
|
|
76
|
-
readonly preprocessorErrors: S.withDecodingDefaultKey<S.Boolean, never
|
|
77
|
-
readonly unserializableOptions: S.withDecodingDefaultKey<S.Boolean, never
|
|
78
|
-
readonly slow: S.withDecodingDefaultKey<S.Boolean, never
|
|
79
|
-
}
|
|
80
|
-
readonly disableBail: S.withDecodingDefaultKey<S.Boolean, never
|
|
81
|
-
readonly allowEmpty: S.withDecodingDefaultKey<S.Boolean, never
|
|
82
|
-
readonly ignorers: S.withDecodingDefaultKey<S.$Array<S.String
|
|
83
|
-
readonly testFiles: S.withDecodingDefaultKey<S.$Array<S.String
|
|
65
|
+
readonly high: S.withDecodingDefaultKey<S.Finite, never>;
|
|
66
|
+
readonly low: S.withDecodingDefaultKey<S.Finite, never>;
|
|
67
|
+
readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite>, never>;
|
|
68
|
+
}>, never>;
|
|
69
|
+
readonly timeoutFactor: S.withDecodingDefaultKey<S.Finite, never>;
|
|
70
|
+
readonly timeoutMS: S.withDecodingDefaultKey<S.Finite, never>;
|
|
71
|
+
readonly dryRunTimeoutMinutes: S.withDecodingDefaultKey<S.Finite, never>;
|
|
72
|
+
readonly tsconfigFile: S.withDecodingDefaultKey<S.String, never>;
|
|
73
|
+
readonly warnings: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.StructWithRest<S.Struct<{
|
|
74
|
+
readonly unknownOptions: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
75
|
+
readonly preprocessorErrors: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
76
|
+
readonly unserializableOptions: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
77
|
+
readonly slow: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
78
|
+
}>, readonly [S.$Record<S.String, S.Unknown>]>]>, never>;
|
|
79
|
+
readonly disableBail: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
80
|
+
readonly allowEmpty: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
81
|
+
readonly ignorers: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
82
|
+
readonly testFiles: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
84
83
|
}>, readonly [S.$Record<S.String, S.Unknown>]>;
|
|
85
84
|
/** The decoded type: every defaulted option is present. */
|
|
86
85
|
type StrykerOptions = S.Schema.Type<typeof StrykerOptionsSchema>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.mjs";
|
|
2
2
|
import * as S from "effect/Schema";
|
|
3
|
-
import { Wire } from "@systemfsoftware/effect-cell-types";
|
|
4
3
|
import { Effect } from "effect";
|
|
5
4
|
//#region src/Schema.schema.ts
|
|
6
5
|
const RENDERED_OPTION_DEFAULTS$1 = {
|
|
@@ -34,7 +33,7 @@ const RENDERED_OPTION_DEFAULTS$1 = {
|
|
|
34
33
|
* separate engine that happened not to inject them.
|
|
35
34
|
*/
|
|
36
35
|
/** Open object: fixed fields plus an index signature accepting arbitrary plugin keys. */
|
|
37
|
-
const openStruct = (fields) =>
|
|
36
|
+
const openStruct = (fields) => S.StructWithRest(S.Struct(fields), [S.Record(S.String, S.Unknown)]);
|
|
38
37
|
/**
|
|
39
38
|
* Field that decodes to a value but defaults when the key is absent.
|
|
40
39
|
*
|
|
@@ -50,8 +49,7 @@ const openStruct = (fields) => Wire.mint(S.StructWithRest(Wire.wire(fields), [Wi
|
|
|
50
49
|
*/
|
|
51
50
|
const defaulted = (schema, defaultValue) => {
|
|
52
51
|
const annotated = schema.annotate({ default: defaultValue });
|
|
53
|
-
|
|
54
|
-
return Wire.mint(withDefault);
|
|
52
|
+
return S.withDecodingDefaultKey(Effect.succeed(defaultValue))(annotated);
|
|
55
53
|
};
|
|
56
54
|
const LogLevel = S.Literals([
|
|
57
55
|
"off",
|
|
@@ -74,43 +72,43 @@ const PackageManager = S.Literals([
|
|
|
74
72
|
"pnpm"
|
|
75
73
|
]);
|
|
76
74
|
/** 0–100 percentage used by the mutation-score thresholds. */
|
|
77
|
-
const Percentage =
|
|
75
|
+
const Percentage = S.Finite.pipe(S.check(S.isBetween({
|
|
78
76
|
minimum: 0,
|
|
79
77
|
maximum: 100
|
|
80
|
-
})))
|
|
81
|
-
const CommandRunnerOptionsSchema = openStruct({ command: defaulted(
|
|
78
|
+
})));
|
|
79
|
+
const CommandRunnerOptionsSchema = openStruct({ command: defaulted(S.String, "npm test") });
|
|
82
80
|
const ClearTextReporterOptions = openStruct({
|
|
83
|
-
allowColor: defaulted(
|
|
84
|
-
allowEmojis: defaulted(
|
|
85
|
-
logTests: defaulted(
|
|
86
|
-
maxTestsToLog: defaulted(
|
|
87
|
-
reportTests: defaulted(
|
|
88
|
-
reportMutants: defaulted(
|
|
89
|
-
reportScoreTable: defaulted(
|
|
90
|
-
skipFull: defaulted(
|
|
81
|
+
allowColor: defaulted(S.Boolean, true),
|
|
82
|
+
allowEmojis: defaulted(S.Boolean, false),
|
|
83
|
+
logTests: defaulted(S.Boolean, true),
|
|
84
|
+
maxTestsToLog: defaulted(S.Finite.pipe(S.check(S.isGreaterThanOrEqualTo(0))), 3),
|
|
85
|
+
reportTests: defaulted(S.Boolean, true),
|
|
86
|
+
reportMutants: defaulted(S.Boolean, true),
|
|
87
|
+
reportScoreTable: defaulted(S.Boolean, true),
|
|
88
|
+
skipFull: defaulted(S.Boolean, false)
|
|
91
89
|
});
|
|
92
|
-
const HtmlReporterOptions =
|
|
93
|
-
const JsonReporterOptions =
|
|
90
|
+
const HtmlReporterOptions = S.Struct({ fileName: defaulted(S.String, "reports/mutation/mutation.html") });
|
|
91
|
+
const JsonReporterOptions = S.Struct({ fileName: defaulted(S.String, "reports/mutation/mutation.json") });
|
|
94
92
|
const MutationScoreThresholdsSchema = S.Struct({
|
|
95
93
|
high: defaulted(Percentage, 80),
|
|
96
94
|
low: defaulted(Percentage, 60),
|
|
97
95
|
break: defaulted(S.NullOr(Percentage), null)
|
|
98
96
|
});
|
|
99
|
-
const MutatorDescriptor =
|
|
97
|
+
const MutatorDescriptor = S.Struct({ excludedMutations: defaulted(S.Array(S.String), []) });
|
|
100
98
|
const WarningOptions = openStruct({
|
|
101
|
-
unknownOptions: defaulted(
|
|
102
|
-
preprocessorErrors: defaulted(
|
|
103
|
-
unserializableOptions: defaulted(
|
|
104
|
-
slow: defaulted(
|
|
99
|
+
unknownOptions: defaulted(S.Boolean, true),
|
|
100
|
+
preprocessorErrors: defaulted(S.Boolean, true),
|
|
101
|
+
unserializableOptions: defaulted(S.Boolean, true),
|
|
102
|
+
slow: defaulted(S.Boolean, true)
|
|
105
103
|
});
|
|
106
|
-
const ConcurrencyCount =
|
|
107
|
-
const ConcurrencyPercent =
|
|
104
|
+
const ConcurrencyCount = S.Finite.pipe(S.check(S.isGreaterThanOrEqualTo(1)));
|
|
105
|
+
const ConcurrencyPercent = S.String.pipe(S.check(S.isPattern(/^(100|[1-9]?[0-9])%$/)));
|
|
108
106
|
const StrykerOptionsSchema = S.StructWithRest(S.Struct({
|
|
109
|
-
allowConsoleColors: defaulted(
|
|
110
|
-
buildCommand: S.optional(
|
|
111
|
-
checkers: defaulted(
|
|
112
|
-
checkerNodeArgs: defaulted(
|
|
113
|
-
concurrency: S.optional(
|
|
107
|
+
allowConsoleColors: defaulted(S.Boolean, true),
|
|
108
|
+
buildCommand: S.optional(S.String),
|
|
109
|
+
checkers: defaulted(S.Array(S.String), []),
|
|
110
|
+
checkerNodeArgs: defaulted(S.Array(S.String), []),
|
|
111
|
+
concurrency: S.optional(S.Union([ConcurrencyCount, ConcurrencyPercent])),
|
|
114
112
|
commandRunner: defaulted(CommandRunnerOptionsSchema, { command: "npm test" }),
|
|
115
113
|
coverageAnalysis: defaulted(CoverageAnalysisMode, RENDERED_OPTION_DEFAULTS$1.coverageAnalysis),
|
|
116
114
|
clearTextReporter: defaulted(ClearTextReporterOptions, {
|
|
@@ -123,54 +121,54 @@ const StrykerOptionsSchema = S.StructWithRest(S.Struct({
|
|
|
123
121
|
reportScoreTable: true,
|
|
124
122
|
skipFull: false
|
|
125
123
|
}),
|
|
126
|
-
dryRunOnly: defaulted(
|
|
127
|
-
ignorePatterns: defaulted(
|
|
128
|
-
ignoreStatic: defaulted(
|
|
129
|
-
incremental: defaulted(
|
|
130
|
-
incrementalFile: defaulted(
|
|
131
|
-
progressStreamFile: defaulted(
|
|
132
|
-
force: defaulted(
|
|
124
|
+
dryRunOnly: defaulted(S.Boolean, false),
|
|
125
|
+
ignorePatterns: defaulted(S.Array(S.String), []),
|
|
126
|
+
ignoreStatic: defaulted(S.Boolean, false),
|
|
127
|
+
incremental: defaulted(S.Boolean, false),
|
|
128
|
+
incrementalFile: defaulted(S.String, "reports/stryker-incremental.json"),
|
|
129
|
+
progressStreamFile: defaulted(S.String, "reports/mutation-stream.jsonl"),
|
|
130
|
+
force: defaulted(S.Boolean, false),
|
|
133
131
|
fileLogLevel: defaulted(LogLevel, RENDERED_OPTION_DEFAULTS$1.fileLogLevel),
|
|
134
|
-
inPlace: defaulted(
|
|
132
|
+
inPlace: defaulted(S.Boolean, false),
|
|
135
133
|
logLevel: defaulted(LogLevel, RENDERED_OPTION_DEFAULTS$1.logLevel),
|
|
136
|
-
maxConcurrentTestRunners: defaulted(
|
|
137
|
-
maxTestRunnerReuse: defaulted(
|
|
138
|
-
mutate: defaulted(
|
|
134
|
+
maxConcurrentTestRunners: defaulted(S.Finite, 9007199254740991),
|
|
135
|
+
maxTestRunnerReuse: defaulted(S.Finite, 0),
|
|
136
|
+
mutate: defaulted(S.Array(S.String), ["{src,lib}/**/!(*.+(s|S)pec|*.+(t|T)est).+(cjs|mjs|js|ts|mts|cts|jsx|tsx|html|vue|svelte)", "!{src,lib}/**/__tests__/**/*.+(cjs|mjs|js|ts|mts|cts|jsx|tsx|html|vue|svelte)"]),
|
|
139
137
|
mutator: defaulted(MutatorDescriptor, { excludedMutations: [] }),
|
|
140
138
|
packageManager: S.optional(PackageManager),
|
|
141
|
-
plugins: defaulted(
|
|
142
|
-
appendPlugins: defaulted(
|
|
143
|
-
reporters: defaulted(
|
|
139
|
+
plugins: defaulted(S.Array(S.String), ["@systemfsoftware/stryker-js-*"]),
|
|
140
|
+
appendPlugins: defaulted(S.Array(S.String), []),
|
|
141
|
+
reporters: defaulted(S.Array(S.String), [
|
|
144
142
|
"clear-text",
|
|
145
143
|
"progress",
|
|
146
144
|
"html"
|
|
147
145
|
]),
|
|
148
146
|
htmlReporter: defaulted(HtmlReporterOptions, { fileName: "reports/mutation/mutation.html" }),
|
|
149
147
|
jsonReporter: defaulted(JsonReporterOptions, { fileName: "reports/mutation/mutation.json" }),
|
|
150
|
-
disableTypeChecks: defaulted(
|
|
151
|
-
symlinkNodeModules: defaulted(
|
|
152
|
-
tempDirName: defaulted(
|
|
148
|
+
disableTypeChecks: defaulted(S.Union([S.Boolean, S.String]), true),
|
|
149
|
+
symlinkNodeModules: defaulted(S.Boolean, true),
|
|
150
|
+
tempDirName: defaulted(S.String, RENDERED_OPTION_DEFAULTS$1.tempDirName),
|
|
153
151
|
cleanTempDir: defaulted(S.Literals([
|
|
154
152
|
"always",
|
|
155
153
|
false,
|
|
156
154
|
true
|
|
157
155
|
]), true),
|
|
158
|
-
testRunner: defaulted(
|
|
159
|
-
testRunnerNodeArgs: defaulted(
|
|
156
|
+
testRunner: defaulted(S.String, "command"),
|
|
157
|
+
testRunnerNodeArgs: defaulted(S.Array(S.String), []),
|
|
160
158
|
thresholds: defaulted(MutationScoreThresholdsSchema, {
|
|
161
159
|
high: 80,
|
|
162
160
|
low: 60,
|
|
163
161
|
break: null
|
|
164
162
|
}),
|
|
165
|
-
timeoutFactor: defaulted(
|
|
166
|
-
timeoutMS: defaulted(
|
|
167
|
-
dryRunTimeoutMinutes: defaulted(
|
|
168
|
-
tsconfigFile: defaulted(
|
|
169
|
-
warnings: defaulted(
|
|
170
|
-
disableBail: defaulted(
|
|
171
|
-
allowEmpty: defaulted(
|
|
172
|
-
ignorers: defaulted(
|
|
173
|
-
testFiles: defaulted(
|
|
163
|
+
timeoutFactor: defaulted(S.Finite, 1.5),
|
|
164
|
+
timeoutMS: defaulted(S.Finite, 5e3),
|
|
165
|
+
dryRunTimeoutMinutes: defaulted(S.Finite.pipe(S.check(S.isGreaterThanOrEqualTo(0))), 5),
|
|
166
|
+
tsconfigFile: defaulted(S.String, "tsconfig.json"),
|
|
167
|
+
warnings: defaulted(S.Union([S.Boolean, WarningOptions]), true),
|
|
168
|
+
disableBail: defaulted(S.Boolean, false),
|
|
169
|
+
allowEmpty: defaulted(S.Boolean, false),
|
|
170
|
+
ignorers: defaulted(S.Array(S.String), []),
|
|
171
|
+
testFiles: defaulted(S.Array(S.String), [])
|
|
174
172
|
}), [S.Record(S.String, S.Unknown)]);
|
|
175
173
|
//#endregion
|
|
176
174
|
//#region src/Schema.ts
|
package/dist/Schema.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as strykerReportBugUrl, d as PackageManager, f as PartialStrykerOptions, h as StrykerOptionsSchema, i as RENDERED_OPTION_DEFAULTS, l as CoverageAnalysisMode, m as StrykerOptions, n as Primitive, o as propertyPath, p as ReportType, r as PropertyPathOverloads, s as strykerCoreSchema, t as KnownKeys, u as LogLevel } from "./Schema-
|
|
1
|
+
import { c as strykerReportBugUrl, d as PackageManager, f as PartialStrykerOptions, h as StrykerOptionsSchema, i as RENDERED_OPTION_DEFAULTS, l as CoverageAnalysisMode, m as StrykerOptions, n as Primitive, o as propertyPath, p as ReportType, r as PropertyPathOverloads, s as strykerCoreSchema, t as KnownKeys, u as LogLevel } from "./Schema-4oCWQ0P0.mjs";
|
|
2
2
|
export { CoverageAnalysisMode, type CoverageAnalysisMode as CoverageAnalysisModeType, KnownKeys, LogLevel, type LogLevel as LogLevelType, PackageManager, type PackageManager as PackageManagerType, type PartialStrykerOptions, Primitive, PropertyPathOverloads, RENDERED_OPTION_DEFAULTS, ReportType, type ReportType as ReportTypeType, type StrykerOptions, StrykerOptionsSchema, propertyPath, strykerCoreSchema, strykerReportBugUrl };
|
package/dist/Schema.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as strykerReportBugUrl, c as PackageManager, i as strykerCoreSchema, l as ReportType, o as CoverageAnalysisMode, r as propertyPath, s as LogLevel, t as RENDERED_OPTION_DEFAULTS, u as StrykerOptionsSchema } from "./Schema-
|
|
1
|
+
import { a as strykerReportBugUrl, c as PackageManager, i as strykerCoreSchema, l as ReportType, o as CoverageAnalysisMode, r as propertyPath, s as LogLevel, t as RENDERED_OPTION_DEFAULTS, u as StrykerOptionsSchema } from "./Schema-CMKdWMUN.mjs";
|
|
2
2
|
export { CoverageAnalysisMode, LogLevel, PackageManager, RENDERED_OPTION_DEFAULTS, ReportType, StrykerOptionsSchema, propertyPath, strykerCoreSchema, strykerReportBugUrl };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as Checker_d_exports } from "./Checker-A8o5B3Ub.mjs";
|
|
2
2
|
import { X as TestRunner_d_exports, v as Mutant_d_exports } from "./Mutant-Ci25PsWA.mjs";
|
|
3
3
|
import { r as Ignorer_d_exports } from "./Ignorer-BUY68FZQ.mjs";
|
|
4
|
-
import { a as Schema_d_exports } from "./Schema-
|
|
5
|
-
import { s as Plugin_d_exports } from "./Plugin-
|
|
6
|
-
import { n as Reporter_d_exports } from "./Reporter-
|
|
7
|
-
import { a as Run_d_exports } from "./Run-
|
|
4
|
+
import { a as Schema_d_exports } from "./Schema-4oCWQ0P0.mjs";
|
|
5
|
+
import { s as Plugin_d_exports } from "./Plugin-BtItMchw.mjs";
|
|
6
|
+
import { n as Reporter_d_exports } from "./Reporter-C7ysGxqX.mjs";
|
|
7
|
+
import { a as Run_d_exports } from "./Run-BUpNSmcM.mjs";
|
|
8
8
|
export { Checker_d_exports as Checker, Ignorer_d_exports as Ignorer, Mutant_d_exports as Mutant, Plugin_d_exports as Plugin, Reporter_d_exports as Reporter, Run_d_exports as Run, Schema_d_exports as Schema, TestRunner_d_exports as TestRunner };
|
package/dist/index.mjs
CHANGED
|
@@ -4,6 +4,6 @@ import { t as Mutant_exports } from "./Mutant.mjs";
|
|
|
4
4
|
import { t as Plugin_exports } from "./Plugin-DXFdJP1l.mjs";
|
|
5
5
|
import { n as Reporter_exports } from "./Reporter-BWTwlSJf.mjs";
|
|
6
6
|
import { t as Run_exports } from "./Run.mjs";
|
|
7
|
-
import { n as Schema_exports } from "./Schema-
|
|
7
|
+
import { n as Schema_exports } from "./Schema-CMKdWMUN.mjs";
|
|
8
8
|
import { t as TestRunner_exports } from "./TestRunner.mjs";
|
|
9
9
|
export { Checker_exports as Checker, Ignorer_exports as Ignorer, Mutant_exports as Mutant, Plugin_exports as Plugin, Reporter_exports as Reporter, Run_exports as Run, Schema_exports as Schema, TestRunner_exports as TestRunner };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@systemfsoftware/stryker-js",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/systemfsoftware/systemfsoftware.git",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"effect": "4.0.0-rc.112",
|
|
22
|
-
"@systemfsoftware/effect-cell-types": "^
|
|
22
|
+
"@systemfsoftware/effect-cell-types": "^7.0.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@effect/vitest": "4.0.0-rc.112",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"typescript": "^7",
|
|
33
33
|
"vitest": "^4",
|
|
34
34
|
"@systemfsoftware/all": "^2.0.0",
|
|
35
|
-
"@systemfsoftware/effect-schema-law": "^2.0
|
|
36
|
-
"@systemfsoftware/vitest-config": "^0.1.0",
|
|
35
|
+
"@systemfsoftware/effect-schema-law": "^2.1.0",
|
|
37
36
|
"@systemfsoftware/tsconfig": "^1.3.3",
|
|
38
|
-
"@systemfsoftware/
|
|
37
|
+
"@systemfsoftware/vitest-config": "^0.1.0",
|
|
38
|
+
"@systemfsoftware/effect-schema-vite": "^2.1.0"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public",
|