@systemfsoftware/stryker-js 12.1.1 → 13.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 +65 -0
- package/dist/Run.schema-Bj7b_FMA.mjs +269 -0
- package/dist/{Run.schema-D7N2ILY3.d.mts → Run.schema-BlvpjFjJ.d.mts} +139 -61
- package/dist/{RunEnvironment.service-6aDpmGcD.d.mts → RunEnvironment.service-BJAsZsdn.d.mts} +124 -64
- package/dist/config.d.mts +3 -9
- package/dist/config.mjs +1 -1
- package/dist/{Run.schema-BaK_pxuK.mjs → dist-BscHZmXN.mjs} +1176 -1361
- package/dist/events.d.mts +2 -2
- package/dist/events.mjs +2 -2
- package/dist/{index-B8dqrKV1.d.mts → index-C09A80iv.d.mts} +698 -371
- package/dist/index.d.mts +169 -190
- package/dist/index.mjs +6 -5
- package/dist/main.mjs +30943 -27455
- package/dist/merge-config-DA_v1hGx.mjs +63 -0
- package/dist/{stryker-config.schema-DFWkz89S.d.mts → merge-config-X_AxYxMY.d.mts} +9 -2
- package/dist/promises.d.mts +3 -3
- package/dist/promises.mjs +4 -7
- package/dist/{run-stages.cell-CtFLJCm0.mjs → run-stages.cell-BN__EOCk.mjs} +3293 -3225
- package/package.json +7 -8
- package/dist/merge-config-ByZJPeQZ.mjs +0 -32
package/dist/{RunEnvironment.service-6aDpmGcD.d.mts → RunEnvironment.service-BJAsZsdn.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-C09A80iv.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-BlvpjFjJ.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>;
|
|
@@ -102,27 +99,29 @@ declare class ConfigError extends ConfigError_base {
|
|
|
102
99
|
readonly exitClass: 'ConfigError';
|
|
103
100
|
}
|
|
104
101
|
//#endregion
|
|
105
|
-
//#region src/
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
interface
|
|
116
|
-
readonly
|
|
117
|
-
readonly
|
|
118
|
-
readonly stdoutIsTTY: boolean;
|
|
102
|
+
//#region src/stryker-error.schema.d.ts
|
|
103
|
+
declare const StrykerError_base: Schema.Class<StrykerError, Schema.TaggedStruct<"StrykerError", {
|
|
104
|
+
readonly message: Schema.String;
|
|
105
|
+
readonly cause: Schema.optional<Schema.Unknown>;
|
|
106
|
+
}>, import("effect/Cause").YieldableError>;
|
|
107
|
+
declare class StrykerError extends StrykerError_base {}
|
|
108
|
+
//#endregion
|
|
109
|
+
//#region src/run-events.service.d.ts
|
|
110
|
+
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>>>;
|
|
111
|
+
declare class RunEvents extends RunEvents_base {}
|
|
112
|
+
interface RunIdentityShape {
|
|
113
|
+
readonly runId: string;
|
|
114
|
+
readonly basePath: string;
|
|
119
115
|
}
|
|
116
|
+
declare const RunIdentity_base: Context.ServiceClass<RunIdentity, "@systemfsoftware/stryker-js/run-events.service/RunIdentity", RunIdentityShape>;
|
|
117
|
+
declare class RunIdentity extends RunIdentity_base {}
|
|
120
118
|
//#endregion
|
|
121
119
|
//#region src/frame-run-event.workflow.d.ts
|
|
122
|
-
|
|
123
|
-
readonly mode:
|
|
124
|
-
readonly signal:
|
|
125
|
-
}
|
|
120
|
+
declare const ResolvedModeInput: S.Struct<{
|
|
121
|
+
readonly mode: S.Literals<readonly ["human", "machine"]>;
|
|
122
|
+
readonly signal: S.Literals<readonly ["flag", "env", "tty", "agent", "tool"]>;
|
|
123
|
+
}>;
|
|
124
|
+
type ResolvedModeInput = typeof ResolvedModeInput.Type;
|
|
126
125
|
//#endregion
|
|
127
126
|
//#region src/run-event-stream.service.d.ts
|
|
128
127
|
type FramedDrain = (framed: Stream.Stream<string, never, never>, toStdout: boolean) => Effect$1.Effect<void, never, never>;
|
|
@@ -139,16 +138,19 @@ declare class RunEventDrain extends RunEventDrain_base {
|
|
|
139
138
|
declare const RunEventDrainLive: Layer.Layer<RunEventDrain, never, Stdio.Stdio>;
|
|
140
139
|
interface RunEventStream {
|
|
141
140
|
readonly queue: Queue.Queue<RunEvent, Cause.Done>;
|
|
142
|
-
readonly runId:
|
|
141
|
+
readonly runId: RunId;
|
|
143
142
|
readonly startedAt: number;
|
|
144
143
|
readonly isOpen: Effect$1.Effect<boolean, never, never>;
|
|
145
144
|
readonly ensureOpen: (openResolved: ResolvedModeInput) => Effect$1.Effect<void, never, never>;
|
|
146
145
|
readonly open: Effect$1.Effect<void, never, never>;
|
|
147
146
|
readonly closeAndDrain: Effect$1.Effect<void, never, never>;
|
|
148
147
|
}
|
|
149
|
-
declare const makeRunEventStream: (resolved:
|
|
148
|
+
declare const makeRunEventStream: (resolved: {
|
|
149
|
+
readonly mode: "human" | "machine";
|
|
150
|
+
readonly signal: "agent" | "env" | "flag" | "tool" | "tty";
|
|
151
|
+
}) => Effect$1.Effect<{
|
|
150
152
|
queue: Queue.Queue<FormatRegistryResolved | Heartbeat | HelpRendered | PhaseEntered | PlanKnown | PluginsReported | RunFailed | RunMutantTested | RunStarted | SkippedReported | VerdictReached, Cause.Done<void>>;
|
|
151
|
-
runId: string
|
|
153
|
+
runId: string & import("effect/Brand").Brand<"RunId">;
|
|
152
154
|
startedAt: number;
|
|
153
155
|
isOpen: Effect$1.Effect<boolean, never, never>;
|
|
154
156
|
ensureOpen: (openResolved: ResolvedModeInput) => Effect$1.Effect<void, never, never>;
|
|
@@ -156,15 +158,83 @@ declare const makeRunEventStream: (resolved: ResolvedModeInput) => Effect$1.Effe
|
|
|
156
158
|
closeAndDrain: Effect$1.Effect<void, never, never>;
|
|
157
159
|
}, never, RunEventDrain | Stdio.Stdio>;
|
|
158
160
|
//#endregion
|
|
159
|
-
//#region src/
|
|
160
|
-
declare const
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
readonly
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
161
|
+
//#region src/IncrementalReport.schema.d.ts
|
|
162
|
+
declare const IncrementalReportSchema: S.StructWithRest<S.Struct<{
|
|
163
|
+
readonly incrementalVersion: S.String;
|
|
164
|
+
readonly schemaVersion: S.String;
|
|
165
|
+
readonly thresholds: S.Struct<{
|
|
166
|
+
readonly high: S.Finite;
|
|
167
|
+
readonly low: S.Finite;
|
|
168
|
+
}>;
|
|
169
|
+
readonly files: S.$Record<S.String, S.Struct<{
|
|
170
|
+
readonly language: S.String;
|
|
171
|
+
readonly source: S.String;
|
|
172
|
+
readonly mutants: S.$Array<S.Struct<{
|
|
173
|
+
readonly id: S.String;
|
|
174
|
+
readonly mutatorName: S.String;
|
|
175
|
+
readonly replacement: S.String;
|
|
176
|
+
readonly location: S.declare<{
|
|
177
|
+
readonly start: {
|
|
178
|
+
readonly line: number;
|
|
179
|
+
readonly column: number;
|
|
180
|
+
};
|
|
181
|
+
readonly end: {
|
|
182
|
+
readonly line: number;
|
|
183
|
+
readonly column: number;
|
|
184
|
+
};
|
|
185
|
+
}, {
|
|
186
|
+
readonly start: {
|
|
187
|
+
readonly line: number;
|
|
188
|
+
readonly column: number;
|
|
189
|
+
};
|
|
190
|
+
readonly end: {
|
|
191
|
+
readonly line: number;
|
|
192
|
+
readonly column: number;
|
|
193
|
+
};
|
|
194
|
+
}>;
|
|
195
|
+
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
196
|
+
readonly killedBy: S.optional<S.$Array<S.String>>;
|
|
197
|
+
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
198
|
+
readonly static: S.optional<S.Boolean>;
|
|
199
|
+
readonly statusReason: S.optional<S.String>;
|
|
200
|
+
readonly testsCompleted: S.optional<S.Finite>;
|
|
201
|
+
readonly description: S.optional<S.String>;
|
|
202
|
+
readonly duration: S.optional<S.Finite>;
|
|
203
|
+
}>>;
|
|
204
|
+
readonly formatIdentity: S.optional<S.Struct<{
|
|
205
|
+
readonly formatId: S.String;
|
|
206
|
+
readonly ownerModule: S.String;
|
|
207
|
+
readonly ownerVersion: S.String;
|
|
208
|
+
}>>;
|
|
209
|
+
}>>;
|
|
210
|
+
readonly testFiles: S.optional<S.$Record<S.String, S.Struct<{
|
|
211
|
+
readonly source: S.optional<S.String>;
|
|
212
|
+
readonly tests: S.$Array<S.Struct<{
|
|
213
|
+
readonly id: S.String;
|
|
214
|
+
readonly name: S.String;
|
|
215
|
+
readonly location: S.optional<S.declare<{
|
|
216
|
+
readonly start: {
|
|
217
|
+
readonly line: number;
|
|
218
|
+
readonly column: number;
|
|
219
|
+
};
|
|
220
|
+
readonly end?: {
|
|
221
|
+
readonly line: number;
|
|
222
|
+
readonly column: number;
|
|
223
|
+
} | undefined;
|
|
224
|
+
}, {
|
|
225
|
+
readonly start: {
|
|
226
|
+
readonly line: number;
|
|
227
|
+
readonly column: number;
|
|
228
|
+
};
|
|
229
|
+
readonly end?: {
|
|
230
|
+
readonly line: number;
|
|
231
|
+
readonly column: number;
|
|
232
|
+
} | undefined;
|
|
233
|
+
}>>;
|
|
234
|
+
}>>;
|
|
235
|
+
}>>>;
|
|
236
|
+
}>, readonly [S.$Record<S.String, S.Unknown>]>;
|
|
237
|
+
type IncrementalReport = S.Schema.Type<typeof IncrementalReportSchema>;
|
|
168
238
|
//#endregion
|
|
169
239
|
//#region src/Project.schema.d.ts
|
|
170
240
|
interface ProjectFile extends mod_d_exports$2.FileDescription {
|
|
@@ -175,7 +245,7 @@ interface ProjectFile extends mod_d_exports$2.FileDescription {
|
|
|
175
245
|
}
|
|
176
246
|
interface Project {
|
|
177
247
|
readonly fileDescriptions: mod_d_exports$2.FileDescriptions;
|
|
178
|
-
readonly incrementalReport:
|
|
248
|
+
readonly incrementalReport: IncrementalReport | undefined;
|
|
179
249
|
readonly testFiles: readonly string[];
|
|
180
250
|
readonly files: MutableHashMap.MutableHashMap<string, ProjectFile>;
|
|
181
251
|
readonly filesToMutate: MutableHashMap.MutableHashMap<string, ProjectFile>;
|
|
@@ -259,18 +329,6 @@ interface SpawnReporterWorkerParams {
|
|
|
259
329
|
}
|
|
260
330
|
declare const spawnReporterWorker: (params: SpawnReporterWorkerParams) => Effect$1.Effect<ReporterWorkerClient, WorkerBootError, Scope.Scope | WorkerLauncher>;
|
|
261
331
|
//#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
332
|
//#region src/test-coverage.schema.d.ts
|
|
275
333
|
interface TestCoverage {
|
|
276
334
|
readonly testsByMutantId: MutableHashMap.MutableHashMap<string, MutableHashSet.MutableHashSet<mod_d_exports$6.TestResult>>;
|
|
@@ -279,13 +337,6 @@ interface TestCoverage {
|
|
|
279
337
|
readonly hitsByMutantId: MutableHashMap.MutableHashMap<string, number>;
|
|
280
338
|
}
|
|
281
339
|
//#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
340
|
//#region src/Sandbox.handle.d.ts
|
|
290
341
|
declare const TypeId: unique symbol;
|
|
291
342
|
type TypeId = typeof TypeId;
|
|
@@ -299,7 +350,7 @@ declare const SandboxHandle: Handle.Definition<typeof TypeId, {
|
|
|
299
350
|
type SandboxHandle = Handle.Of<typeof SandboxHandle>;
|
|
300
351
|
//#endregion
|
|
301
352
|
//#region src/Plugins.schema.d.ts
|
|
302
|
-
type PluginKind = mod_d_exports$3.
|
|
353
|
+
type PluginKind = mod_d_exports$3.PluginKind;
|
|
303
354
|
interface WorkerPluginDescriptor<K extends mod_d_exports$3.WorkerPluginKind = mod_d_exports$3.WorkerPluginKind> {
|
|
304
355
|
readonly kind: K;
|
|
305
356
|
readonly name: string;
|
|
@@ -399,7 +450,7 @@ interface DryRunDone extends InstrumentDone {
|
|
|
399
450
|
readonly timeOverhead: EffectDuration.Duration;
|
|
400
451
|
}
|
|
401
452
|
//#endregion
|
|
402
|
-
//#region src/run/mutation-test.
|
|
453
|
+
//#region src/run/mutation-test.cell.d.ts
|
|
403
454
|
interface MutationTestDone {
|
|
404
455
|
readonly results: readonly mod_d_exports$3$1.RunMutantResult[];
|
|
405
456
|
readonly verdict: mod_d_exports$3.ExitClass | null;
|
|
@@ -428,6 +479,15 @@ declare class MutationReporting extends MutationReporting_base {
|
|
|
428
479
|
static readonly layer: Layer.Layer<MutationReporting, never, FileSystem.FileSystem | Path.Path | RunEvents | ProjectFiles>;
|
|
429
480
|
}
|
|
430
481
|
//#endregion
|
|
482
|
+
//#region src/Worker.service.d.ts
|
|
483
|
+
interface IdGeneratorShape {
|
|
484
|
+
readonly next: Effect$1.Effect<number>;
|
|
485
|
+
}
|
|
486
|
+
declare const IdGenerator_base: Context.ServiceClass<IdGenerator, "@systemfsoftware/stryker-js/Worker.service/IdGenerator", IdGeneratorShape>;
|
|
487
|
+
declare class IdGenerator extends IdGenerator_base {
|
|
488
|
+
static readonly layer: Layer.Layer<IdGenerator, never, never>;
|
|
489
|
+
}
|
|
490
|
+
//#endregion
|
|
431
491
|
//#region src/run/StageServices.service.d.ts
|
|
432
492
|
type StageServices = ChildProcessSpawner.ChildProcessSpawner | FileSystem.FileSystem | IdGenerator | MutationReporting | Path.Path | ProjectFiles | Reporter | RunEnvironment | RunEvents | Scope.Scope | Stdio.Stdio | WorkerLauncher;
|
|
433
493
|
type EnginePorts = ChildProcessSpawner.ChildProcessSpawner | FileSystem.FileSystem | Path.Path | Stdio.Stdio | WorkerLauncher;
|
|
@@ -461,4 +521,4 @@ declare class RunEnvironment extends RunEnvironment_base {
|
|
|
461
521
|
};
|
|
462
522
|
}
|
|
463
523
|
//#endregion
|
|
464
|
-
export {
|
|
524
|
+
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-C09A80iv.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-X_AxYxMY.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