@xmachines/play-solid-router 1.0.0-beta.53 → 1.0.0-beta.55

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.
@@ -0,0 +1,62 @@
1
+ /**
2
+ * createPlayRouterProvider — factory for Solid `PlayRouterProvider` components
3
+ *
4
+ * Captures the provider component shape used by this package's
5
+ * `PlayRouterProvider` — create a bridge synchronously at component evaluation
6
+ * time, `connect()` it, and `disconnect()` in `onCleanup` — so that Solid
7
+ * bridges with the standard `(router, actor, routeMap)` constructor can be
8
+ * wrapped in a provider with a single call. Only the bridge class (and
9
+ * therefore the `router` prop type) differs between providers created by this
10
+ * factory.
11
+ *
12
+ * @packageDocumentation
13
+ */
14
+ import { type JSX } from "solid-js";
15
+ import type { PlayActor, RouteMap, RouterBridge } from "@xmachines/play-router";
16
+ /**
17
+ * Constructor shape a bridge class must satisfy to be used with
18
+ * `createPlayRouterProvider`: `(router, actor, routeMap) → RouterBridge`.
19
+ *
20
+ * Bridges with a different constructor shape (e.g. `SolidRouterBridge`, which
21
+ * takes the hook results as separate arguments) are adapted with a thin
22
+ * subclass that repackages the `router` prop.
23
+ */
24
+ export type PlayRouterBridgeConstructor<TRouter> = new (router: TRouter, actor: PlayActor, routeMap: RouteMap) => RouterBridge;
25
+ /**
26
+ * Props shared by every factory-created Solid `PlayRouterProvider`.
27
+ *
28
+ * Adapter packages re-export a concrete alias with `TRouter` bound to their
29
+ * router type (e.g. `SolidRouterHooks` in `@xmachines/play-solid-router`).
30
+ */
31
+ export interface PlayRouterProviderBaseProps<TRouter, TActor extends PlayActor = PlayActor> {
32
+ /** The actor to sync with the router. */
33
+ actor: TActor;
34
+ /** The router the bridge synchronizes with. */
35
+ router: TRouter;
36
+ /** Bidirectional route map for state ID ↔ URL path lookups. */
37
+ routeMap: RouteMap;
38
+ /** Renderer callback receives the same concrete actor type that was passed in. */
39
+ renderer: (actor: TActor, router: TRouter) => JSX.Element;
40
+ }
41
+ /**
42
+ * Create a Solid `PlayRouterProvider` component bound to a specific bridge class.
43
+ *
44
+ * The returned component connects a `PlayerActor` to the framework router,
45
+ * keeping actor state and browser URL in sync bidirectionally.
46
+ *
47
+ * The bridge is created synchronously at component evaluation time (Solid's
48
+ * execution model) and torn down via `onCleanup` when the component is disposed.
49
+ * Unlike React, prop stability is not a concern — Solid's `props` accessor is
50
+ * already reactive and the bridge is created once per component instance.
51
+ *
52
+ * @param BridgeCtor - Bridge class constructed as `new BridgeCtor(router, actor, routeMap)`.
53
+ * @returns A `PlayRouterProvider` component, generic over the actor type so the
54
+ * `renderer` callback receives the same concrete actor type that was passed in.
55
+ *
56
+ * @example
57
+ * ```tsx
58
+ * export const PlayRouterProvider = createPlayRouterProvider(MySolidRouterBridge);
59
+ * ```
60
+ */
61
+ export declare function createPlayRouterProvider<TRouter>(BridgeCtor: PlayRouterBridgeConstructor<TRouter>): <TActor extends PlayActor>(props: PlayRouterProviderBaseProps<TRouter, TActor>) => any;
62
+ //# sourceMappingURL=create-play-router-provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-play-router-provider.d.ts","sourceRoot":"","sources":["../src/create-play-router-provider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAa,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEhF;;;;;;;GAOG;AACH,MAAM,MAAM,2BAA2B,CAAC,OAAO,IAAI,KAClD,MAAM,EAAE,OAAO,EACf,KAAK,EAAE,SAAS,EAChB,QAAQ,EAAE,QAAQ,KACd,YAAY,CAAC;AAElB;;;;;GAKG;AACH,MAAM,WAAW,2BAA2B,CAAC,OAAO,EAAE,MAAM,SAAS,SAAS,GAAG,SAAS;IACzF,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,+CAA+C;IAC/C,MAAM,EAAE,OAAO,CAAC;IAChB,+DAA+D;IAC/D,QAAQ,EAAE,QAAQ,CAAC;IACnB,kFAAkF;IAClF,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,GAAG,CAAC,OAAO,CAAC;CAC1D;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAC/C,UAAU,EAAE,2BAA2B,CAAC,OAAO,CAAC,IAEb,MAAM,SAAS,SAAS,EAC1D,OAAO,2BAA2B,CAAC,OAAO,EAAE,MAAM,CAAC,SAWpD"}
@@ -0,0 +1,45 @@
1
+ /**
2
+ * createPlayRouterProvider — factory for Solid `PlayRouterProvider` components
3
+ *
4
+ * Captures the provider component shape used by this package's
5
+ * `PlayRouterProvider` — create a bridge synchronously at component evaluation
6
+ * time, `connect()` it, and `disconnect()` in `onCleanup` — so that Solid
7
+ * bridges with the standard `(router, actor, routeMap)` constructor can be
8
+ * wrapped in a provider with a single call. Only the bridge class (and
9
+ * therefore the `router` prop type) differs between providers created by this
10
+ * factory.
11
+ *
12
+ * @packageDocumentation
13
+ */
14
+ import { onCleanup } from "solid-js";
15
+ /**
16
+ * Create a Solid `PlayRouterProvider` component bound to a specific bridge class.
17
+ *
18
+ * The returned component connects a `PlayerActor` to the framework router,
19
+ * keeping actor state and browser URL in sync bidirectionally.
20
+ *
21
+ * The bridge is created synchronously at component evaluation time (Solid's
22
+ * execution model) and torn down via `onCleanup` when the component is disposed.
23
+ * Unlike React, prop stability is not a concern — Solid's `props` accessor is
24
+ * already reactive and the bridge is created once per component instance.
25
+ *
26
+ * @param BridgeCtor - Bridge class constructed as `new BridgeCtor(router, actor, routeMap)`.
27
+ * @returns A `PlayRouterProvider` component, generic over the actor type so the
28
+ * `renderer` callback receives the same concrete actor type that was passed in.
29
+ *
30
+ * @example
31
+ * ```tsx
32
+ * export const PlayRouterProvider = createPlayRouterProvider(MySolidRouterBridge);
33
+ * ```
34
+ */
35
+ export function createPlayRouterProvider(BridgeCtor) {
36
+ return function PlayRouterProvider(props) {
37
+ const bridge = new BridgeCtor(props.router, props.actor, props.routeMap);
38
+ void bridge.connect();
39
+ onCleanup(() => {
40
+ void bridge.disconnect();
41
+ });
42
+ return <>{props.renderer(props.actor, props.router)}</>;
43
+ };
44
+ }
45
+ //# sourceMappingURL=create-play-router-provider.jsx.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-play-router-provider.jsx","sourceRoot":"","sources":["../src/create-play-router-provider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,SAAS,EAAY,MAAM,UAAU,CAAC;AAkC/C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,UAAU,wBAAwB,CACvC,UAAgD;IAEhD,OAAO,SAAS,kBAAkB,CACjC,KAAmD;QAEnD,MAAM,MAAM,GAAG,IAAI,UAAU,CAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;QACzE,KAAK,MAAM,CAAC,OAAO,EAAE,CAAC;QAEtB,SAAS,CAAC,GAAG,EAAE;YACd,KAAK,MAAM,CAAC,UAAU,EAAE,CAAC;QAC1B,CAAC,CAAC,CAAC;QAEH,OAAO,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC;IACzD,CAAC,CAAC;AACH,CAAC"}
package/dist/index.d.ts CHANGED
@@ -7,6 +7,8 @@ export { SolidRouterBridge } from "./solid-router-bridge.js";
7
7
  export { PlayRouterProvider } from "./play-router-provider.js";
