@systemfsoftware/stryker-js-vitest-runner 4.0.2 → 4.0.3

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,13 @@
1
1
  # @systemfsoftware/stryker-js-vitest-runner
2
2
 
3
+ ## 4.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Releases the workspace so its published versions track the shared dependency graph this change moves.
8
+
9
+ - The `@systemfsoftware/source` export condition is gone. It resolved to a package's TypeScript sources for editors and in-repo typechecks; each package now exports only its built entry. If your tsconfig sets `customConditions: ["@systemfsoftware/source"]`, or a bundler config names that condition, remove it — resolution falls back to the built entry, which is what every consumer already got.
10
+
3
11
  ## 4.0.2
4
12
 
5
13
  ### Patch Changes
package/dist/index.mjs CHANGED
@@ -474,7 +474,6 @@ const decideVitestDryRun = (command) => {
474
474
  errorMessage: `An error occurred outside of a test run: ${command.externalErrorText}`
475
475
  })), Match.orElse(() => DryRunComplete.make({ testsJson })))));
476
476
  };
477
- const SOURCE_CONDITION = "@systemfsoftware/source";
478
477
  const TYPESCRIPT_SOURCE_EXTENSIONS = [
479
478
  ".ts",
480
479
  ".tsx",
@@ -482,7 +481,7 @@ const TYPESCRIPT_SOURCE_EXTENSIONS = [
482
481
  ];
483
482
  const isTypescriptSourcePath = (filePath) => TYPESCRIPT_SOURCE_EXTENSIONS.some((extension) => filePath.endsWith(extension));
484
483
  const typescriptSourcePath = (filePath) => Option.getOrUndefined(Option.filter(Option.some(filePath), isTypescriptSourcePath));
485
- const sourceTargetOf = (entry) => Match.value(entry).pipe(Match.when(Match.string, (filePath) => typescriptSourcePath(filePath)), Match.orElse((conditions) => Option.getOrUndefined(Option.flatMap(recordOption(conditions), (record) => getStringField(record, SOURCE_CONDITION)))));
484
+ const sourceTargetOf = (entry) => Match.value(entry).pipe(Match.when(Match.string, (filePath) => typescriptSourcePath(filePath)), Match.orElse(() => void 0));
486
485
  const subpathSpecifier = (packageName, exportKey) => Match.value(exportKey.startsWith("./")).pipe(Match.when(true, () => `${packageName}/${exportKey.slice(2)}`), Match.orElse(() => void 0));
487
486
  const specifierForExport = (packageName, exportKey) => Match.value(exportKey).pipe(Match.when(".", () => packageName), Match.when("./package.json", () => void 0), Match.orElse((key) => subpathSpecifier(packageName, key)));
488
487
  const namedExports = (manifest) => Option.flatMap(Option.filter(Option.fromNullishOr(manifest.name), (name) => name.length > 0), (name) => Option.map(Option.fromNullishOr(manifest.exports), (exportMap) => ({
@@ -717,7 +716,7 @@ const makeVitestRunnerLayer = (input) => Layer.effect(TestRunner, Effect$1.gen(f
717
716
  }, {
718
717
  resolve: {
719
718
  alias: [...aliases],
720
- conditions: ["@systemfsoftware/source", "import"]
719
+ conditions: ["import"]
721
720
  },
722
721
  plugins: [plugin]
723
722
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@systemfsoftware/stryker-js-vitest-runner",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/systemfsoftware/systemfsoftware.git",
@@ -31,8 +31,8 @@
31
31
  "coverageAnalysis": "perTest"
32
32
  },
33
33
  "dependencies": {
34
- "@systemfsoftware/effect-cell-types": "^7.0.0",
35
- "@systemfsoftware/stryker-js": "^3.0.1"
34
+ "@systemfsoftware/effect-cell-types": "^7.0.1",
35
+ "@systemfsoftware/stryker-js": "^3.0.2"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "effect": "4.0.0-rc.112",
@@ -41,7 +41,7 @@
41
41
  "devDependencies": {
42
42
  "@effect/platform-node": "4.0.0-rc.112",
43
43
  "@effect/vitest": "4.0.0-rc.112",
44
- "@systemfsoftware/arethetypeswrong-cli": "^1.1.1",
44
+ "@systemfsoftware/arethetypeswrong-cli": "^4.1.0",
45
45
  "@types/node": "^24",
46
46
  "@vitest/browser-playwright": "^4",
47
47
  "effect": "4.0.0-rc.112",
@@ -50,11 +50,11 @@
50
50
  "tsdown": "^0.22.14",
51
51
  "typescript": "^7",
52
52
  "vitest": "^4",
53
- "@systemfsoftware/effect-gherkin-spec": "^4.0.1",
54
53
  "@systemfsoftware/oxlint-config": "^0.1.0",
55
- "@systemfsoftware/tsconfig": "^1.3.3",
56
- "@systemfsoftware/vitest-config": "^0.1.0",
57
- "@systemfsoftware/all": "^2.0.0"
54
+ "@systemfsoftware/all": "^2.0.1",
55
+ "@systemfsoftware/effect-gherkin-spec": "^4.0.2",
56
+ "@systemfsoftware/tsconfig": "^1.3.4",
57
+ "@systemfsoftware/vitest-config": "^0.1.0"
58
58
  },
59
59
  "publishConfig": {
60
60
  "provenance": true