create-deesse-app 0.4.4 → 0.5.1
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 -2
- package/bin/cli.js +0 -0
- package/dist/bin/cli.js +0 -0
- package/dist/src/copy.d.ts +1 -1
- package/dist/src/copy.d.ts.map +1 -1
- package/dist/src/copy.js +3 -1
- package/dist/src/copy.js.map +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +11 -11
- package/templates/default/drizzle/0000_cheerful_clea.sql +58 -0
- package/templates/default/drizzle/meta/0000_snapshot.json +405 -0
- package/templates/default/drizzle/meta/_journal.json +13 -0
- package/templates/default/drizzle.config.ts +11 -0
- package/templates/default/next.config.ts +1 -1
- package/templates/default/package.json +1 -0
- package/templates/default/src/app/(deesse)/admin/[[...slug]]/page.tsx +2 -2
- package/templates/default/src/app/(deesse)/admin/layout.tsx +5 -2
- package/templates/default/src/app/layout.tsx +1 -1
- package/templates/default/src/db/schema/auth-schema.ts +100 -0
- package/templates/default/src/deesse.config.ts +10 -1
- package/templates/default/src/deesse.pages.tsx +1 -0
- package/templates/default/src/lib/auth.ts +3 -0
- package/templates/default/src/lib/client.ts +7 -0
- package/templates/default/src/lib/deesse.ts +5 -0
- package/templates/without-admin/AGENTS.md +5 -0
- package/templates/without-admin/CLAUDE.md +1 -0
- package/templates/without-admin/README.md +36 -0
- package/templates/without-admin/components.json +25 -0
- package/templates/without-admin/drizzle.config.ts +11 -0
- package/templates/without-admin/eslint.config.mjs +18 -0
- package/templates/without-admin/next.config.ts +7 -0
- package/templates/without-admin/package-lock.json +11412 -0
- package/templates/without-admin/package.json +41 -0
- package/templates/without-admin/postcss.config.mjs +7 -0
- package/templates/without-admin/public/file.svg +1 -0
- package/templates/without-admin/public/globe.svg +1 -0
- package/templates/without-admin/public/nesalia.svg +50 -0
- package/templates/without-admin/public/next.svg +1 -0
- package/templates/without-admin/public/vercel.svg +1 -0
- package/templates/without-admin/public/window.svg +1 -0
- package/templates/without-admin/src/app/(deesse)/api/[...slug]/route.ts +5 -0
- package/templates/without-admin/src/app/(frontend)/(auth)/login/page.tsx +85 -0
- package/templates/without-admin/src/app/(frontend)/(auth)/signup/page.tsx +90 -0
- package/templates/without-admin/src/app/(frontend)/home/page.tsx +19 -0
- package/templates/without-admin/src/app/(frontend)/layout.tsx +14 -0
- package/templates/without-admin/src/app/(frontend)/page.tsx +50 -0
- package/templates/without-admin/src/app/globals.css +130 -0
- package/templates/without-admin/src/app/icon.svg +109 -0
- package/templates/without-admin/src/app/layout.tsx +37 -0
- package/templates/without-admin/src/components/header.tsx +123 -0
- package/templates/without-admin/src/components/password-input.tsx +50 -0
- package/templates/without-admin/src/components/providers/index.tsx +11 -0
- package/templates/without-admin/src/components/providers/theme-provider.tsx +11 -0
- package/templates/without-admin/src/components/ui/alert-dialog.tsx +199 -0
- package/templates/without-admin/src/components/ui/avatar.tsx +112 -0
- package/templates/without-admin/src/components/ui/button.tsx +67 -0
- package/templates/without-admin/src/components/ui/dialog.tsx +168 -0
- package/templates/without-admin/src/components/ui/dropdown-menu.tsx +269 -0
- package/templates/without-admin/src/components/ui/input.tsx +19 -0
- package/templates/without-admin/src/components/ui/label.tsx +24 -0
- package/templates/without-admin/src/components/ui/sonner.tsx +49 -0
- package/templates/without-admin/src/components/ui/tooltip.tsx +57 -0
- package/templates/without-admin/src/db/schema/auth-schema.ts +100 -0
- package/templates/without-admin/src/db/schema/index.ts +1 -0
- package/templates/without-admin/src/deesse.config.ts +18 -0
- package/templates/without-admin/src/lib/client.ts +7 -0
- package/templates/without-admin/src/lib/deesse.ts +5 -0
- package/templates/without-admin/src/lib/utils.ts +6 -0
- package/templates/without-admin/tsconfig.json +34 -0
- package/templates/minimal/.gitkeep +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { defineConfig } from 'deesse';
|
|
2
|
+
import { drizzle } from 'drizzle-orm/node-postgres';
|
|
3
|
+
import { Pool } from 'pg';
|
|
4
|
+
import { schema } from './db/schema';
|
|
5
|
+
|
|
6
|
+
export const config = defineConfig({
|
|
7
|
+
name: "DeesseJS App",
|
|
8
|
+
database: drizzle({
|
|
9
|
+
client: new Pool({
|
|
10
|
+
connectionString: process.env.DATABASE_URL,
|
|
11
|
+
}),
|
|
12
|
+
schema,
|
|
13
|
+
}),
|
|
14
|
+
secret: process.env.DEESSE_SECRET!,
|
|
15
|
+
auth: {
|
|
16
|
+
baseURL: process.env.NEXT_PUBLIC_BASE_URL || 'http://localhost:3000',
|
|
17
|
+
},
|
|
18
|
+
});
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2017",
|
|
4
|
+
"lib": ["dom", "dom.iterable", "esnext"],
|
|
5
|
+
"allowJs": true,
|
|
6
|
+
"skipLibCheck": true,
|
|
7
|
+
"strict": true,
|
|
8
|
+
"noEmit": true,
|
|
9
|
+
"esModuleInterop": true,
|
|
10
|
+
"module": "esnext",
|
|
11
|
+
"moduleResolution": "bundler",
|
|
12
|
+
"resolveJsonModule": true,
|
|
13
|
+
"isolatedModules": true,
|
|
14
|
+
"jsx": "react-jsx",
|
|
15
|
+
"incremental": true,
|
|
16
|
+
"plugins": [
|
|
17
|
+
{
|
|
18
|
+
"name": "next"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"paths": {
|
|
22
|
+
"@/*": ["./src/*"]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"include": [
|
|
26
|
+
"next-env.d.ts",
|
|
27
|
+
"**/*.ts",
|
|
28
|
+
"**/*.tsx",
|
|
29
|
+
".next/types/**/*.ts",
|
|
30
|
+
".next/dev/types/**/*.ts",
|
|
31
|
+
"**/*.mts"
|
|
32
|
+
],
|
|
33
|
+
"exclude": ["node_modules"]
|
|
34
|
+
}
|
|
File without changes
|