@systemfsoftware/stryker-js 0.1.0 → 0.1.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @systemfsoftware/stryker-js
2
2
 
3
+ ## 0.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Re-published against the oxc-based instrumenter: workspace dependency ranges move to the new instrumenter major; no package's own behavior changes in this release.
8
+
3
9
  ## 0.1.0
4
10
 
5
11
  ### Major Changes
@@ -60,6 +60,7 @@ declare const RunConfiguration_base: Context.ServiceClass<RunConfiguration, "~@s
60
60
  readonly ignoreStatic: boolean;
61
61
  readonly incremental: boolean;
62
62
  readonly incrementalFile: string;
63
+ readonly progressStreamFile: string;
63
64
  readonly force: boolean;
64
65
  readonly fileLogLevel: "debug" | "error" | "fatal" | "info" | "off" | "trace" | "warn";
65
66
  readonly inPlace: boolean;
@@ -68,7 +69,6 @@ declare const RunConfiguration_base: Context.ServiceClass<RunConfiguration, "~@s
68
69
  readonly maxTestRunnerReuse: number;
69
70
  readonly mutate: readonly string[];
70
71
  readonly mutator: {
71
- readonly plugins: readonly (string | readonly unknown[])[] | null;
72
72
  readonly excludedMutations: readonly string[];
73
73
  };
74
74
  readonly packageManager?: "npm" | "pnpm" | "yarn" | undefined;
package/dist/Plugin.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as PluginEnvironment, c as RunConfiguration, d as declarePlugin, f as PluginContribution, i as MergedPluginServices, l as SandboxDirectory, m as Shadowing, n as ComposedPlugins, o as PluginInterfaces, p as PluginKind, r as ContributionOf, t as AnyPluginContribution, u as composePlugins } from "./Plugin-ZYNaWrl7.mjs";
1
+ import { a as PluginEnvironment, c as RunConfiguration, d as declarePlugin, f as PluginContribution, i as MergedPluginServices, l as SandboxDirectory, m as Shadowing, n as ComposedPlugins, o as PluginInterfaces, p as PluginKind, r as ContributionOf, t as AnyPluginContribution, u as composePlugins } from "./Plugin-DypwaPHd.mjs";
2
2
  export { AnyPluginContribution, ComposedPlugins, ContributionOf, MergedPluginServices, PluginContribution, PluginEnvironment, PluginInterfaces, PluginKind, RunConfiguration, SandboxDirectory, Shadowing, composePlugins, declarePlugin };
@@ -96,10 +96,7 @@ const MutationScoreThresholdsSchema = S.Struct({
96
96
  low: defaulted(Percentage, 60),
97
97
  break: defaulted(S.NullOr(Percentage), null)
98
98
  });
