create-next-imagicma 0.1.14 → 0.2.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 +2 -0
- package/package.json +1 -1
- package/template-hono/.env.example +6 -14
- package/template-hono/.imagicma/AGENTS.md +7 -0
- package/template-hono/AGENTS.md +98 -120
- package/template-hono/README.md +86 -118
- package/template-hono/client/index.html +1 -1
- package/template-hono/client/public/imagicma-picker-bridge.js +2 -6
- package/template-hono/client/public/imagicma-preview-feedback.js +0 -1
- package/template-hono/client/src/components/HelloClient.tsx +1 -1
- package/template-hono/client/src/globals.css +417 -1
- package/template-hono/client/src/lib/imagicma-preview-bridge.ts +1 -1
- package/template-hono/client/src/lib/imagicma-preview-picker.ts +28 -130
- package/template-hono/client/src/providers.tsx +1 -1
- package/template-hono/gitignore +2 -1
- package/template-hono/package.json +9 -9
- package/template-hono/pnpm-lock.yaml +646 -1173
- package/template-hono/server/app.ts +3 -2
- package/template-hono/server/controllers/greeting.controller.ts +22 -0
- package/template-hono/server/db/index.ts +129 -0
- package/template-hono/server/index.ts +3 -3
- package/template-hono/server/middlewares/error-handler.ts +8 -0
- package/template-hono/server/models/entities/message.entity.ts +13 -0
- package/template-hono/server/models/repositories/message.repository.ts +43 -0
- package/template-hono/server/models/services/greeting.service.ts +14 -0
- package/template-hono/server/models/types/message.ts +7 -0
- package/template-hono/server/routes/greeting.ts +1 -1
- package/template-hono/shared/constants/greeting.ts +1 -0
- package/template-hono/shared/contracts/routes.ts +14 -0
- package/template-hono/shared/routes.ts +1 -68
- package/template-hono/shared/schema.ts +5 -8
- package/template-hono/shared/types/greeting.ts +3 -0
- package/template-hono/tailwind.config.mjs +62 -111
- package/template-hono/tsconfig.json +3 -2
- package/template-hono/tsconfig.server.json +2 -0
- package/template-hono/vite.config.ts +4 -4
- package/template-hono/client/src/lib/ai-ui-stream.ts +0 -64
- package/template-hono/client/src/theme/default-theme.css +0 -482
- package/template-hono/drizzle.config.ts +0 -13
- package/template-hono/server/controllers/ai-chat-controller.ts +0 -49
- package/template-hono/server/controllers/greeting-controller.ts +0 -25
- package/template-hono/server/db/client.ts +0 -25
- package/template-hono/server/env.ts +0 -89
- package/template-hono/server/lib/ai-provider.ts +0 -74
- package/template-hono/server/lib/ai.ts +0 -205
- package/template-hono/server/middlewares/auth.ts +0 -69
- package/template-hono/server/middlewares/index.ts +0 -12
- package/template-hono/server/repositories/message-repository.ts +0 -13
- package/template-hono/server/routes/ai-chat.ts +0 -9
- package/template-hono/shared/schema/greeting.ts +0 -17
package/template-hono/gitignore
CHANGED
|
@@ -9,12 +9,9 @@
|
|
|
9
9
|
"prestart": "node ./scripts/imagicma-guard.mjs start",
|
|
10
10
|
"start": "node ./scripts/imagicma-start.mjs",
|
|
11
11
|
"check": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.server.json --noEmit",
|
|
12
|
-
"db:push": "drizzle-kit push",
|
|
13
12
|
"lint": "eslint ."
|
|
14
13
|
},
|
|
15
14
|
"dependencies": {
|
|
16
|
-
"@ai-sdk/openai": "^2.0.102",
|
|
17
|
-
"@ai-sdk/openai-compatible": "^1.0.13",
|
|
18
15
|
"@hono/node-server": "^1.19.9",
|
|
19
16
|
"@hono/zod-validator": "^0.7.6",
|
|
20
17
|
"@radix-ui/react-accordion": "^1.2.4",
|
|
@@ -45,27 +42,27 @@
|
|
|
45
42
|
"@radix-ui/react-toggle-group": "^1.1.3",
|
|
46
43
|
"@radix-ui/react-tooltip": "^1.2.0",
|
|
47
44
|
"@tanstack/react-query": "^5.60.5",
|
|
48
|
-
"
|
|
45
|
+
"better-sqlite3": "^12.9.0",
|
|
49
46
|
"class-variance-authority": "^0.7.1",
|
|
50
47
|
"clsx": "^2.1.1",
|
|
51
48
|
"cmdk": "^1.1.1",
|
|
52
|
-
"drizzle-orm": "^0.39.3",
|
|
53
|
-
"drizzle-zod": "^0.7.0",
|
|
54
49
|
"embla-carousel-react": "^8.6.0",
|
|
55
50
|
"framer-motion": "^11.18.2",
|
|
56
51
|
"hono": "^4.11.9",
|
|
57
52
|
"input-otp": "^1.4.2",
|
|
58
53
|
"lucide-react": "^0.453.0",
|
|
59
54
|
"next-themes": "^0.4.6",
|
|
60
|
-
"pg": "^8.
|
|
55
|
+
"pg": "^8.18.0",
|
|
61
56
|
"react": "19.2.3",
|
|
62
57
|
"react-day-picker": "^9.13.0",
|
|
63
58
|
"react-dom": "19.2.3",
|
|
64
59
|
"react-hook-form": "^7.55.0",
|
|
65
60
|
"react-resizable-panels": "^2.1.7",
|
|
66
61
|
"react-router-dom": "^6.30.1",
|
|
62
|
+
"reflect-metadata": "^0.2.2",
|
|
67
63
|
"recharts": "^2.15.2",
|
|
68
64
|
"tailwind-merge": "^2.6.0",
|
|
65
|
+
"typeorm": "^0.3.27",
|
|
69
66
|
"vaul": "^1.1.2",
|
|
70
67
|
"zod": "^4.1.5"
|
|
71
68
|
},
|
|
@@ -73,16 +70,19 @@
|
|
|
73
70
|
"@hono/vite-dev-server": "^0.25.0",
|
|
74
71
|
"@tailwindcss/postcss": "^4",
|
|
75
72
|
"@types/node": "^20",
|
|
76
|
-
"@types/pg": "^8.20.0",
|
|
77
73
|
"@types/react": "^19",
|
|
78
74
|
"@types/react-dom": "^19",
|
|
79
75
|
"@vitejs/plugin-react": "^5.1.0",
|
|
80
|
-
"drizzle-kit": "^0.31.8",
|
|
81
76
|
"eslint": "^9",
|
|
82
77
|
"tailwindcss": "^4",
|
|
83
78
|
"tailwindcss-animate": "^1.0.7",
|
|
84
79
|
"typescript": "^5",
|
|
85
80
|
"vite": "^7.3.1",
|
|
86
81
|
"vite-plugin-component-debugger": "^2.2.0"
|
|
82
|
+
},
|
|
83
|
+
"pnpm": {
|
|
84
|
+
"onlyBuiltDependencies": [
|
|
85
|
+
"better-sqlite3"
|
|
86
|
+
]
|
|
87
87
|
}
|
|
88
88
|
}
|