@cfast/admin 0.2.1 → 0.2.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/LICENSE +21 -0
- package/llms.txt +5 -0
- package/package.json +14 -14
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Daniel Schmidt
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/llms.txt
CHANGED
|
@@ -165,3 +165,8 @@ const admin = createAdmin({
|
|
|
165
165
|
- Not providing `impersonate`/`stopImpersonation` callbacks and expecting impersonation to work -- these are optional but required for that feature.
|
|
166
166
|
- Trying to customize rendering by passing JSX to `createAdmin` -- instead, override fields via `TableOverrides.fields` (for forms) or use `@cfast/ui` components directly in custom routes.
|
|
167
167
|
- Expecting auth-internal tables (`session`, `account`, `verification`, `passkey`) to show up -- they are auto-excluded. Set `exclude: false` in table overrides to show them.
|
|
168
|
+
|
|
169
|
+
## See Also
|
|
170
|
+
|
|
171
|
+
- `@cfast/forms` -- Schema-derived forms used for create/edit views.
|
|
172
|
+
- `@cfast/ui` + `@cfast/joy` -- Headless components and Joy UI styling.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cfast/admin",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Auto-generated admin UI from your Drizzle schema with role management and impersonation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cfast",
|
|
@@ -32,13 +32,6 @@
|
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
|
-
"scripts": {
|
|
36
|
-
"build": "tsup src/index.ts --format esm --dts",
|
|
37
|
-
"dev": "tsup src/index.ts --format esm --dts --watch",
|
|
38
|
-
"typecheck": "tsc --noEmit",
|
|
39
|
-
"lint": "eslint src/",
|
|
40
|
-
"test": "vitest run"
|
|
41
|
-
},
|
|
42
35
|
"peerDependencies": {
|
|
43
36
|
"@mui/joy": ">=5.0.0-beta.0",
|
|
44
37
|
"react": ">=19",
|
|
@@ -52,11 +45,11 @@
|
|
|
52
45
|
}
|
|
53
46
|
},
|
|
54
47
|
"dependencies": {
|
|
55
|
-
"@cfast/db": "
|
|
56
|
-
"@cfast/forms": "
|
|
57
|
-
"@cfast/permissions": "
|
|
58
|
-
"@cfast/
|
|
59
|
-
"@cfast/
|
|
48
|
+
"@cfast/db": "0.1.1",
|
|
49
|
+
"@cfast/forms": "0.1.0",
|
|
50
|
+
"@cfast/permissions": "0.1.0",
|
|
51
|
+
"@cfast/ui": "0.2.1",
|
|
52
|
+
"@cfast/joy": "0.1.0"
|
|
60
53
|
},
|
|
61
54
|
"devDependencies": {
|
|
62
55
|
"@emotion/react": "^11.14.0",
|
|
@@ -71,5 +64,12 @@
|
|
|
71
64
|
"tsup": "^8",
|
|
72
65
|
"typescript": "^5.7",
|
|
73
66
|
"vitest": "^4.1.0"
|
|
67
|
+
},
|
|
68
|
+
"scripts": {
|
|
69
|
+
"build": "tsup src/index.ts --format esm --dts",
|
|
70
|
+
"dev": "tsup src/index.ts --format esm --dts --watch",
|
|
71
|
+
"typecheck": "tsc --noEmit",
|
|
72
|
+
"lint": "eslint src/",
|
|
73
|
+
"test": "vitest run"
|
|
74
74
|
}
|
|
75
|
-
}
|
|
75
|
+
}
|