@systemfsoftware/stryker-js-cli-contract 2.0.0 → 3.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/package.json +6 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @systemfsoftware/stryker-js-cli-contract
2
2
 
3
+ ## 3.0.0
4
+
5
+ `effect` is a peer dependency (`^4.1.2`) of every package whose library entry points import it, so a consumer's schemas, layers and errors and these packages' share one effect instance.
6
+
7
+ - cli-contract, plugin-interface, instrumenter, typescript-checker and plugin-runtime declared `effect` as a dependency. A consumer on another 4.1.x got a second copy, and the contract's `ShardPlan` no longer type-checked against the consumer's effect. They now peer on it; install `effect` yourself.
8
+ - stryker-js and the html-reporter already peered on `effect`; the floor rises from 4.1.0 to 4.1.2, the version these packages are built and tested with.
9
+
10
+ The processes Stryker starts are unchanged: the CLI (`main.mjs`), the TypeScript checker's worker and the vitest runner's worker bundle their own effect 4.1.2. The flake package `stryker-package` now declares `effect` itself.
11
+
3
12
  ## 2.0.0
4
13
 
5
14
  Tests: the contract version law fetches a treeless clone's missing trees by the base commit, which GitHub serves, not by tree hash, which it refuses.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@systemfsoftware/stryker-js-cli-contract",
3
- "version": "2.0.0",
3
+ "version": "3.0.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/systemfsoftware/stryker-js-effect.git",
@@ -20,8 +20,7 @@
20
20
  "node": ">=20.0.0"
21
21
  },
22
22
  "dependencies": {
23
- "@systemfsoftware/stryker-js-plugin-interface": "^18.0.0",
24
- "effect": "^4.1.0"
23
+ "@systemfsoftware/stryker-js-plugin-interface": "^19.0.0"
25
24
  },
26
25
  "devDependencies": {
27
26
  "@effect/platform-node-shared": "^4.1.0",
@@ -36,6 +35,7 @@
36
35
  "@systemfsoftware/vitest": "^2.0.0",
37
36
  "@systemfsoftware/vitest-config": "^0.1.0",
38
37
  "@types/node": "^24",
38
+ "effect": "^4.1.2",
39
39
  "oxlint": "~1.90.0",
40
40
  "oxlint-tsgolint": "7.0.2005",
41
41
  "rimraf": "^6.1.3",
@@ -65,6 +65,9 @@
65
65
  "default": "./contract/span-taxonomy.json"
66
66
  }
67
67
  },
68
+ "peerDependencies": {
69
+ "effect": "^4.1.2"
70
+ },
68
71
  "scripts": {
69
72
  "clean": "rimraf dist",
70
73
  "build": "tsdown",