@systemfsoftware/stryker-js 12.1.1 → 13.1.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 +77 -0
- package/dist/{Run.schema-D7N2ILY3.d.mts → Run.schema-BwLLAYqu.d.mts} +139 -61
- package/dist/Run.schema-Cv2_Kup0.mjs +272 -0
- package/dist/{RunEnvironment.service-6aDpmGcD.d.mts → RunEnvironment.service-rkMZ8nm1.d.mts} +130 -64
- package/dist/config.d.mts +3 -9
- package/dist/config.mjs +1 -1
- package/dist/{Run.schema-BaK_pxuK.mjs → dist-CQ7r4AaH.mjs} +1589 -1721
- package/dist/events.d.mts +2 -2
- package/dist/events.mjs +2 -2
- package/dist/{index-B8dqrKV1.d.mts → index-Ptvmn934.d.mts} +713 -376
- package/dist/index.d.mts +175 -192
- package/dist/index.mjs +6 -5
- package/dist/main.mjs +38131 -34435
- package/dist/{stryker-config.schema-DFWkz89S.d.mts → merge-config-BVdwN_LJ.d.mts} +9 -2
- package/dist/merge-config-DZHwEkGY.mjs +63 -0
- package/dist/promises.d.mts +3 -3
- package/dist/promises.mjs +4 -7
- package/dist/{run-stages.cell-CtFLJCm0.mjs → run-stages.cell-rdoY0cVH.mjs} +3479 -3343
- package/package.json +15 -16
- package/dist/merge-config-ByZJPeQZ.mjs +0 -32
package/dist/{RunEnvironment.service-6aDpmGcD.d.mts → RunEnvironment.service-rkMZ8nm1.d.mts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as mod_d_exports$5, c as mod_d_exports$2, d as Ignorer,
|
|
2
|
-
import {
|
|
1
|
+
import { a as mod_d_exports$5, c as mod_d_exports$2, d as Ignorer, l as mod_d_exports$3$1, n as mod_d_exports$2$1, o as mod_d_exports$6, r as mod_d_exports$3, s as mod_d_exports$1, t as mod_d_exports, u as Framework } from "./index-Ptvmn934.mjs";
|
|
2
|
+
import { C as RunMutantTested, E as RunStarted, M as VerdictReached, S as RunId, b as RunEvent, c as FormatRegistryResolved, f as Heartbeat, g as PlanKnown, h as PhaseEntered, k as SkippedReported, o as ResolvedMode, p as HelpRendered, v as PluginsReported, x as RunFailed } from "./Run.schema-BwLLAYqu.mjs";
|
|
3
3
|
import { Cell, Handle, Sandwich, Workflow } from "@systemfsoftware/effect-cell-types";
|
|
4
4
|
import "effect/Option";
|
|
5
5
|
import "effect/Result";
|
|
@@ -7,26 +7,25 @@ import * as S from "effect/Schema";
|
|
|
7
7
|
import * as Effect$1 from "effect/Effect";
|
|
8
8
|
import * as Context from "effect/Context";
|
|
9
9
|
import { Schema } from "effect";
|
|
10
|
-
import "effect/Exit";
|
|
11
10
|
import * as RpcGroup from "effect/unstable/rpc/RpcGroup";
|
|
12
11
|
import * as Cause from "effect/Cause";
|
|
13
|
-
import * as Path from "effect/Path";
|
|
14
12
|
import * as FileSystem from "effect/FileSystem";
|
|
13
|
+
import * as Path from "effect/Path";
|
|
15
14
|
import * as Stream from "effect/Stream";
|
|
16
|
-
import * as ChildProcessSpawner from "effect/unstable/process/ChildProcessSpawner";
|
|
17
|
-
import * as EffectDuration from "effect/Duration";
|
|
18
15
|
import * as Layer from "effect/Layer";
|
|
19
16
|
import * as Queue from "effect/Queue";
|
|
20
17
|
import * as Scope from "effect/Scope";
|
|
21
18
|
import * as HashMap from "effect/HashMap";
|
|
22
19
|
import * as MutableHashMap from "effect/MutableHashMap";
|
|
20
|
+
import * as EffectDuration from "effect/Duration";
|
|
23
21
|
import * as RpcClient from "effect/unstable/rpc/RpcClient";
|
|
24
22
|
import * as Stdio from "effect/Stdio";
|
|
25
|
-
import * as
|
|
23
|
+
import * as ChildProcessSpawner from "effect/unstable/process/ChildProcessSpawner";
|
|
26
24
|
import { RpcClientError } from "effect/unstable/rpc/RpcClientError";
|
|
27
25
|
import * as Socket from "effect/unstable/socket/Socket";
|
|
28
26
|
import { PlatformError } from "effect/PlatformError";
|
|
29
27
|
import "effect/Console";
|
|
28
|
+
import * as MutableHashSet from "effect/MutableHashSet";
|
|
30
29
|
import "effect/Runtime";
|
|
31
30
|
//#region src/Worker.schema.d.ts
|
|
32
31
|
/**
|
|
@@ -36,11 +35,9 @@ declare const WorkerExitTypeId: unique symbol;
|
|
|
36
35
|
type WorkerExitTypeId = typeof WorkerExitTypeId;
|
|
37
36
|
declare const ChildProcessCrashedError_base: Schema.Class<ChildProcessCrashedError, Schema.TaggedStruct<"ChildProcessCrashedError", {
|
|
38
37
|
readonly pid: Schema.Int;
|
|
39
|
-
readonly exit: Schema.Union<readonly [Schema.
|
|
40
|
-
readonly _tag: Schema.Literals<readonly ["Code"]>;
|
|
38
|
+
readonly exit: Schema.Union<readonly [Schema.TaggedStruct<"Code", {
|
|
41
39
|
readonly code: Schema.Int;
|
|
42
|
-
}>, Schema.
|
|
43
|
-
readonly _tag: Schema.Literals<readonly ["Signal"]>;
|
|
40
|
+
}>, Schema.TaggedStruct<"Signal", {
|
|
44
41
|
readonly signal: Schema.NonEmptyString;
|
|
45
42
|
}>]>;
|
|
46
43
|
readonly cause: Schema.optional<Schema.String>;
|
|
@@ -48,6 +45,7 @@ declare const ChildProcessCrashedError_base: Schema.Class<ChildProcessCrashedErr
|
|
|
48
45
|
declare class ChildProcessCrashedError extends ChildProcessCrashedError_base {
|
|
49
46
|
readonly [WorkerExitTypeId]: symbol;
|
|
50
47
|
readonly exitClass: 'InternalError';
|
|
48
|
+
get message(): string;
|
|
51
49
|
}
|
|
52
50
|
declare const OutOfMemoryError_base: Schema.Class<OutOfMemoryError, Schema.TaggedStruct<"OutOfMemoryError", {
|
|
53
51
|
readonly pid: Schema.Int;
|
|
@@ -56,6 +54,7 @@ declare const OutOfMemoryError_base: Schema.Class<OutOfMemoryError, Schema.Tagge
|
|
|
56
54
|
declare class OutOfMemoryError extends OutOfMemoryError_base {
|
|
57
55
|
readonly [WorkerExitTypeId]: symbol;
|
|
58
56
|
readonly exitClass: 'RuntimeError';
|
|
57
|
+
get message(): string;
|
|
59
58
|
}
|
|
60
59
|
type WorkerExit = ChildProcessCrashedError | OutOfMemoryError;
|
|
61
60
|
type WorkerBootError = WorkerExit | WorkerBootTimeoutError;
|
|
@@ -64,6 +63,7 @@ declare const WorkerBootTimeoutError_base: Schema.Class<WorkerBootTimeoutError,
|
|
|
64
63
|
}>, import("effect/Cause").YieldableError>;
|
|
65
64
|
declare class WorkerBootTimeoutError extends WorkerBootTimeoutError_base {
|
|
66
65
|
readonly exitClass: 'InternalError';
|
|
66
|
+
get message(): string;
|
|
67
67
|
}
|
|
68
68
|
//#endregion
|
|
69
69
|
//#region src/ConfigError.schema.d.ts
|
|
@@ -72,6 +72,7 @@ declare const ConfigFileNotFoundError_base: S.Class<ConfigFileNotFoundError, S.T
|
|
|
72
72
|
}>, import("effect/Cause").YieldableError>;
|
|
73
73
|
declare class ConfigFileNotFoundError extends ConfigFileNotFoundError_base {
|
|
74
74
|
readonly exitClass: 'ConfigError';
|
|
75
|
+
get message(): string;
|
|
75
76
|
}
|
|
76
77
|
declare const ConfigFileUnsupportedError_base: S.Class<ConfigFileUnsupportedError, S.TaggedStruct<"ConfigFileUnsupportedError", {
|
|
77
78
|
readonly file: S.String;
|
|
@@ -87,6 +88,7 @@ declare const ConfigFileUnreadableError_base: S.Class<ConfigFileUnreadableError,
|
|
|
87
88
|
}>, import("effect/Cause").YieldableError>;
|
|
88
89
|
declare class ConfigFileUnreadableError extends ConfigFileUnreadableError_base {
|
|
89
90
|
readonly exitClass: 'ConfigError';
|
|
91
|
+
get message(): string;
|
|
90
92
|
}
|
|
91
93
|
declare const ConfigFileInvalidError_base: S.Class<ConfigFileInvalidError, S.TaggedStruct<"ConfigFileInvalidError", {
|
|
92
94
|
readonly file: S.String;
|
|
@@ -94,6 +96,7 @@ declare const ConfigFileInvalidError_base: S.Class<ConfigFileInvalidError, S.Tag
|
|
|
94
96
|
}>, import("effect/Cause").YieldableError>;
|
|
95
97
|
declare class ConfigFileInvalidError extends ConfigFileInvalidError_base {
|
|
96
98
|
readonly exitClass: 'ConfigError';
|
|
99
|
+
get message(): string;
|
|
97
100
|
}
|
|
98
101
|
declare const ConfigError_base: S.Class<ConfigError, S.TaggedStruct<"ConfigError", {
|
|
99
102
|
readonly message: S.String;
|
|
@@ -102,27 +105,29 @@ declare class ConfigError extends ConfigError_base {
|
|
|
102
105
|
readonly exitClass: 'ConfigError';
|
|
103
106
|
}
|
|
104
107
|
//#endregion
|
|
105
|
-
//#region src/
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
interface
|
|
116
|
-
readonly
|
|
117
|
-
readonly
|
|
118
|
-
readonly stdoutIsTTY: boolean;
|
|
108
|
+
//#region src/stryker-error.schema.d.ts
|
|
109
|
+
declare const StrykerError_base: Schema.Class<StrykerError, Schema.TaggedStruct<"StrykerError", {
|
|
110
|
+
readonly message: Schema.String;
|
|
111
|
+
readonly cause: Schema.optional<Schema.Unknown>;
|
|
112
|
+
}>, import("effect/Cause").YieldableError>;
|
|
113
|
+
declare class StrykerError extends StrykerError_base {}
|
|
114
|
+
//#endregion
|
|
115
|
+
//#region src/run-events.service.d.ts
|
|
116
|
+
declare const RunEvents_base: Context.ServiceClass<RunEvents, "@systemfsoftware/stryker-js/run-events.service/RunEvents", Queue.Queue<FormatRegistryResolved | Heartbeat | HelpRendered | PhaseEntered | PlanKnown | PluginsReported | RunFailed | RunMutantTested | RunStarted | SkippedReported | VerdictReached, Cause.Done<void>>>;
|
|
117
|
+
declare class RunEvents extends RunEvents_base {}
|
|
118
|
+
interface RunIdentityShape {
|
|
119
|
+
readonly runId: string;
|
|
120
|
+
readonly basePath: string;
|
|
119
121
|
}
|
|
122
|
+
declare const RunIdentity_base: Context.ServiceClass<RunIdentity, "@systemfsoftware/stryker-js/run-events.service/RunIdentity", RunIdentityShape>;
|
|
123
|
+
declare class RunIdentity extends RunIdentity_base {}
|
|
120
124
|
//#endregion
|
|
121
125
|
//#region src/frame-run-event.workflow.d.ts
|
|
122
|
-
|
|
123
|
-
readonly mode:
|
|
124
|
-
readonly signal:
|
|
125
|
-
}
|
|
126
|
+
declare const ResolvedModeInput: S.Struct<{
|
|
127
|
+
readonly mode: S.Literals<readonly ["human", "machine"]>;
|
|
128
|
+
readonly signal: S.Literals<readonly ["flag", "env", "tty", "agent", "tool"]>;
|
|
129
|
+
}>;
|
|
130
|
+
type ResolvedModeInput = typeof ResolvedModeInput.Type;
|
|
126
131
|
//#endregion
|
|
127
132
|
//#region src/run-event-stream.service.d.ts
|
|
128
133
|
type FramedDrain = (framed: Stream.Stream<string, never, never>, toStdout: boolean) => Effect$1.Effect<void, never, never>;
|
|
@@ -139,16 +144,19 @@ declare class RunEventDrain extends RunEventDrain_base {
|
|
|
139
144
|
declare const RunEventDrainLive: Layer.Layer<RunEventDrain, never, Stdio.Stdio>;
|
|
140
145
|
interface RunEventStream {
|
|
141
146
|
readonly queue: Queue.Queue<RunEvent, Cause.Done>;
|
|
142
|
-
readonly runId:
|
|
147
|
+
readonly runId: RunId;
|
|
143
148
|
readonly startedAt: number;
|
|
144
149
|
readonly isOpen: Effect$1.Effect<boolean, never, never>;
|
|
145
150
|
readonly ensureOpen: (openResolved: ResolvedModeInput) => Effect$1.Effect<void, never, never>;
|
|
146
151
|
readonly open: Effect$1.Effect<void, never, never>;
|
|
147
152
|
readonly closeAndDrain: Effect$1.Effect<void, never, never>;
|
|
148
153
|
}
|
|
149
|
-
declare const makeRunEventStream: (resolved:
|
|
154
|
+
declare const makeRunEventStream: (resolved: {
|
|
155
|
+
readonly mode: "human" | "machine";
|
|
156
|
+
readonly signal: "agent" | "env" | "flag" | "tool" | "tty";
|
|
157
|
+
}) => Effect$1.Effect<{
|
|
150
158
|
queue: Queue.Queue<FormatRegistryResolved | Heartbeat | HelpRendered | PhaseEntered | PlanKnown | PluginsReported | RunFailed | RunMutantTested | RunStarted | SkippedReported | VerdictReached, Cause.Done<void>>;
|
|
151
|
-
runId: string
|
|
159
|
+
runId: string & import("effect/Brand").Brand<"RunId">;
|
|
152
160
|
startedAt: number;
|
|
153
161
|
isOpen: Effect$1.Effect<boolean, never, never>;
|
|
154
162
|
ensureOpen: (openResolved: ResolvedModeInput) => Effect$1.Effect<void, never, never>;
|
|
@@ -156,15 +164,83 @@ declare const makeRunEventStream: (resolved: ResolvedModeInput) => Effect$1.Effe
|
|
|
156
164
|
closeAndDrain: Effect$1.Effect<void, never, never>;
|
|
157
165
|
}, never, RunEventDrain | Stdio.Stdio>;
|
|
158
166
|
//#endregion
|
|
159
|
-
//#region src/
|
|
160
|
-
declare const
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
readonly
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
167
|
+
//#region src/IncrementalReport.schema.d.ts
|
|
168
|
+
declare const IncrementalReportSchema: S.StructWithRest<S.Struct<{
|
|
169
|
+
readonly incrementalVersion: S.String;
|
|
170
|
+
readonly schemaVersion: S.String;
|
|
171
|
+
readonly thresholds: S.Struct<{
|
|
172
|
+
readonly high: S.Finite;
|
|
173
|
+
readonly low: S.Finite;
|
|
174
|
+
}>;
|
|
175
|
+
readonly files: S.$Record<S.String, S.Struct<{
|
|
176
|
+
readonly language: S.String;
|
|
177
|
+
readonly source: S.String;
|
|
178
|
+
readonly mutants: S.$Array<S.Struct<{
|
|
179
|
+
readonly id: S.String;
|
|
180
|
+
readonly mutatorName: S.String;
|
|
181
|
+
readonly replacement: S.String;
|
|
182
|
+
readonly location: S.declare<{
|
|
183
|
+
readonly start: {
|
|
184
|
+
readonly line: number;
|
|
185
|
+
readonly column: number;
|
|
186
|
+
};
|
|
187
|
+
readonly end: {
|
|
188
|
+
readonly line: number;
|
|
189
|
+
readonly column: number;
|
|
190
|
+
};
|
|
191
|
+
}, {
|
|
192
|
+
readonly start: {
|
|
193
|
+
readonly line: number;
|
|
194
|
+
readonly column: number;
|
|
195
|
+
};
|
|
196
|
+
readonly end: {
|
|
197
|
+
readonly line: number;
|
|
198
|
+
readonly column: number;
|
|
199
|
+
};
|
|
200
|
+
}>;
|
|
201
|
+
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
202
|
+
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
203
|
+
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
204
|
+
readonly static: S.optional<S.Boolean>;
|
|
205
|
+
readonly statusReason: S.optional<S.String>;
|
|
206
|
+
readonly testsCompleted: S.optional<S.Finite>;
|
|
207
|
+
readonly description: S.optional<S.String>;
|
|
208
|
+
readonly duration: S.optional<S.Finite>;
|
|
209
|
+
}>>;
|
|
210
|
+
readonly formatIdentity: S.optional<S.Struct<{
|
|
211
|
+
readonly formatId: S.String;
|
|
212
|
+
readonly ownerModule: S.String;
|
|
213
|
+
readonly ownerVersion: S.String;
|
|
214
|
+
}>>;
|
|
215
|
+
}>>;
|
|
216
|
+
readonly testFiles: S.optional<S.$Record<S.String, S.Struct<{
|
|
217
|
+
readonly source: S.optional<S.String>;
|
|
218
|
+
readonly tests: S.$Array<S.Struct<{
|
|
219
|
+
readonly id: S.String;
|
|
220
|
+
readonly name: S.String;
|
|
221
|
+
readonly location: S.optional<S.declare<{
|
|
222
|
+
readonly start: {
|
|
223
|
+
readonly line: number;
|
|
224
|
+
readonly column: number;
|
|
225
|
+
};
|
|
226
|
+
readonly end?: {
|
|
227
|
+
readonly line: number;
|
|
228
|
+
readonly column: number;
|
|
229
|
+
} | undefined;
|
|
230
|
+
}, {
|
|
231
|
+
readonly start: {
|
|
232
|
+
readonly line: number;
|
|
233
|
+
readonly column: number;
|
|
234
|
+
};
|
|
235
|
+
readonly end?: {
|
|
236
|
+
readonly line: number;
|
|
237
|
+
readonly column: number;
|
|
238
|
+
} | undefined;
|
|
239
|
+
}>>;
|
|
240
|
+
}>>;
|
|
241
|
+
}>>>;
|
|
242
|
+
}>, readonly [S.$Record<S.String, S.Unknown>]>;
|
|
243
|
+
type IncrementalReport = S.Schema.Type<typeof IncrementalReportSchema>;
|
|
168
244
|
//#endregion
|
|
169
245
|
//#region src/Project.schema.d.ts
|
|
170
246
|
interface ProjectFile extends mod_d_exports$2.FileDescription {
|
|
@@ -175,7 +251,7 @@ interface ProjectFile extends mod_d_exports$2.FileDescription {
|
|
|
175
251
|
}
|
|
176
252
|
interface Project {
|
|
177
253
|
readonly fileDescriptions: mod_d_exports$2.FileDescriptions;
|
|
178
|
-
readonly incrementalReport:
|
|
254
|
+
readonly incrementalReport: IncrementalReport | undefined;
|
|
179
255
|
readonly testFiles: readonly string[];
|
|
180
256
|
readonly files: MutableHashMap.MutableHashMap<string, ProjectFile>;
|
|
181
257
|
readonly filesToMutate: MutableHashMap.MutableHashMap<string, ProjectFile>;
|
|
@@ -259,18 +335,6 @@ interface SpawnReporterWorkerParams {
|
|
|
259
335
|
}
|
|
260
336
|
declare const spawnReporterWorker: (params: SpawnReporterWorkerParams) => Effect$1.Effect<ReporterWorkerClient, WorkerBootError, Scope.Scope | WorkerLauncher>;
|
|
261
337
|
//#endregion
|
|
262
|
-
//#region src/TestRunner.schema.d.ts
|
|
263
|
-
type PooledTestRunnerError = mod_d_exports$6.TestRunnerFailed | ChildProcessCrashedError | OutOfMemoryError;
|
|
264
|
-
//#endregion
|
|
265
|
-
//#region src/Worker.service.d.ts
|
|
266
|
-
interface IdGeneratorShape {
|
|
267
|
-
readonly next: Effect$1.Effect<number>;
|
|
268
|
-
}
|
|
269
|
-
declare const IdGenerator_base: Context.ServiceClass<IdGenerator, "@systemfsoftware/stryker-js/Worker.service/IdGenerator", IdGeneratorShape>;
|
|
270
|
-
declare class IdGenerator extends IdGenerator_base {
|
|
271
|
-
static readonly layer: Layer.Layer<IdGenerator, never, never>;
|
|
272
|
-
}
|
|
273
|
-
//#endregion
|
|
274
338
|
//#region src/test-coverage.schema.d.ts
|
|
275
339
|
interface TestCoverage {
|
|
276
340
|
readonly testsByMutantId: MutableHashMap.MutableHashMap<string, MutableHashSet.MutableHashSet<mod_d_exports$6.TestResult>>;
|
|
@@ -279,13 +343,6 @@ interface TestCoverage {
|
|
|
279
343
|
readonly hitsByMutantId: MutableHashMap.MutableHashMap<string, number>;
|
|
280
344
|
}
|
|
281
345
|
//#endregion
|
|
282
|
-
//#region src/stryker-error.schema.d.ts
|
|
283
|
-
declare const StrykerError_base: Schema.Class<StrykerError, Schema.TaggedStruct<"StrykerError", {
|
|
284
|
-
readonly message: Schema.String;
|
|
285
|
-
readonly cause: Schema.optional<Schema.Unknown>;
|
|
286
|
-
}>, import("effect/Cause").YieldableError>;
|
|
287
|
-
declare class StrykerError extends StrykerError_base {}
|
|
288
|
-
//#endregion
|
|
289
346
|
//#region src/Sandbox.handle.d.ts
|
|
290
347
|
declare const TypeId: unique symbol;
|
|
291
348
|
type TypeId = typeof TypeId;
|
|
@@ -299,7 +356,7 @@ declare const SandboxHandle: Handle.Definition<typeof TypeId, {
|
|
|
299
356
|
type SandboxHandle = Handle.Of<typeof SandboxHandle>;
|
|
300
357
|
//#endregion
|
|
301
358
|
//#region src/Plugins.schema.d.ts
|
|
302
|
-
type PluginKind = mod_d_exports$3.
|
|
359
|
+
type PluginKind = mod_d_exports$3.PluginKind;
|
|
303
360
|
interface WorkerPluginDescriptor<K extends mod_d_exports$3.WorkerPluginKind = mod_d_exports$3.WorkerPluginKind> {
|
|
304
361
|
readonly kind: K;
|
|
305
362
|
readonly name: string;
|
|
@@ -399,7 +456,7 @@ interface DryRunDone extends InstrumentDone {
|
|
|
399
456
|
readonly timeOverhead: EffectDuration.Duration;
|
|
400
457
|
}
|
|
401
458
|
//#endregion
|
|
402
|
-
//#region src/run/mutation-test.
|
|
459
|
+
//#region src/run/mutation-test.cell.d.ts
|
|
403
460
|
interface MutationTestDone {
|
|
404
461
|
readonly results: readonly mod_d_exports$3$1.RunMutantResult[];
|
|
405
462
|
readonly verdict: mod_d_exports$3.ExitClass | null;
|
|
@@ -428,6 +485,15 @@ declare class MutationReporting extends MutationReporting_base {
|
|
|
428
485
|
static readonly layer: Layer.Layer<MutationReporting, never, FileSystem.FileSystem | Path.Path | RunEvents | ProjectFiles>;
|
|
429
486
|
}
|
|
430
487
|
//#endregion
|
|
488
|
+
//#region src/Worker.service.d.ts
|
|
489
|
+
interface IdGeneratorShape {
|
|
490
|
+
readonly next: Effect$1.Effect<number>;
|
|
491
|
+
}
|
|
492
|
+
declare const IdGenerator_base: Context.ServiceClass<IdGenerator, "@systemfsoftware/stryker-js/Worker.service/IdGenerator", IdGeneratorShape>;
|
|
493
|
+
declare class IdGenerator extends IdGenerator_base {
|
|
494
|
+
static readonly layer: Layer.Layer<IdGenerator, never, never>;
|
|
495
|
+
}
|
|
496
|
+
//#endregion
|
|
431
497
|
//#region src/run/StageServices.service.d.ts
|
|
432
498
|
type StageServices = ChildProcessSpawner.ChildProcessSpawner | FileSystem.FileSystem | IdGenerator | MutationReporting | Path.Path | ProjectFiles | Reporter | RunEnvironment | RunEvents | Scope.Scope | Stdio.Stdio | WorkerLauncher;
|
|
433
499
|
type EnginePorts = ChildProcessSpawner.ChildProcessSpawner | FileSystem.FileSystem | Path.Path | Stdio.Stdio | WorkerLauncher;
|
|
@@ -461,4 +527,4 @@ declare class RunEnvironment extends RunEnvironment_base {
|
|
|
461
527
|
};
|
|
462
528
|
}
|
|
463
529
|
//#endregion
|
|
464
|
-
export {
|
|
530
|
+
export { ConfigFileNotFoundError as $, ReporterWorkerClient as A, ProjectFile as B, PluginSource as C, TestCoverage as D, SandboxHandle as E, WorkerLauncherShape as F, makeRunEventStream as G, RunEventDrain as H, WorkerSpawnParams as I, RunIdentity as J, ResolvedModeInput as K, SpawnedSocketWorker as L, reporterWorkerFactory as M, spawnReporterWorker as N, REPORTER_EVENT_BATCH_BOUND as O, WorkerLauncher as P, ConfigFileInvalidError as Q, make as R, PluginKind as S, WorkerPluginSource as T, RunEventDrainLive as U, IncrementalReportSchema as V, RunEventStream as W, StrykerError as X, RunIdentityShape as Y, ConfigError as Z, EvaluatorPluginDescriptor as _, StageServices as a, WorkerBootTimeoutError as at, PluginDescriptor as b, IdGeneratorShape as c, InstrumentDone as d, ConfigFileUnreadableError as et, PrepareDone as f, AnyWorkerPluginSource as g, AnyWorkerPluginDescriptor as h, RunStageServices as i, WorkerBootError as it, SpawnReporterWorkerParams as j, ReporterStage as k, MutationTestDone as l, AnyPluginDescriptor as m, RunEnvironmentShape as n, ChildProcessCrashedError as nt, WiredRunLayer as o, WorkerExit as ot, PrepareExecutorArgs as p, RunEvents as q, EnginePorts as r, OutOfMemoryError as rt, IdGenerator as s, RunEnvironment as t, ConfigFileUnsupportedError as tt, DryRunDone as u, EvaluatorPluginSource as v, WorkerPluginDescriptor as w, PluginDescriptorOf as x, LoadedPlugins as y, Project as z };
|
package/dist/config.d.mts
CHANGED
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
import { n as mod_d_exports$2 } from "./index-
|
|
2
|
-
import { a as
|
|
1
|
+
import { n as mod_d_exports$2 } from "./index-Ptvmn934.mjs";
|
|
2
|
+
import { a as ImmutablePrimitive, c as StrykerConfigExport, i as Immutable, l as StrykerConfigFn, o as Primitive, r as ConfigEnv, s as StrykerConfig, t as mergeConfig } from "./merge-config-BVdwN_LJ.mjs";
|
|
3
3
|
//#region src/config/define-config.d.ts
|
|
4
4
|
export declare function defineConfig(config: StrykerConfig): StrykerConfig;
|
|
5
5
|
export declare function defineConfig(config: Promise<StrykerConfig>): Promise<StrykerConfig>;
|
|
6
6
|
export declare function defineConfig(config: StrykerConfigFn): StrykerConfigFn;
|
|
7
7
|
export declare function defineConfig(config: StrykerConfigExport): StrykerConfigExport;
|
|
8
8
|
//#endregion
|
|
9
|
-
//#region src/config/merge-config.d.ts
|
|
10
|
-
export declare const mergeConfig: {
|
|
11
|
-
(overrides: StrykerConfig): (defaults: StrykerConfig) => StrykerConfig;
|
|
12
|
-
(defaults: StrykerConfig, overrides: StrykerConfig): StrykerConfig;
|
|
13
|
-
};
|
|
14
|
-
//#endregion
|
|
15
9
|
//#region src/config/mod.d.ts
|
|
16
10
|
export type PartialStrykerOptions = mod_d_exports$2.PartialStrykerOptions;
|
|
17
11
|
export type StrykerOptions = mod_d_exports$2.StrykerOptions;
|
|
18
12
|
//#endregion
|
|
19
|
-
export type
|
|
13
|
+
export { type ConfigEnv, type Immutable, type ImmutablePrimitive, type Primitive, type StrykerConfig, type StrykerConfigExport, type StrykerConfigFn, mergeConfig };
|
package/dist/config.mjs
CHANGED