@zjazj/web 0.0.0-stage → 0.0.2
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 +37 -2
- package/dist/index.d.ts +345 -0
- package/dist/index.js +999 -0
- package/dist/styles.css +12 -0
- package/package.json +56 -3
package/dist/styles.css
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Styles for a platform app. Import it once, after Tailwind, in the app's stylesheet:
|
|
3
|
+
*
|
|
4
|
+
* @import 'tailwindcss';
|
|
5
|
+
* @import '@zjazj/web/styles.css';
|
|
6
|
+
*
|
|
7
|
+
* It brings the theme and component styles of @zjazj/ui with it.
|
|
8
|
+
*/
|
|
9
|
+
@import '@zjazj/ui/styles.css';
|
|
10
|
+
|
|
11
|
+
/* Let Tailwind see the class names used inside the compiled layout shell. */
|
|
12
|
+
@source './';
|
package/package.json
CHANGED
|
@@ -1,6 +1,59 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zjazj/web",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"description": "Browser runtime for platform apps: session, typed API client, layout shell, guards and hooks.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "UNLICENSED",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/zjazj/platform-cli.git",
|
|
10
|
+
"directory": "packages/web"
|
|
11
|
+
},
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"default": "./dist/index.js"
|
|
16
|
+
},
|
|
17
|
+
"./styles.css": "./dist/styles.css"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"dist"
|
|
21
|
+
],
|
|
22
|
+
"sideEffects": [
|
|
23
|
+
"*.css",
|
|
24
|
+
"./dist/index.js"
|
|
25
|
+
],
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@logto/browser": "^3.1.2",
|
|
28
|
+
"hono": "^4.13.17",
|
|
29
|
+
"lucide-react": "^0.545.0",
|
|
30
|
+
"@zjazj/i18n": "^0.0.2",
|
|
31
|
+
"@zjazj/ui": "^0.0.2"
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@tanstack/react-query": "^5.90.0",
|
|
35
|
+
"@tanstack/react-router": "^1.132.0",
|
|
36
|
+
"react": "^19.0.0",
|
|
37
|
+
"react-dom": "^19.0.0"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@tanstack/react-query": "^5.107.1",
|
|
41
|
+
"@tanstack/react-router": "^1.170.46",
|
|
42
|
+
"@testing-library/react": "^16.3.3",
|
|
43
|
+
"@types/react": "^19.2.0",
|
|
44
|
+
"@types/react-dom": "^19.2.0",
|
|
45
|
+
"jsdom": "^26.1.0",
|
|
46
|
+
"react": "^19.2.0",
|
|
47
|
+
"react-dom": "^19.2.0",
|
|
48
|
+
"@zjazj/server": "^0.0.2"
|
|
49
|
+
},
|
|
50
|
+
"publishConfig": {
|
|
51
|
+
"access": "public",
|
|
52
|
+
"registry": "https://registry.npmjs.org/"
|
|
53
|
+
},
|
|
54
|
+
"scripts": {
|
|
55
|
+
"build": "tsup",
|
|
56
|
+
"test": "vitest run",
|
|
57
|
+
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
58
|
+
}
|
|
6
59
|
}
|