create-saasicat-admin 1.0.0-rc.2 → 1.0.0-rc.4

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 CHANGED
@@ -1,9 +1,21 @@
1
1
  # create-saasicat-admin
2
2
 
3
+ ## What this is
4
+
3
5
  Scaffolding CLI for SuperAdmin frontend projects. Generates a runnable
4
6
  Vue 3 + Quasar + Vite project that builds on `@saasicat/ui-vue` and ships
5
7
  all standard pages.
6
8
 
9
+ ## What this is not
10
+
11
+ Not a dependency. It runs once, writes a Vite + Vue 3 + Quasar project you
12
+ own, and is never installed into it. Nothing it writes is generated again
13
+ later — edit the files freely.
14
+
15
+ Not the backend. The scaffolded admin talks to a NestJS application that
16
+ already has `@saasicat/nest` wired; without one it starts and shows a login
17
+ screen it cannot get past.
18
+
7
19
  ## Usage
8
20
 
9
21
  ```bash
@@ -16,7 +28,7 @@ pnpm create saasicat-admin <dir> \
16
28
 
17
29
  Generates this directory structure:
18
30
 
19
- ```
31
+ ```text
20
32
  <dir>/
21
33
  ├── package.json
22
34
  ├── vite.config.ts
@@ -59,3 +71,8 @@ pnpm dev # http://localhost:9100/admin/login
59
71
  3. Adapt the Vite proxy in `vite.config.ts` to your backend port.
60
72
 
61
73
  Everything else comes from `@saasicat/ui-vue`.
74
+
75
+ ## Next
76
+
77
+ - [Build the admin frontend](../../docs/guides/build-the-admin-frontend.md) — what the scaffolder wrote, explained
78
+ - [Design guide](../../docs/explanation/design-guide.md) — before you write a page of your own
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-saasicat-admin",
3
- "version": "1.0.0-rc.2",
3
+ "version": "1.0.0-rc.4",
4
4
  "description": "Scaffolding CLI for SuperAdmin frontend projects (Vue 3 + Quasar + Vite). Generates a minimal working admin app built on @saasicat/ui-vue. Usage: `pnpm create saasicat-admin <dir>`.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -21,4 +21,5 @@ serve `__API_BASE__/manifest`.
21
21
  - Add your own project pages in `src/router/routes.ts` (with
22
22
  `createProjectPageHostRoute()` as a catch-all).
23
23
  - Register KPI cards, tenant actions and project pages in your backend
24
- manifest (see `docs/handbook.md` §6.6 in the saasicat repo).
24
+ manifest (see `docs/guides/wire-the-backend.md`, "Manifest Contributions",
25
+ in the saasicat repo).
@@ -37,7 +37,7 @@ const handle = createSuperAdminApp({
37
37
  extensions: {},
38
38
  // Starting UI language — the shell's header switcher lets the user change
39
39
  // it from there and remembers the pick. `overrides` replaces individual
40
- // strings (handbook §8.7).
40
+ // strings (docs/guides/build-the-admin-frontend.md, "UI Language").
41
41
  i18n: { locale: 'en' },
42
42
  });
43
43
 
@@ -1,6 +1,6 @@
1
1
  // BootLoader + ManifestLoader built from the same endpoint constant that
2
2
  // `main.ts` passes to `createSuperAdminApp()` — endpoints live in exactly
3
- // one place (handbook §8.1).
3
+ // one place (docs/guides/build-the-admin-frontend.md, "Platform Loaders").
4
4
 
5
5
  import { createPlatformLoaders, type SuperAdminEndpoints } from '@saasicat/ui-vue';
6
6
  import { platformHttp } from './http';
@@ -1,5 +1,6 @@
1
1
  // Manifest Pinia store — the router guard in `main.ts` awaits
2
- // `ensureLoaded()` before rendering admin routes (handbook §8.2).
2
+ // `ensureLoaded()` before rendering admin routes
3
+ // (docs/guides/build-the-admin-frontend.md, "Manifest Store").
3
4
 
4
5
  import { createManifestStore } from '@saasicat/ui-vue';
5
6
  import { loaders } from '../services/platform-loaders';