@wizardkit/solid 0.0.0-stage → 1.13.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Georgiy Tsamaladze
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,114 @@
1
- # Temporary Holding Version
1
+ # @wizardkit/solid
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Solid.js integration for the Wizard framework — a signal-backed `createWizard()` with fine-grained reactive getters.
4
+
5
+ ## Features
6
+
7
+ - **Signal-backed** - every property is a reactive getter; read it in JSX or `createEffect` and only that channel is tracked
8
+ - **Atomic updates** - state, navigation, validation and loading update in one `batch()`, so effects never see a half-applied transition
9
+ - **Two-way binding** - `wizard.field('name')` returns `{ get value, set value }` routed through `machine.updateField`
10
+ - **Context** - `<WizardProvider wizard={wizard}>` + `useWizardContext()` / `hasWizardContext()`
11
+ - **Owner-aware lifecycle** - destroyed with the owning component or `createRoot`; manual `destroy()` otherwise
12
+ - **Full Type Safety** - TypeScript generics for your data types
13
+
14
+ ## Installation
15
+
16
+ ```bash
17
+ npm install @wizardkit/solid @wizardkit/core
18
+ # or
19
+ pnpm add @wizardkit/solid @wizardkit/core
20
+ ```
21
+
22
+ Requires `solid-js` 1.8 or newer (Solid 1.x). Solid 2.0 is not supported yet.
23
+
24
+ ## Quick Start
25
+
26
+ ```tsx
27
+ import { createLinearWizard } from "@wizardkit/core";
28
+ import { createWizard } from "@wizardkit/solid";
29
+ import { Match, Switch } from "solid-js";
30
+
31
+ type Signup = { name: string; plan: string };
32
+
33
+ const definition = createLinearWizard<Signup>({
34
+ id: "signup",
35
+ steps: [
36
+ {
37
+ id: "personal",
38
+ title: "Personal",
39
+ validate: async (d) =>
40
+ d.name ? { valid: true } : { valid: false, errors: { name: "Required" } },
41
+ },
42
+ { id: "plan", title: "Plan" },
43
+ ],
44
+ });
45
+
46
+ export function Signup() {
47
+ const wizard = createWizard({
48
+ definition,
49
+ initialData: { name: "", plan: "basic" },
50
+ onComplete: (data) => console.log("done", data),
51
+ });
52
+ const name = wizard.field("name");
53
+
54
+ return (
55
+ <form onSubmit={(e) => e.preventDefault()}>
56
+ <h2>{wizard.currentStep.meta?.title}</h2>
57
+ <Switch>
58
+ <Match when={wizard.currentStepId === "personal"}>
59
+ <input value={name.value} onInput={(e) => (name.value = e.currentTarget.value)} />
60
+ <p>{wizard.validationErrors?.name}</p>
61
+ </Match>
62
+ <Match when={wizard.currentStepId === "plan"}>
63
+ <p>Plan: {wizard.data.plan}</p>
64
+ </Match>
65
+ </Switch>
66
+ <button
67
+ type="button"
68
+ onClick={() => void wizard.goPrevious().catch(() => {})}
69
+ disabled={!wizard.canGoPrevious}
70
+ >
71
+ Back
72
+ </button>
73
+ <button
74
+ type="button"
75
+ onClick={() => void wizard.goNext().catch(() => {})}
76
+ disabled={wizard.isNavigating}
77
+ >
78
+ {/* On the last step goNext() completes the wizard; canGoNext is false there. */}
79
+ {wizard.progress.isLastStep ? "Finish" : "Next"}
80
+ </button>
81
+ </form>
82
+ );
83
+ }
84
+ ```
85
+
86
+ ## Reactivity rules
87
+
88
+ - Read properties **inside** JSX, `createEffect` or `createMemo`. Destructuring (`const { canGoNext } = wizard`) reads once and loses reactivity — same as Solid props.
89
+ - Tracking is per channel (`state`, `navigation`, `validation`, `loading`), not per field.
90
+ - `definition`, `initialData`, `context` and `plugins` are read once. Recreate the wizard to reconfigure.
91
+
92
+ ## Things to know
93
+
94
+ - `canGoNext` and `isLastStep` are seeded synchronously from `progress.isLastStep` (on creation and on every step change), so they are correct on first render for synchronous graphs; a step whose `next` is an async resolver starts as "not last" until the async computation settles. `canGoPrevious` and `availableSteps` come only from that async computation: right after creation `canGoPrevious` is `false` and `availableSteps` is empty.
95
+ - `canGoNext` means "a next step exists", not "the current step is valid" — validation runs inside `goNext()`.
96
+ - Loading flags (`isNavigating`, `isValidating`, `isSubmitting`) are reference-counted: a flag stays `true` while any operation that set it is still in flight, so a double-clicked Next rejected as busy, or an overlapping `validate()`, no longer clears another operation's flag. `isLoadingStep` (a lazy step's implementation is loading) mirrors the machine and is not set by `actions.preloadStep(stepId)`, which never rejects (safe to fire and forget; failures are reported by the navigation that needs the step).
97
+ - `goNext()`, `goPrevious()`, `goTo()`, `submit()` and `cancel()` reject on failure (for example an invalid step) in addition to reporting to `onError` — `await` them in a `try`, or `.catch(() => {})` when the UI already renders `validationErrors`. `validate()` **resolves** and exposes the result via `isValid` / `validationErrors`, even on an invalid step — it rejects only if the operation was already aborted (via an `AbortSignal` passed in context) before the call; a `reset()`/`cancel()` while it is in flight does not reject it, it just supersedes the result. `validateAll()` also **resolves** with a `ValidationSummary` even when steps are invalid (a throwing step validator counts as invalid) — it rejects if the wizard was already aborted, or if a step's `enabled` guard throws. A `reset()`/`cancel()`/`restore()`/`destroy()` fired while it's running does not cancel it, but with `updateStatuses: true` its step statuses are no longer written into the (now post-reset) state.
98
+
99
+ ## Lifecycle
100
+
101
+ Created inside a component or `createRoot`, the wizard is destroyed with its owner (`autoDestroy: true` by default). Created elsewhere (module scope, a shared store), call `await wizard.destroy()` yourself.
102
+
103
+ ## Errors
104
+
105
+ Machine errors go to `onError`. A `createEffect` that throws while the wizard updates its signals is also reported to `onError` (unless an `<ErrorBoundary>` catches it first): the wizard keeps working, but Solid may leave other effects of that update stale — wrap user effects in `<ErrorBoundary>` or `catchError`. This covers every signal update, including loading-flag changes and the async navigation recompute. Without an `onError`, these effect errors and `reset()` / `restore()` failures are logged with `console.error` instead of being dropped.
106
+
107
+ ## Documentation
108
+
109
+ - [Solid Integration guide](https://wizardkit.dev/guide/solid-integration)
110
+ - [Solid API reference](https://wizardkit.dev/guide/api/solid)
111
+
112
+ ## License
113
+
114
+ MIT
@@ -0,0 +1,17 @@
1
+ import { WizardData } from '@wizardkit/core';
2
+ import { JSX } from 'solid-js';
3
+ import { Wizard } from './types';
4
+ export interface WizardProviderProps<T extends WizardData> {
5
+ /** An existing wizard from `createWizard()`. Read once; the provider never destroys it. */
6
+ wizard: Wizard<T>;
7
+ children?: JSX.Element;
8
+ }
9
+ /**
10
+ * Publishes an existing wizard to descendants. Written with `createComponent`
11
+ * (no JSX) so the package ships as plain TypeScript.
12
+ */
13
+ export declare function WizardProvider<T extends WizardData>(props: WizardProviderProps<T>): JSX.Element;
14
+ /** @throws Error when no ancestor rendered `<WizardProvider wizard={...}>`. */
15
+ export declare function useWizardContext<T extends WizardData>(): Wizard<T>;
16
+ /** Non-throwing probe; `useContext` returns the default outside a provider or owner. */
17
+ export declare function hasWizardContext(): boolean;
@@ -0,0 +1,11 @@
1
+ import { WizardData } from '@wizardkit/core';
2
+ import { CreateWizardOptions, Wizard } from './types';
3
+ /**
4
+ * Creates a signal-backed wizard.
5
+ *
6
+ * The four manager channels (state / validation / navigation / loading) are
7
+ * mirrored into four signals. The manager hands out cached snapshots and
8
+ * keeps an unaffected channel's reference, so Solid's default `===` equality
9
+ * skips signals whose channel did not change.
10
+ */
11
+ export declare function createWizard<T extends WizardData>(options: CreateWizardOptions<T>): Wizard<T>;
@@ -0,0 +1,6 @@
1
+ export type { WizardProgress, WizardSerializedState, } from '@wizardkit/core';
2
+ export { WizardRestoreError } from '@wizardkit/core';
3
+ export { type LoadingState, type NavigationState, type StateSnapshot, type SubscriptionChannel, type ValidationState, WizardStateManager, } from '@wizardkit/state';
4
+ export { hasWizardContext, useWizardContext, WizardProvider, type WizardProviderProps, } from './context';
5
+ export { createWizard } from './create-wizard';
6
+ export type { CreateWizardOptions, Wizard, WizardField, WizardStoreActions, WizardStoreLoading, WizardStoreNavigation, WizardStoreState, WizardStoreValidation, } from './types';
package/dist/index.js ADDED
@@ -0,0 +1,161 @@
1
+ import { WizardRestoreError as e } from "@wizardkit/core";
2
+ import { WizardStateManager as t, createMachineAndManager as n, createWizardActions as r } from "@wizardkit/state";
3
+ import { batch as i, createComponent as a, createContext as o, createSignal as s, getOwner as c, onCleanup as l, useContext as u } from "solid-js";
4
+ //#region src/context.ts
5
+ var d = o(void 0);
6
+ function f(e) {
7
+ return a(d.Provider, {
8
+ value: e.wizard,
9
+ get children() {
10
+ return e.children;
11
+ }
12
+ });
13
+ }
14
+ function p() {
15
+ let e = u(d);
16
+ if (!e) throw Error("useWizardContext() must be called inside a <WizardProvider wizard={...}>.");
17
+ return e;
18
+ }
19
+ function m() {
20
+ return u(d) !== void 0;
21
+ }
22
+ //#endregion
23
+ //#region src/create-wizard.ts
24
+ function h(e) {
25
+ let { definition: t, initialData: a, context: o = {}, plugins: u, autoDestroy: d = !0, ...f } = e, { machine: p, manager: m } = n({
26
+ definition: t,
27
+ context: o,
28
+ initialData: a,
29
+ getCallbacks: () => f,
30
+ plugins: u
31
+ }), h = (e) => {
32
+ let t = e instanceof Error ? e : Error(String(e));
33
+ f.onError ? f.onError(t) : console.error(t);
34
+ }, [g, _] = s(m.getStateSnapshot()), [v, y] = s(m.getValidationSnapshot()), [b, x] = s(m.getNavigationSnapshot()), [S, C] = s(m.getLoadingSnapshot()), w = () => {
35
+ _(m.getStateSnapshot()), x(m.getNavigationSnapshot()), y(m.getValidationSnapshot()), C(m.getLoadingSnapshot());
36
+ };
37
+ m.subscribe(() => {
38
+ try {
39
+ i(w);
40
+ } catch (e) {
41
+ h(e);
42
+ }
43
+ }, "all");
44
+ let T = r(m, h), { goNext: E, goPrevious: D, goTo: O } = T, k = {
45
+ updateData: T.updateData,
46
+ setData: T.setData,
47
+ updateField: T.updateField,
48
+ validate: T.validate,
49
+ validateAll: T.validateAll,
50
+ canSubmit: T.canSubmit,
51
+ submit: T.submit,
52
+ reset: T.reset,
53
+ cancel: T.cancel,
54
+ serialize: T.serialize,
55
+ restore: T.restore,
56
+ preloadStep: T.preloadStep
57
+ }, A = /* @__PURE__ */ new Map(), j = (e) => {
58
+ let t = A.get(e);
59
+ if (t) return t;
60
+ let n = {
61
+ get value() {
62
+ return g().data[e];
63
+ },
64
+ set value(t) {
65
+ p.updateField(e, t);
66
+ }
67
+ };
68
+ return A.set(e, n), n;
69
+ }, M = !1, N = async () => {
70
+ M || (M = !0, await m.destroy());
71
+ };
72
+ return d && c() && l(() => {
73
+ N();
74
+ }), {
75
+ get currentStepId() {
76
+ return g().currentStepId;
77
+ },
78
+ get currentStep() {
79
+ return g().currentStep;
80
+ },
81
+ get data() {
82
+ return g().data;
83
+ },
84
+ get isCompleted() {
85
+ return g().isCompleted;
86
+ },
87
+ get stepStatuses() {
88
+ return g().stepStatuses;
89
+ },
90
+ get progress() {
91
+ return g().progress;
92
+ },
93
+ get isValid() {
94
+ return v().isValid;
95
+ },
96
+ get validationErrors() {
97
+ return v().validationErrors;
98
+ },
99
+ get canGoNext() {
100
+ return b().canGoNext;
101
+ },
102
+ get canGoPrevious() {
103
+ return b().canGoPrevious;
104
+ },
105
+ get canGoBack() {
106
+ return b().canGoBack;
107
+ },
108
+ get isFirstStep() {
109
+ return b().isFirstStep;
110
+ },
111
+ get isLastStep() {
112
+ return b().isLastStep;
113
+ },
114
+ get visitedSteps() {
115
+ return b().visitedSteps;
116
+ },
117
+ get availableSteps() {
118
+ return b().availableSteps;
119
+ },
120
+ get stepHistory() {
121
+ return b().stepHistory;
122
+ },
123
+ get isValidating() {
124
+ return S().isValidating;
125
+ },
126
+ get isSubmitting() {
127
+ return S().isSubmitting;
128
+ },
129
+ get isNavigating() {
130
+ return S().isNavigating;
131
+ },
132
+ get isLoadingStep() {
133
+ return S().isLoadingStep;
134
+ },
135
+ get state() {
136
+ return g();
137
+ },
138
+ get validation() {
139
+ return v();
140
+ },
141
+ get navigation() {
142
+ return b();
143
+ },
144
+ get loading() {
145
+ return S();
146
+ },
147
+ actions: k,
148
+ goNext: E,
149
+ goPrevious: D,
150
+ goTo: O,
151
+ field: j,
152
+ getMachine: () => p,
153
+ getManager: () => m,
154
+ destroy: N,
155
+ get isDestroyed() {
156
+ return M || m.isDestroyed;
157
+ }
158
+ };
159
+ }
160
+ //#endregion
161
+ export { f as WizardProvider, e as WizardRestoreError, t as WizardStateManager, h as createWizard, m as hasWizardContext, p as useWizardContext };
@@ -0,0 +1,126 @@
1
+ import { GoToOptions, StepId, StepStatus, ValidationSummary, WizardContext, WizardData, WizardDefinition, WizardMachine, WizardPlugin, WizardProgress, WizardSerializedState, WizardState, WizardStepDefinition } from '@wizardkit/core';
2
+ import { LoadingState, NavigationState, StateSnapshot, ValidationState, WizardStateManager } from '@wizardkit/state';
3
+ /**
4
+ * Options accepted by `createWizard()`.
5
+ */
6
+ export interface CreateWizardOptions<T extends WizardData> {
7
+ /** Read ONCE at creation — NOT reactive. Recreate the wizard to reconfigure. */
8
+ definition: WizardDefinition<T>;
9
+ /** Read ONCE at creation — NOT reactive. */
10
+ initialData: T;
11
+ /** Read ONCE at creation — NOT reactive. Defaults to `{}`. */
12
+ context?: WizardContext;
13
+ onStateChange?: (state: WizardState<T>) => void;
14
+ onStepEnter?: (stepId: StepId, data: T) => void;
15
+ onStepLeave?: (stepId: StepId, data: T) => void;
16
+ onComplete?: (data: T) => void;
17
+ onCancel?: (data: T) => void | Promise<void>;
18
+ onReset?: () => void;
19
+ /**
20
+ * Receives machine errors AND errors thrown by Solid effects while the wizard
21
+ * pushes new state into its signals (when no `<ErrorBoundary>` catches them).
22
+ * When omitted, those effect errors and `reset()` / `restore()` failures are
23
+ * logged with `console.error` instead of being dropped.
24
+ * Must not throw — a throw propagates to the caller, as in every other binding.
25
+ */
26
+ onError?: (error: Error) => void;
27
+ onDataChange?: (prevData: T, nextData: T, changedFields: (keyof T)[]) => void;
28
+ /**
29
+ * Plugins registered once at machine creation (read once, NOT reactive).
30
+ * `onInit` is dispatched fire-and-forget and may run concurrently with the
31
+ * initial step's `onEnter`.
32
+ */
33
+ plugins?: WizardPlugin<T>[];
34
+ /**
35
+ * When true (default) and `createWizard()` runs under a Solid owner (a
36
+ * component or `createRoot`), the wizard registers
37
+ * `onCleanup(() => void wizard.destroy())`. Without an owner nothing is
38
+ * registered and you own `destroy()` yourself.
39
+ */
40
+ autoDestroy?: boolean;
41
+ }
42
+ /** State slice (current step, data, statuses, progress). */
43
+ export type WizardStoreState<T extends WizardData> = StateSnapshot<T>;
44
+ /** Validation slice. */
45
+ export type WizardStoreValidation = ValidationState;
46
+ /** Navigation slice (computed asynchronously by the manager). */
47
+ export type WizardStoreNavigation = NavigationState;
48
+ /** Loading slice (async operation flags). */
49
+ export type WizardStoreLoading = LoadingState;
50
+ /**
51
+ * Actions slice - data mutations and validation
52
+ */
53
+ export interface WizardStoreActions<T extends WizardData> {
54
+ updateData: (updater: (data: T) => T) => void;
55
+ setData: (data: T) => void;
56
+ updateField: <K extends keyof T>(field: K, value: T[K]) => void;
57
+ validate: () => Promise<void>;
58
+ validateAll: (options?: {
59
+ updateStatuses?: boolean;
60
+ }) => Promise<ValidationSummary>;
61
+ canSubmit: () => Promise<boolean>;
62
+ submit: () => Promise<void>;
63
+ /** Fire-and-forget; failures are reported through `onError`. */
64
+ reset: (data?: T) => void;
65
+ cancel: () => Promise<void>;
66
+ serialize: () => WizardSerializedState<T>;
67
+ /** Fire-and-forget; failures (e.g. `WizardRestoreError`) go to `onError`. */
68
+ restore: (state: WizardSerializedState<T>) => void;
69
+ /**
70
+ * Loads a lazy step's implementation ahead of navigation (WIZ-013).
71
+ * Never rejects: meant for fire-and-forget hover/focus handlers; failures
72
+ * are reported by the navigation that needs the step.
73
+ */
74
+ preloadStep: (stepId: StepId) => Promise<void>;
75
+ }
76
+ /**
77
+ * A two-way binding target for one top-level data field.
78
+ * `<input value={f.value} onInput={(e) => (f.value = e.currentTarget.value)} />`
79
+ */
80
+ export interface WizardField<V> {
81
+ get value(): V;
82
+ set value(v: V);
83
+ }
84
+ /**
85
+ * The signal-backed wizard returned by `createWizard()`.
86
+ *
87
+ * Every property below is a reactive getter: read it inside JSX, `createEffect`
88
+ * or `createMemo` to track it. Destructuring (`const { canGoNext } = wizard`)
89
+ * reads once and loses reactivity, exactly like Solid props.
90
+ */
91
+ export interface Wizard<T extends WizardData> {
92
+ readonly currentStepId: StepId;
93
+ readonly currentStep: WizardStepDefinition<T>;
94
+ readonly data: T;
95
+ readonly isCompleted: boolean;
96
+ readonly stepStatuses: Record<StepId, StepStatus>;
97
+ readonly progress: WizardProgress;
98
+ readonly isValid: boolean;
99
+ readonly validationErrors: Record<string, string> | undefined;
100
+ readonly canGoNext: boolean;
101
+ readonly canGoPrevious: boolean;
102
+ readonly canGoBack: boolean;
103
+ readonly isFirstStep: boolean;
104
+ readonly isLastStep: boolean;
105
+ readonly visitedSteps: StepId[];
106
+ readonly availableSteps: StepId[];
107
+ readonly stepHistory: StepId[];
108
+ readonly isValidating: boolean;
109
+ readonly isSubmitting: boolean;
110
+ readonly isNavigating: boolean;
111
+ readonly isLoadingStep: boolean;
112
+ readonly state: WizardStoreState<T>;
113
+ readonly validation: WizardStoreValidation;
114
+ readonly navigation: WizardStoreNavigation;
115
+ readonly loading: WizardStoreLoading;
116
+ readonly actions: WizardStoreActions<T>;
117
+ goNext(): Promise<void>;
118
+ goPrevious(): Promise<void>;
119
+ goTo(stepId: StepId, options?: GoToOptions): Promise<void>;
120
+ /** Stable reference per key; reads are reactive, writes go through `machine.updateField`. */
121
+ field<K extends keyof T>(key: K): WizardField<T[K]>;
122
+ getMachine(): WizardMachine<T>;
123
+ getManager(): WizardStateManager<T>;
124
+ destroy(): Promise<void>;
125
+ readonly isDestroyed: boolean;
126
+ }
package/package.json CHANGED
@@ -1,6 +1,78 @@
1
1
  {
2
2
  "name": "@wizardkit/solid",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "1.13.0",
4
+ "description": "Headless multi-step form and wizard for Solid.js. Signal-backed createWizard with conditional steps, validation and navigation history, powered by WizardKit.",
5
+ "keywords": [
6
+ "wizard",
7
+ "multi-step-form",
8
+ "multistep",
9
+ "stepper",
10
+ "form-wizard",
11
+ "onboarding",
12
+ "state-machine",
13
+ "headless",
14
+ "typescript",
15
+ "solid",
16
+ "solid-js",
17
+ "solidjs",
18
+ "signals",
19
+ "solid-wizard",
20
+ "solid-stepper"
21
+ ],
22
+ "homepage": "https://wizardkit.dev/guide/solid-integration",
23
+ "bugs": {
24
+ "url": "https://github.com/gooonzick/wizard/issues"
25
+ },
26
+ "type": "module",
27
+ "sideEffects": false,
28
+ "main": "./dist/index.js",
29
+ "module": "./dist/index.js",
30
+ "types": "./dist/index.d.ts",
31
+ "exports": {
32
+ ".": {
33
+ "types": "./dist/index.d.ts",
34
+ "import": "./dist/index.js"
35
+ },
36
+ "./package.json": "./package.json"
37
+ },
38
+ "files": [
39
+ "dist",
40
+ "README.md"
41
+ ],
42
+ "peerDependencies": {
43
+ "solid-js": "^1.8.0"
44
+ },
45
+ "dependencies": {
46
+ "@wizardkit/core": "1.13.0",
47
+ "@wizardkit/state": "1.13.0"
48
+ },
49
+ "devDependencies": {
50
+ "@biomejs/biome": "^2.5.3",
51
+ "@solidjs/testing-library": "^0.8.10",
52
+ "@types/node": "^26.1.1",
53
+ "@vitest/coverage-v8": "^4.1.10",
54
+ "jsdom": "^29.1.1",
55
+ "solid-js": "^1.9.15",
56
+ "typescript": "^6.0.3",
57
+ "vite": "^8.1.4",
58
+ "vite-plugin-dts": "^5.0.3",
59
+ "vite-plugin-solid": "^2.11.14",
60
+ "vitest": "^4.1.10"
61
+ },
62
+ "repository": {
63
+ "type": "git",
64
+ "url": "https://github.com/gooonzick/wizard",
65
+ "directory": "packages/solid"
66
+ },
67
+ "publishConfig": {
68
+ "access": "public"
69
+ },
70
+ "scripts": {
71
+ "build": "vite build",
72
+ "typecheck": "tsc --build --verbose",
73
+ "test": "vitest --run",
74
+ "test:watch": "vitest --watch",
75
+ "lint": "biome check .",
76
+ "lint:fix": "biome check . --write"
77
+ }
6
78
  }