8
8
  export type { PlayRouterProviderProps, PlayActor, RoutableActor, // @deprecated — use PlayActor from @xmachines/play-router
9
9
  SolidRouterHooks, } from "./play-router-provider.js";
10
+ export { createPlayRouterProvider } from "./create-play-router-provider.js";
11
+ export type { PlayRouterProviderBaseProps, PlayRouterBridgeConstructor, } from "./create-play-router-provider.js";
10
12
  export { RouteMap, createRouteMap, type RouteMapping, type RouteMapOptions, } from "@xmachines/play-router";
11
13
  export type { PlayRouteEvent, RouterBridge } from "./types.js";
12
14
  export type { AbstractActor } from "@xmachines/play-actor";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,YAAY,EACX,uBAAuB,EACvB,SAAS,EACT,aAAa,EAAE,0DAA0D;AACzE,gBAAgB,GAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACN,QAAQ,EACR,cAAc,EACd,KAAK,YAAY,EACjB,KAAK,eAAe,GACpB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/D,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,YAAY,EACX,uBAAuB,EACvB,SAAS,EACT,aAAa,EAAE,0DAA0D;AACzE,gBAAgB,GAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,YAAY,EACX,2BAA2B,EAC3B,2BAA2B,GAC3B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACN,QAAQ,EACR,cAAc,EACd,KAAK,YAAY,EACjB,KAAK,eAAe,GACpB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/D,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC"}
