@systemfsoftware/storybook-gherkin 4.0.3 → 5.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @systemfsoftware/storybook-gherkin
2
2
 
3
+ ## 5.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - Require `effect` `^4` (stable 4.0.0). Release candidates are no longer supported: imports follow 4.0.0's module layout (`effect/http`, `effect/rpc`, `effect/http-api`, `effect/cluster`, `effect/process`, `effect/socket`, `effect/persistence`, `effect/reactivity`, `effect/encoding`, `effect/Arbitrary`), which does not exist in any 4.0.0 RC.
8
+
3
9
  ## 4.0.3
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -5,7 +5,7 @@ Feature specs as Storybook stories — Gherkin Given/When/Then embedded in CSF w
5
5
  ## Install
6
6
 
7
7
  ```sh
8
- pnpm add @systemfsoftware/storybook-gherkin 'effect@4.0.0-rc.108' 'storybook@>=10.0.0'
8
+ pnpm add @systemfsoftware/storybook-gherkin 'effect@^4' 'storybook@>=10.0.0'
9
9
  ```
10
10
 
11
11
  Those are peer dependencies: this package declares them but does not install them, so one copy is shared with the rest of your project.
package/dist/index.mjs CHANGED
@@ -222,6 +222,7 @@ const Then = makeStepCtor("Then");
222
222
  const And = makeStepCtor("And");
223
223
  const But = makeStepCtor("But");
224
224
  const Star = makeStepCtor("Star");
225
+ const Steps = (...steps) => [...steps];
225
226
  const isNonNullObject = (value) => {
226
227
  if (typeof value !== "object") return false;
227
228
  return value !== null;
@@ -517,7 +518,6 @@ const featureImpl = (meta, options) => makeFeature(meta, contextOf(options));
517
518
  * at the play edge.
518
519
  */
519
520
  const feature = dual(2, featureImpl);
520
- const Steps = (...steps) => [...steps];
521
521
  const From = (story) => {
522
522
  const play = story.play;
523
523
  if (play === void 0) return [];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@systemfsoftware/storybook-gherkin",
3
3
  "license": "Apache-2.0",
4
- "version": "4.0.3",
4
+ "version": "5.0.0",
5
5
  "author": "Ryan Lee <drdgvhbh@gmail.com>",
6
6
  "repository": {
7
7
  "type": "git",
@@ -39,7 +39,7 @@
39
39
  "type-fest": "^5.10.0"
40
40
  },
41
41
  "peerDependencies": {
42
- "effect": "4.0.0-rc.117",
42
+ "effect": "^4",
43
43
  "storybook": ">=10.0.0"
44
44
  },
45
45
  "devDependencies": {
@@ -47,21 +47,28 @@
47
47
  "@storybook/addon-vitest": "^10.6.0",
48
48
  "@storybook/react-vite": "^10.6.0",
49
49
  "@systemfsoftware/arethetypeswrong-cli": "^4.2.0",
50
- "@systemfsoftware/conformance-spec": "^0.2.0",
51
- "@systemfsoftware/effect-gherkin-spec": "^6.0.0",
52
- "@systemfsoftware/effect-sim-kernel": "^0.2.0",
53
- "@systemfsoftware/effect-spec-runtime": "^0.3.1",
54
- "@systemfsoftware/oxlint-config-recommended": "^3.2.0",
50
+ "@systemfsoftware/conformance-spec": "^1.0.0",
51
+ "@systemfsoftware/effect-gherkin-spec": "^7.0.0",
52
+ "@systemfsoftware/effect-sim-kernel": "^1.0.0",
53
+ "@systemfsoftware/effect-spec-runtime": "^1.0.0",
54
+ "@systemfsoftware/oxlint-config-recommended": "^4.0.0",
55
+ "@systemfsoftware/stryker-config": "^0.1.0",
56
+ "@systemfsoftware/stryker-ignorer-effect-schema-declarations": "latest",
57
+ "@systemfsoftware/stryker-ignorer-in-source-vitest-block": "latest",
58
+ "@systemfsoftware/stryker-js": "latest",
59
+ "@systemfsoftware/stryker-js-typescript-checker": "latest",
60
+ "@systemfsoftware/stryker-js-vitest-runner": "latest",
61
+ "@systemfsoftware/stryker-test-contribution": "latest",
55
62
  "@systemfsoftware/tsconfig": "^2.0.1",
56
63
  "@systemfsoftware/tsdown-config": "^0.1.0",
57
- "@systemfsoftware/vitest": "^0.2.0",
64
+ "@systemfsoftware/vitest": "^1.0.0",
58
65
  "@systemfsoftware/vitest-config": "^0.1.0",
59
66
  "@types/node": "^26",
60
67
  "@types/react": "^19.3.0",
61
68
  "@types/react-dom": "^19.3.0",
62
69
  "@vitest/browser": "^5",
63
70
  "@vitest/browser-playwright": "^5",
64
- "effect": "4.0.0-rc.117",
71
+ "effect": "^4",
65
72
  "jsdom": "29.1.1",
66
73
  "oxlint": "~1.82.0",
67
74
  "playwright": "^1",
@@ -88,6 +95,7 @@
88
95
  "dts:check": "node scripts/check-dts.mjs",
89
96
  "storybook": "storybook dev -p 6006 --no-open",
90
97
  "test": "vitest run --project conformance",
98
+ "mutation": "stryker run",
91
99
  "test:browser": "pnpm build && vitest run",
92
100
  "api:check": "tsdown -l warn && api-extractor-quiet run",
93
101
  "api:update": "api-extractor run --local"