@systemfsoftware/storybook-gherkin 3.0.5 → 3.0.7

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,17 @@
1
1
  # @systemfsoftware/storybook-gherkin
2
2
 
3
+ ## 3.0.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Unconstrained type holes are defaulted type parameters (`<A = unknown>`) instead of a type argument `unknown`. Calls that omit those arguments are unchanged.
8
+
9
+ ## 3.0.6
10
+
11
+ ### Patch Changes
12
+
13
+ - Bump the stryker catalog to pull in the latest patch releases of the stryker-js ecosystem.
14
+
3
15
  ## 3.0.5
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -9,6 +9,12 @@ import { YieldableError } from 'effect/Cause';
9
9
 
10
10
  export declare const And: StepCtor;
11
11
 
12
+ declare type AnyConstraintDecoder$1<A = unknown> = Schema.ConstraintDecoder<A>;
13
+
14
+ declare type AnyConstraintDecoder<A = unknown> = Schema.ConstraintDecoder<A>;
15
+
16
+ declare type AnyValue<V = unknown> = V;
17
+
12
18
  export declare class BackgroundNotGiven extends BackgroundNotGiven_base {}
13
19
 
14
20
  declare const BackgroundNotGiven_base: Schema.Class<BackgroundNotGiven, Schema.TaggedStruct<"BackgroundNotGiven", {
@@ -24,7 +30,7 @@ export declare type CapsOf<THoles extends readonly Hole[]> = THoles extends read
24
30
 
25
31
  export declare interface Capture<Name extends string = string, _A = unknown> extends CaptureTag {
26
32
  readonly name: Name;
27
- readonly schema: Schema.ConstraintDecoder<unknown> | undefined;
33
+ readonly schema: AnyConstraintDecoder$1 | undefined;
28
34
  readonly default: string | undefined;
29
35
  }
30
36
 
@@ -49,7 +55,7 @@ declare const CaptureDecodeFailed_base: Schema.Class<CaptureDecodeFailed, Schema
49
55
  export declare interface CaptureModel {
50
56
  readonly name: string;
51
57
  /** Service-free decode view — the v4 counterpart of the removed no-context alias. */
52
- readonly schema: Schema.ConstraintDecoder<unknown> | undefined;
58
+ readonly schema: AnyConstraintDecoder | undefined;
53
59
  readonly default: string | undefined;
54
60
  }
55
61
 
@@ -173,17 +179,17 @@ export declare interface PlayContext<TArgs = unknown> {
173
179
  readonly step: StepFn;
174
180
  readonly userEvent: UserEventObject;
175
181
  readonly args: TArgs;
176
- readonly globals: Record<string, unknown>;
177
- readonly parameters: Record<string, unknown>;
178
- readonly loaded: Record<string, unknown>;
182
+ readonly globals: Record<string, AnyValue>;
183
+ readonly parameters: Record<string, AnyValue>;
184
+ readonly loaded: Record<string, AnyValue>;
179
185
  readonly abortSignal: AbortSignal;
180
186
  readonly reporting: ReportingAPI;
181
187
  }
182
188
 
183
- declare interface Report_2 {
189
+ declare interface Report_2<Result = unknown> {
184
190
  readonly type: string;
185
191
  readonly version?: number;
186
- readonly result: unknown;
192
+ readonly result: Result;
187
193
  readonly status: 'failed' | 'passed' | 'warning';
188
194
  }
189
195
  export { Report_2 as Report }
@@ -247,9 +253,9 @@ export declare interface StepContext<TArgs = unknown> {
247
253
  readonly userEvent: UserEventObject;
248
254
  readonly step: StepFn;
249
255
  readonly args: TArgs;
250
- readonly globals: Record<string, unknown>;
251
- readonly parameters: Record<string, unknown>;
252
- readonly loaded: Record<string, unknown>;
256
+ readonly globals: Record<string, AnyValue>;
257
+ readonly parameters: Record<string, AnyValue>;
258
+ readonly loaded: Record<string, AnyValue>;
253
259
  readonly canvasElement: HTMLElement;
254
260
  /**
255
261
  * Fires on story teardown (remount, navigation, HMR). Since the 2026-08-09
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@systemfsoftware/storybook-gherkin",
3
3
  "license": "Apache-2.0",
4
- "version": "3.0.5",
4
+ "version": "3.0.7",
5
5
  "author": "Ryan Lee <drdgvhbh@gmail.com>",
6
6
  "repository": {
7
7
  "type": "git",
@@ -63,16 +63,16 @@
63
63
  "typescript": "^7",
64
64
  "vite": "^8",
65
65
  "vitest": "^5",
66
- "@systemfsoftware/all": "^2.1.1",
67
- "@systemfsoftware/tsconfig": "^1.3.5",
68
- "@systemfsoftware/oxlint-config": "^0.1.0"
66
+ "@systemfsoftware/oxlint-config-recommended": "^1.1.0",
67
+ "@systemfsoftware/tsconfig": "^1.3.6",
68
+ "@systemfsoftware/tsdown-config": "^0.1.0"
69
69
  },
70
70
  "publishConfig": {
71
71
  "provenance": true
72
72
  },
73
73
  "scripts": {
74
74
  "clean": "rimraf dist",
75
- "build": "tsdown && pnpm dts:check && pnpm api:check",
75
+ "build": "tsdown -l warn && pnpm dts:check && pnpm api:check",
76
76
  "typecheck": "tsc --noEmit --incremental",
77
77
  "lint": "f=${OXLINT_FORMAT:-${AGENT:+agent}}; oxlint . --config oxlint.config.ts --format=${f:-default}",
78
78
  "lint:tsgo": "effect-tsgo diagnostics --project tsconfig.json --format ${TSGO_FORMAT:-text}",
@@ -80,7 +80,7 @@
80
80
  "dts:check": "node scripts/check-dts.mjs",
81
81
  "storybook": "storybook dev -p 6006 --no-open",
82
82
  "test:browser": "pnpm build && vitest run",
83
- "api:check": "tsdown && api-extractor run",
83
+ "api:check": "tsdown -l warn && api-extractor-quiet run",
84
84
  "api:update": "api-extractor run --local"
85
85
  }
86
86
  }