@kitr/kit-dashboard 0.5.0 → 0.7.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 -1
- package/package.json +41 -4
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitr/kit-dashboard",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "kitr new --kit dashboard: A logged-in app on an external API: http, forms, tables, state, theme, tailwind, auth, mocks, testing.",
|
|
5
5
|
"kitr": {
|
|
6
6
|
"name": "dashboard",
|
|
@@ -9,7 +9,44 @@
|
|
|
9
9
|
"category": "kits",
|
|
10
10
|
"runsOn": "both",
|
|
11
11
|
"kind": "kit",
|
|
12
|
-
"setup": "./kitr"
|
|
12
|
+
"setup": "./kitr",
|
|
13
|
+
"kit": {
|
|
14
|
+
"audience": "Teams building an admin or internal tool on an API they already run.",
|
|
15
|
+
"highlights": [
|
|
16
|
+
{
|
|
17
|
+
"title": "Talks to your API",
|
|
18
|
+
"text": "`http` is pointed at `VITE_API_URL`, with typed requests and errors."
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"title": "Sign-in with tokens",
|
|
22
|
+
"text": "`auth` keeps the session and guards pages; `app/abilities.ts` holds the permissions."
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"title": "Build before the API exists",
|
|
26
|
+
"text": "Set `VITE_MOCKS=true` and the handlers in `app/mocks/` answer every request."
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"title": "Eleven components to own",
|
|
30
|
+
"text": "Button, form, data table, app shell and more, copied into `app/components/ui`."
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"example": "examples/dashboard",
|
|
34
|
+
"entry": "app/routes.ts",
|
|
35
|
+
"run": [
|
|
36
|
+
[
|
|
37
|
+
"kitr dev",
|
|
38
|
+
"The dashboard in the browser"
|
|
39
|
+
],
|
|
40
|
+
[
|
|
41
|
+
"kitr build",
|
|
42
|
+
"A single-page build in `dist/site`"
|
|
43
|
+
],
|
|
44
|
+
[
|
|
45
|
+
"npm test",
|
|
46
|
+
"Vitest, starting with the home page test"
|
|
47
|
+
]
|
|
48
|
+
]
|
|
49
|
+
}
|
|
13
50
|
},
|
|
14
51
|
"type": "module",
|
|
15
52
|
"license": "MIT",
|
|
@@ -18,7 +55,7 @@
|
|
|
18
55
|
"url": "git+https://github.com/kitrjs/kitr.git",
|
|
19
56
|
"directory": "packages/kit-dashboard"
|
|
20
57
|
},
|
|
21
|
-
"homepage": "https://kitr.dev/
|
|
58
|
+
"homepage": "https://kitr.dev/kits/dashboard",
|
|
22
59
|
"bugs": "https://github.com/kitrjs/kitr/issues",
|
|
23
60
|
"publishConfig": {
|
|
24
61
|
"access": "public"
|
|
@@ -40,7 +77,7 @@
|
|
|
40
77
|
"kitr-kit"
|
|
41
78
|
],
|
|
42
79
|
"dependencies": {
|
|
43
|
-
"@kitr/core": "0.
|
|
80
|
+
"@kitr/core": "0.7.0"
|
|
44
81
|
},
|
|
45
82
|
"devDependencies": {
|
|
46
83
|
"tsdown": "^0.23.7",
|