99
- const MutatorDescriptor = Wire.wire({
100
- plugins: defaulted(Wire.mint(S.NullOr(Wire.mint(S.Array(Wire.mint(S.Union([Wire.mint(S.String), Wire.mint(S.Array(Wire.mint(S.Unknown)))])))))), null),
101
- excludedMutations: defaulted(Wire.mint(S.Array(Wire.mint(S.String))), [])
102
- });
99
+ const MutatorDescriptor = Wire.wire({ excludedMutations: defaulted(Wire.mint(S.Array(Wire.mint(S.String))), []) });
103
100
  const WarningOptions = openStruct({
104
101
  unknownOptions: defaulted(Wire.mint(S.Boolean), true),
105
102
  preprocessorErrors: defaulted(Wire.mint(S.Boolean), true),
@@ -129,6 +126,7 @@ const StrykerOptionsSchema = S.StructWithRest(S.Struct({
129
126
  ignoreStatic: defaulted(Wire.mint(S.Boolean), false),
130
127
  incremental: defaulted(Wire.mint(S.Boolean), false),
131
128
  incrementalFile: defaulted(Wire.mint(S.String), "reports/stryker-incremental.json"),
129
+ progressStreamFile: defaulted(Wire.mint(S.String), "reports/mutation-stream.jsonl"),
132
130
  force: defaulted(Wire.mint(S.Boolean), false),
133
131
  fileLogLevel: defaulted(LogLevel, RENDERED_OPTION_DEFAULTS$1.fileLogLevel),
134
132
  inPlace: defaulted(Wire.mint(S.Boolean), false),
@@ -136,10 +134,7 @@ const StrykerOptionsSchema = S.StructWithRest(S.Struct({
136
134
  maxConcurrentTestRunners: defaulted(Wire.mint(S.Finite), 9007199254740991),
137
135
  maxTestRunnerReuse: defaulted(Wire.mint(S.Finite), 0),
138
136
  mutate: defaulted(Wire.mint(S.Array(Wire.mint(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
- mutator: defaulted(MutatorDescriptor, {
140
- plugins: null,
141
- excludedMutations: []
142
- }),
137
+ mutator: defaulted(MutatorDescriptor, { excludedMutations: [] }),
143
138
  packageManager: S.optional(PackageManager),
144
139
  plugins: defaulted(Wire.mint(S.Array(Wire.mint(S.String))), ["@systemfsoftware/stryker-js-*"]),
145
140
  appendPlugins: defaulted(Wire.mint(S.Array(Wire.mint(S.String))), []),
@@ -35,6 +35,7 @@ declare const StrykerOptionsSchema: S.StructWithRest<S.Struct<{
35
35
  readonly ignoreStatic: S.withDecodingDefaultKey<S.Boolean, never> & Wire.Mark;
36
36
  readonly incremental: S.withDecodingDefaultKey<S.Boolean, never> & Wire.Mark;
37
37
  readonly incrementalFile: S.withDecodingDefaultKey<S.String, never> & Wire.Mark;
38
+ readonly progressStreamFile: S.withDecodingDefaultKey<S.String, never> & Wire.Mark;
38
39
  readonly force: S.withDecodingDefaultKey<S.Boolean, never> & Wire.Mark;
39
40
  readonly fileLogLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never> & Wire.Mark;
40
41
  readonly inPlace: S.withDecodingDefaultKey<S.Boolean, never> & Wire.Mark;
@@ -43,7 +44,6 @@ declare const StrykerOptionsSchema: S.StructWithRest<S.Struct<{
43
44
  readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.Finite, never> & Wire.Mark;
44
45
  readonly mutate: S.withDecodingDefaultKey<S.$Array<S.String & Wire.Mark>, never> & Wire.Mark;
45
46
  readonly mutator: S.withDecodingDefaultKey<S.Struct<{
46
- plugins: S.withDecodingDefaultKey<S.NullOr<S.$Array<S.Union<readonly [S.String & Wire.Mark, S.$Array<S.Unknown & Wire.Mark> & Wire.Mark]> & Wire.Mark> & Wire.Mark>, never> & Wire.Mark;
47
47
  excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String & Wire.Mark>, never> & Wire.Mark;
48
48
  }>, never> & Wire.Mark;
49
49
  readonly packageManager: S.optional<S.Literals<readonly ["npm", "yarn", "pnpm"]>>;
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-Df2kA6F7.mjs";
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-CXKiLnTu.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-C7nahULg.mjs";
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-BAKDG_jC.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-DYgIIEai.mjs";
2
2
  import { Z as TestRunner_d_exports, v as Mutant_d_exports } from "./Mutant-BPRJTF8f.mjs";
3
3
  import { r as Ignorer_d_exports } from "./Ignorer-BUY68FZQ.mjs";
4
- import { s as Plugin_d_exports } from "./Plugin-ZYNaWrl7.mjs";
4
+ import { s as Plugin_d_exports } from "./Plugin-DypwaPHd.mjs";
5
5
  import { u as Reporter_d_exports } from "./Reporter-eZ3M7lO6.mjs";
6
6
  import { a as Run_d_exports } from "./Run-BudLsVwF.mjs";
7
- import { a as Schema_d_exports } from "./Schema-Df2kA6F7.mjs";
7
+ import { a as Schema_d_exports } from "./Schema-CXKiLnTu.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-Ceh1G8Dz.mjs";
5
5
  import { n as Reporter_exports } from "./Reporter-COVWW1my.mjs";
6
6
  import { r as Run_exports } from "./Run-lXratlN7.mjs";
7
- import { n as Schema_exports } from "./Schema-C7nahULg.mjs";
7
+ import { n as Schema_exports } from "./Schema-BAKDG_jC.mjs";
8
8
  import { n as TestRunner_exports } from "./TestRunner-DC9U8Unb.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 };
@@ -1,4 +1,4 @@
1
- import { c as RunConfiguration } from "./Plugin-ZYNaWrl7.mjs";
1
+ import { c as RunConfiguration } from "./Plugin-DypwaPHd.mjs";
2
2
  //#region src/provided-options.d.ts
3
3
  /**
4
4
  * The run's options exactly as the `RunConfiguration` service hands them over.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@systemfsoftware/stryker-js",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/systemfsoftware/systemfsoftware.git",
@@ -20,24 +20,22 @@
20
20
  "dependencies": {
21
21
  "effect": "^4.0.0-rc.112",
22
22
  "mutation-testing-report-schema": "3.7.3",
23
- "@systemfsoftware/effect-cell-types": "^5.0.0"
23
+ "@systemfsoftware/effect-cell-types": "^5.0.2"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@systemfsoftware/arethetypeswrong-cli": "^1.1.1",
27
27
  "@types/node": "^24",
28
28
  "oxlint": "^1.77.0",
29
- "oxlint-tsgolint": ">=0.24.0",
29
+ "oxlint-tsgolint": "7.0.2001",
30
30
  "rimraf": "^6.1.3",
31
31
  "tsdown": "^0.22.14",
32
32
  "typescript": "^7",
33
- "vitest": "^4.1.10",
34
- "@systemfsoftware/effect-schema-vite": "^2.0.0",
35
- "@systemfsoftware/effect-schema-law": "^1.0.0",
36
- "@systemfsoftware/oxlint-plugin-cell-vocabulary": "^1.2.2",
37
- "@systemfsoftware/oxlint-plugin-effect-workflow": "^4.0.0",
33
+ "vitest": "^4",
34
+ "@systemfsoftware/all": "^1.0.2",
38
35
  "@systemfsoftware/tsconfig": "^1.3.3",
39
- "@systemfsoftware/vitest-config": "^0.1.0",
40
- "@systemfsoftware/all": "^1.0.0"
36
+ "@systemfsoftware/effect-schema-law": "^2.0.1",
37
+ "@systemfsoftware/effect-schema-vite": "^2.0.2",
38
+ "@systemfsoftware/vitest-config": "^0.1.0"
41
39
  },
42
40
  "publishConfig": {
43
41
  "access": "public",