@stratal/inertia 0.0.1

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/package.json ADDED
@@ -0,0 +1,107 @@
1
+ {
2
+ "name": "@stratal/inertia",
3
+ "version": "0.0.1",
4
+ "description": "Inertia.js v3 server adapter for Stratal framework — server-driven React SPAs",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "author": "Temitayo Fadojutimi",
8
+ "homepage": "https://github.com/strataljs/stratal#readme",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/strataljs/stratal.git",
12
+ "directory": "packages/inertia"
13
+ },
14
+ "bugs": {
15
+ "url": "https://github.com/strataljs/stratal/issues"
16
+ },
17
+ "keywords": [
18
+ "stratal",
19
+ "inertia",
20
+ "inertiajs",
21
+ "react",
22
+ "ssr",
23
+ "cloudflare-workers",
24
+ "server-driven-spa"
25
+ ],
26
+ "engines": {
27
+ "node": ">=22.0.0"
28
+ },
29
+ "publishConfig": {
30
+ "access": "public",
31
+ "provenance": false
32
+ },
33
+ "files": [
34
+ "dist",
35
+ "global.d.ts",
36
+ "README.md"
37
+ ],
38
+ "exports": {
39
+ ".": {
40
+ "types": "./dist/index.d.mts",
41
+ "import": "./dist/index.mjs"
42
+ },
43
+ "./vite": {
44
+ "types": "./dist/vite.d.mts",
45
+ "import": "./dist/vite.mjs"
46
+ },
47
+ "./package.json": "./package.json"
48
+ },
49
+ "scripts": {
50
+ "build": "tsdown",
51
+ "typecheck": "tsc --noEmit",
52
+ "test": "vitest run",
53
+ "test:watch": "vitest",
54
+ "lint": "npx eslint .",
55
+ "lint:fix": "npx eslint --fix ."
56
+ },
57
+ "dependencies": {
58
+ "ts-morph": "^27.0.2"
59
+ },
60
+ "peerDependencies": {
61
+ "@inertiajs/core": "^3.0.0-beta.5",
62
+ "@inertiajs/react": "^3.0.0-beta.5",
63
+ "@inertiajs/vite": "^3.0.0-beta.5",
64
+ "hono": "^4.12.8",
65
+ "react": "^19.0.0",
66
+ "react-dom": "^19.0.0",
67
+ "reflect-metadata": "^0.2.2",
68
+ "stratal": "^0.0.17"
69
+ },
70
+ "peerDependenciesMeta": {
71
+ "@inertiajs/core": {
72
+ "optional": true
73
+ },
74
+ "@inertiajs/react": {
75
+ "optional": true
76
+ },
77
+ "@inertiajs/vite": {
78
+ "optional": true
79
+ },
80
+ "react": {
81
+ "optional": true
82
+ },
83
+ "react-dom": {
84
+ "optional": true
85
+ }
86
+ },
87
+ "devDependencies": {
88
+ "@cloudflare/workers-types": "4.20260317.1",
89
+ "@inertiajs/core": "^3.0.0-beta.5",
90
+ "@inertiajs/vite": "^3.0.0-beta.5",
91
+ "@stratal/testing": "workspace:*",
92
+ "@types/node": "^25.5.0",
93
+ "@types/react": "^19.2.14",
94
+ "@types/react-dom": "^19.2.3",
95
+ "@vitest/runner": "~4.1.0",
96
+ "@vitest/snapshot": "~4.1.0",
97
+ "hono": "^4.12.8",
98
+ "react": "^19.2.4",
99
+ "react-dom": "^19.2.4",
100
+ "reflect-metadata": "^0.2.2",
101
+ "stratal": "workspace:*",
102
+ "tsdown": "^0.21.4",
103
+ "typescript": "^5.9.3",
104
+ "vite": "^8.0.1",
105
+ "vitest": "~4.1.0"
106
+ }
107
+ }