package/dist/index.js CHANGED
@@ -5,5 +5,6 @@
5
5
  */
6
6
  export { SolidRouterBridge } from "./solid-router-bridge.js";
7
7
  export { PlayRouterProvider } from "./play-router-provider.js";
8
+ export { createPlayRouterProvider } from "./create-play-router-provider.js";
8
9
  export { RouteMap, createRouteMap, } from "@xmachines/play-router";
9
10
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAO/D,OAAO,EACN,QAAQ,EACR,cAAc,GAGd,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAO/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAK5E,OAAO,EACN,QAAQ,EACR,cAAc,GAGd,MAAM,wBAAwB,CAAC"}
@@ -1,6 +1,13 @@
1
- import { type JSX } from "solid-js";
1
+ /**
2
+ * PlayRouterProvider — Solid convenience wrapper for SolidRouterBridge
3
+ *
4
+ * Created via the shared `createPlayRouterProvider` factory: the bridge is
5
+ * created synchronously at component evaluation time and disconnected via
6
+ * `onCleanup` when the component is disposed.
7
+ */
2
8
  import type { Navigator, Location, Params } from "@solidjs/router";
3
- import type { RouteMap, PlayActor } from "@xmachines/play-router";
9
+ import type { PlayActor } from "@xmachines/play-router";
10
+ import { type PlayRouterProviderBaseProps } from "./create-play-router-provider.js";
4
11
  export type { PlayActor };
5
12
  /** @deprecated Use `PlayActor` from `@xmachines/play-router`. Will be removed in the next major version. */
6
13
  export type RoutableActor = PlayActor;
@@ -25,19 +32,14 @@ export type SolidRouterHooks = {
25
32
  location: Location;
26
33
  params: Params;
27
34
  };
