create-fullstack-scaffold 0.6.5 → 0.6.6

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
@@ -4,6 +4,12 @@
4
4
 
5
5
  Zero-config fullstack app generator with type-safe RPC, 15+ modules, and 8 production-ready presets. One command, zero `.env`, instant `npm run dev`.
6
6
 
7
+ ## Try It & Mission Pack
8
+
9
+ - **Live demo** (fullstack-admin preset): https://demo.lpm1.top
10
+ - **Mission Pack** — copy-paste prompts that make any AI agent build with this scaffold:
11
+ [MISSION-PACK.md](./MISSION-PACK.md) (includes downloadable Skill URLs, task prompts A–D, and hard-won agent tips)
12
+
7
13
  ## Quick Start
8
14
 
9
15
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-fullstack-scaffold",
3
- "version": "0.6.5",
3
+ "version": "0.6.6",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "create-fullstack-scaffold": "dist/cli/index.js"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "biomimic-todo-app",
3
3
  "private": true,
4
- "version": "0.6.5",
4
+ "version": "0.6.6",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "biomimic": "./dist/cli/index.js"
@@ -88,7 +88,9 @@ export const useTenantStore = create<TenantState>((set, getState) => ({
88
88
  try {
89
89
  const loginRes = await api<{ token: string }>('/auth/login', {
90
90
  method: 'POST',
91
- body: { account, password },
91
+ // account + username 双字段:不同 preset 的 LoginSchema 字段名不同
92
+ //(saas 用 account,fullstack-admin 等用 username),双发保证兼容
93
+ body: { account, username: account, password },
92
94
  })
93
95
  if (!loginRes.success || !loginRes.data?.token) {
94
96
  return { ok: false, hasTenant: false, error: 'Invalid credentials' }