@xmachines/play-sveltekit-router 1.1.0 → 2.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/README.md +1 -2
- package/package.json +13 -11
package/README.md
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
SvelteKit router adapter for the XMachines Universal Player Architecture. Provides bidirectional synchronisation between a `RoutableActor`'s state machine routes and the browser URL via SvelteKit's `$app/navigation`.
|
|
4
4
|
|
|
5
|
-
[](https://opensource.org/licenses/MIT)
|
|
6
|
-
[](https://www.npmjs.com/package/@xmachines/play-sveltekit-router)
|
|
5
|
+
[](https://opensource.org/licenses/MIT) [](https://www.npmjs.com/package/@xmachines/play-sveltekit-router)
|
|
7
6
|
|
|
8
7
|
Part of the [xmachines-js monorepo](../../README.md).
|
|
9
8
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xmachines/play-sveltekit-router",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "SvelteKit router adapter for XMachines Universal Player Architecture",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"adapter",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"author": "XMachines Contributors",
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
18
|
-
"url": "git+
|
|
18
|
+
"url": "git+https://gitlab.com/xmachin-es/xmachines-js.git",
|
|
19
19
|
"directory": "packages/play-sveltekit-router"
|
|
20
20
|
},
|
|
21
21
|
"files": [
|
|
@@ -30,36 +30,38 @@
|
|
|
30
30
|
"exports": {
|
|
31
31
|
".": {
|
|
32
32
|
"types": "./dist/index.d.ts",
|
|
33
|
-
"
|
|
34
|
-
}
|
|
33
|
+
"default": "./dist/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./package.json": "./package.json"
|
|
35
36
|
},
|
|
36
37
|
"publishConfig": {
|
|
37
38
|
"access": "public"
|
|
38
39
|
},
|
|
39
40
|
"scripts": {
|
|
40
|
-
"build": "tsc --build",
|
|
41
|
+
"build": "vite build && tsc --build",
|
|
41
42
|
"lint": "oxlint .",
|
|
42
43
|
"format": "oxfmt .",
|
|
43
44
|
"test": "vitest",
|
|
44
45
|
"clean": "rm -rf dist *.tsbuildinfo coverage .vitest-attachments node_modules/.svelte2tsx-* node_modules/.vite*"
|
|
45
46
|
},
|
|
46
47
|
"dependencies": {
|
|
47
|
-
"@xmachines/play": "
|
|
48
|
-
"@xmachines/play-actor": "
|
|
49
|
-
"@xmachines/play-router": "
|
|
50
|
-
"@xmachines/play-signals": "
|
|
48
|
+
"@xmachines/play": "2.0.0",
|
|
49
|
+
"@xmachines/play-actor": "2.0.0",
|
|
50
|
+
"@xmachines/play-router": "2.0.0",
|
|
51
|
+
"@xmachines/play-signals": "2.0.0"
|
|
51
52
|
},
|
|
52
53
|
"devDependencies": {
|
|
53
54
|
"@sveltejs/kit": "^2.58.0",
|
|
54
55
|
"@sveltejs/vite-plugin-svelte": "^7.0.0",
|
|
55
56
|
"@testing-library/jest-dom": "^6.9.1",
|
|
56
57
|
"@types/node": "^26.2.0",
|
|
57
|
-
"@vitest/browser-playwright": "^4.1.
|
|
58
|
-
"@xmachines/play-svelte": "
|
|
58
|
+
"@vitest/browser-playwright": "^4.1.11",
|
|
59
|
+
"@xmachines/play-svelte": "2.0.0",
|
|
59
60
|
"oxfmt": "^0.64.0",
|
|
60
61
|
"oxlint": "^1.79.0",
|
|
61
62
|
"svelte": "^5.55.5",
|
|
62
63
|
"typescript": "^5.9.3 || ^6.0.3",
|
|
64
|
+
"vite": "^8.0.10",
|
|
63
65
|
"vitest": "^4.1.11",
|
|
64
66
|
"xstate": "^5.31.0"
|
|
65
67
|
},
|