28
- export interface PlayRouterProviderProps<TActor extends PlayActor = PlayActor> {
29
- /** The actor to sync with Solid Router. */
30
- actor: TActor;
31
- /** Bidirectional route map for state ID URL path lookups. */
32
- routeMap: RouteMap;
33
- /**
34
- * The three Solid Router hook results that drive bidirectional sync.
35
- * Obtain these from `useNavigate()`, `useLocation()`, and `useParams()`
36
- * in the parent component (they must be called inside a router context).
37
- */
38
- router: SolidRouterHooks;
39
- /** Renderer callback receives the same concrete actor type that was passed in. */
40
- renderer: (actor: TActor, router: SolidRouterHooks) => JSX.Element;
35
+ /**
36
+ * Props for the Solid Router `PlayRouterProvider`.
37
+ *
38
+ * `router` bundles the three Solid Router hook results that drive bidirectional
39
+ * sync. Obtain these from `useNavigate()`, `useLocation()`, and `useParams()`
40
+ * in the parent component (they must be called inside a router context).
41
+ */
42
+ export interface PlayRouterProviderProps<TActor extends PlayActor = PlayActor> extends PlayRouterProviderBaseProps<SolidRouterHooks, TActor> {
41
43
  }
42
44
  /**
43
45
  * Connects a `PlayerActor` to Solid Router, keeping actor state and browser URL
@@ -67,5 +69,5 @@ export interface PlayRouterProviderProps<TActor extends PlayActor = PlayActor> {
67
69
  * }
68
70
  * ```
69
71
  */
70
- export declare function PlayRouterProvider<TActor extends PlayActor>(props: PlayRouterProviderProps<TActor>): any;
72
+ export declare const PlayRouterProvider: <TActor extends PlayActor>(props: PlayRouterProviderBaseProps<SolidRouterHooks, TActor>) => any;
71
73
  //# sourceMappingURL=play-router-provider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"play-router-provider.d.ts","sourceRoot":"","sources":["../src/play-router-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEnE,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAElE,YAAY,EAAE,SAAS,EAAE,CAAC;AAE1B,4GAA4G;AAC5G,MAAM,MAAM,aAAa,GAAG,SAAS,CAAC;AAEtC;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC9B,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,WAAW,uBAAuB,CAAC,MAAM,SAAS,SAAS,GAAG,SAAS;IAC5E,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,+DAA+D;IAC/D,QAAQ,EAAE,QAAQ,CAAC;IACnB;;;;OAIG;IACH,MAAM,EAAE,gBAAgB,CAAC;IACzB,kFAAkF;IAClF,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,KAAK,GAAG,CAAC,OAAO,CAAC;CACnE;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,SAAS,SAAS,EAC1D,KAAK,EAAE,uBAAuB,CAAC,MAAM,CAAC,OAgBtC"}
1
+ {"version":3,"file":"play-router-provider.d.ts","sourceRoot":"","sources":["../src/play-router-provider.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,KAAK,EAAE,SAAS,EAAY,MAAM,wBAAwB,CAAC;AAElE,OAAO,EAEN,KAAK,2BAA2B,EAChC,MAAM,kCAAkC,CAAC;AAE1C,YAAY,EAAE,SAAS,EAAE,CAAC;AAE1B,4GAA4G;AAC5G,MAAM,MAAM,aAAa,GAAG,SAAS,CAAC;AAEtC;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC9B,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,WAAW,uBAAuB,CACvC,MAAM,SAAS,SAAS,GAAG,SAAS,CACnC,SAAQ,2BAA2B,CAAC,gBAAgB,EAAE,MAAM,CAAC;CAAG;AAYlE;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,kBAAkB,iGAAmD,CAAC"}
@@ -1,5 +1,14 @@
1
- import { onCleanup } from "solid-js";
2
1
  import { SolidRouterBridge } from "./solid-router-bridge.js";
2
+ import { createPlayRouterProvider, } from "./create-play-router-provider.js";
3
+ /**
4
+ * Adapter binding `SolidRouterBridge`'s hook-argument constructor to the
5
+ * `(router, actor, routeMap)` shape expected by `createPlayRouterProvider`.
6
+ */
7
+ class SolidHooksRouterBridge extends SolidRouterBridge {
8
+ constructor(router, actor, routeMap) {
9
+ super(router.navigate, router.location, router.params, actor, routeMap);
10
+ }
11
+ }
3
12
  /**
4
13
  * Connects a `PlayerActor` to Solid Router, keeping actor state and browser URL
5
14
  * in sync bidirectionally.
@@ -28,12 +37,5 @@ import { SolidRouterBridge } from "./solid-router-bridge.js";
28
37
  * }
29
38
  * ```
30
39
  */
31
- export function PlayRouterProvider(props) {
32
- const bridge = new SolidRouterBridge(props.router.navigate, props.router.location, props.router.params, props.actor, props.routeMap);
33
- bridge.connect();
34
- onCleanup(() => {
35
- bridge.disconnect();
36
- });
37
- return <>{props.renderer(props.actor, props.router)}</>;
38
- }
40
+ export const PlayRouterProvider = createPlayRouterProvider(SolidHooksRouterBridge);
39
41
  //# sourceMappingURL=play-router-provider.jsx.map
@@ -1 +1 @@
1
- {"version":3,"file":"play-router-provider.jsx","sourceRoot":"","sources":["../src/play-router-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAY,MAAM,UAAU,CAAC;AAE/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AA6C7D;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,UAAU,kBAAkB,CACjC,KAAsC;IAEtC,MAAM,MAAM,GAAG,IAAI,iBAAiB,CACnC,KAAK,CAAC,MAAM,CAAC,QAAQ,EACrB,KAAK,CAAC,MAAM,CAAC,QAAQ,EACrB,KAAK,CAAC,MAAM,CAAC,MAAM,EACnB,KAAK,CAAC,KAAK,EACX,KAAK,CAAC,QAAQ,CACd,CAAC;IACF,MAAM,CAAC,OAAO,EAAE,CAAC;IAEjB,SAAS,CAAC,GAAG,EAAE;QACd,MAAM,CAAC,UAAU,EAAE,CAAC;IACrB,CAAC,CAAC,CAAC;IAEH,OAAO,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC;AACzD,CAAC"}
1
+ {"version":3,"file":"play-router-provider.jsx","sourceRoot":"","sources":["../src/play-router-provider.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EACN,wBAAwB,GAExB,MAAM,kCAAkC,CAAC;AAwC1C;;;GAGG;AACH,MAAM,sBAAuB,SAAQ,iBAAiB;IACrD,YAAY,MAAwB,EAAE,KAAgB,EAAE,QAAkB;QACzE,KAAK,CAAC,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;IACzE,CAAC;CACD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,wBAAwB,CAAC,sBAAsB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@xmachines/play-solid-router",
3
- "version": "1.0.0-beta.53",
3
+ "version": "1.0.0-beta.55",
4
4
  "description": "SolidJS Router adapter for XMachines Universal Player Architecture",
5
5
  "license": "MIT",
6
6
  "author": "XMachines Contributors",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "git@gitlab.com:xmachin-es/xmachines-js.git",
9
+ "url": "git+ssh://git@gitlab.com/xmachin-es/xmachines-js.git",
10
10
  "directory": "packages/play-solid-router"
11
11
  },
12
12
  "files": [
@@ -33,20 +33,24 @@
33
33
  "format": "oxfmt .",
34
34
  "test": "vitest",
35
35
  "test:watch": "vitest",
36
- "clean": "rm -rf dist *.tsbuildinfo coverage node_modules/.svelte2tsx-*",
36
+ "clean": "rm -rf dist *.tsbuildinfo coverage node_modules/.svelte2tsx-* node_modules/.vite*",
37
37
  "prepublishOnly": "npm run build"
38
38
  },
39
39
  "dependencies": {
40
- "@xmachines/play": "1.0.0-beta.53",
41
- "@xmachines/play-actor": "1.0.0-beta.53",
42
- "@xmachines/play-router": "1.0.0-beta.53",
43
- "@xmachines/play-signals": "1.0.0-beta.53"
40
+ "@xmachines/play": "1.0.0-beta.55",
41
+ "@xmachines/play-actor": "1.0.0-beta.55",
42
+ "@xmachines/play-router": "1.0.0-beta.55",
43
+ "@xmachines/play-signals": "1.0.0-beta.55"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@solidjs/router": "^0.16.1",
47
47
  "@solidjs/testing-library": "^0.8.10",
48
- "@xmachines/play-xstate": "1.0.0-beta.53",
49
- "@xmachines/shared": "1.0.0-beta.53",
48
+ "@testing-library/jest-dom": "^6.9.1",
49
+ "@types/node": "^25.6.0",
50
+ "@vitest/browser-playwright": "^4.1.5",
51
+ "@xmachines/play-router-shared": "1.0.0-beta.55",
52
+ "@xmachines/play-xstate": "1.0.0-beta.55",
53
+ "@xmachines/shared": "1.0.0-beta.55",
50
54
  "jsdom": "^29.1.0",
51
55
  "oxfmt": "^0.47.0",
52
56
  "oxlint": "^1.62.0",