create-apppaaaul 2.0.7 → 2.0.9
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 +20 -20
- package/dist/index.js +0 -0
- package/dist/index.js.map +1 -1
- package/dist/templates/nextjs-ts-clean/project/.editorconfig +9 -9
- package/dist/templates/nextjs-ts-clean/project/.vscode/launch.json +28 -28
- package/dist/templates/nextjs-ts-clean/project/.vscode/settings.json +8 -8
- package/dist/templates/nextjs-ts-clean/project/README.md +15 -15
- package/dist/templates/nextjs-ts-clean/project/next.config.mjs +13 -13
- package/dist/templates/nextjs-ts-clean/project/package.json +47 -47
- package/dist/templates/nextjs-ts-clean/project/pnpm-lock.yaml +5463 -5463
- package/dist/templates/nextjs-ts-clean/project/postcss.config.js +6 -6
- package/dist/templates/nextjs-ts-clean/project/src/app/globals.css +76 -76
- package/dist/templates/nextjs-ts-clean/project/src/app/layout.tsx +25 -25
- package/dist/templates/nextjs-ts-clean/project/src/app/page.tsx +5 -5
- package/dist/templates/nextjs-ts-clean/project/src/components/ui/button.tsx +49 -49
- package/dist/templates/nextjs-ts-clean/project/src/lib/utils.ts +6 -6
- package/dist/templates/nextjs-ts-clean/project/tailwind.config.ts +79 -79
- package/dist/templates/nextjs-ts-clean/project/tsconfig.json +26 -26
- package/dist/templates/nextjs-ts-landing/project/.editorconfig +9 -9
- package/dist/templates/nextjs-ts-landing/project/.vscode/launch.json +28 -28
- package/dist/templates/nextjs-ts-landing/project/.vscode/settings.json +8 -8
- package/dist/templates/nextjs-ts-landing-drizzle/project/.editorconfig +9 -9
- package/dist/templates/nextjs-ts-landing-drizzle/project/.vscode/launch.json +28 -28
- package/dist/templates/nextjs-ts-landing-drizzle/project/.vscode/settings.json +8 -8
- package/dist/templates/nextjs-ts-landing-drizzle/project/README.md +15 -15
- package/dist/templates/nextjs-ts-landing-drizzle/project/components.json +16 -16
- package/dist/templates/nextjs-ts-landing-drizzle/project/drizzle.config.ts +11 -11
- package/dist/templates/nextjs-ts-landing-drizzle/project/next.config.mjs +10 -10
- package/dist/templates/nextjs-ts-landing-drizzle/project/package.json +56 -56
- package/dist/templates/nextjs-ts-landing-drizzle/project/pnpm-lock.yaml +6248 -6248
- package/dist/templates/nextjs-ts-landing-drizzle/project/postcss.config.js +6 -6
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/app/api/auth/[...nextauth]/route.ts +3 -3
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/app/globals.css +47 -47
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/app/layout.tsx +20 -20
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/app/page.tsx +5 -5
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/auth.ts +79 -79
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/components/ui/button.tsx +49 -49
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/db/index.ts +25 -25
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/db/schema.ts +93 -93
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/lib/utils.ts +6 -6
- package/dist/templates/nextjs-ts-landing-drizzle/project/tailwind.config.ts +80 -80
- package/dist/templates/nextjs-ts-landing-drizzle/project/tsconfig.json +27 -27
- package/dist/templates/nextjs-ts-landing-prisma/project/.editorconfig +9 -9
- package/dist/templates/nextjs-ts-landing-prisma/project/.vscode/launch.json +28 -28
- package/dist/templates/nextjs-ts-landing-prisma/project/.vscode/settings.json +8 -8
- package/dist/templates/nextjs-ts-landing-prisma/project/README.md +15 -15
- package/dist/templates/nextjs-ts-landing-prisma/project/components.json +16 -16
- package/dist/templates/nextjs-ts-landing-prisma/project/next.config.mjs +10 -10
- package/dist/templates/nextjs-ts-landing-prisma/project/package.json +57 -57
- package/dist/templates/nextjs-ts-landing-prisma/project/postcss.config.mjs +4 -4
- package/dist/templates/nextjs-ts-landing-prisma/project/src/app/api/auth/[...nextauth]/route.ts +3 -3
- package/dist/templates/nextjs-ts-landing-prisma/project/src/app/globals.css +116 -116
- package/dist/templates/nextjs-ts-landing-prisma/project/src/app/layout.tsx +20 -20
- package/dist/templates/nextjs-ts-landing-prisma/project/src/app/page.tsx +5 -5
- package/dist/templates/nextjs-ts-landing-prisma/project/src/auth.ts +79 -79
- package/dist/templates/nextjs-ts-landing-prisma/project/src/components/ui/button.tsx +49 -49
- package/dist/templates/nextjs-ts-landing-prisma/project/src/lib/db.ts +10 -10
- package/dist/templates/nextjs-ts-landing-prisma/project/src/lib/utils.ts +6 -6
- package/dist/templates/nextjs-ts-landing-prisma/project/tailwind.config.ts +80 -80
- package/dist/templates/nextjs-ts-landing-prisma/project/tsconfig.json +27 -27
- package/package.json +43 -43
- package/dist/templates/nextjs-ts-landing/project/.eslintrc.cjs +0 -101
- package/dist/templates/nextjs-ts-landing-prisma/project/pnpm-lock.yaml +0 -5854
- package/dist/templates/nextjs-ts-landing-prisma/project/pnpm-workspace.yaml +0 -6
- package/dist/templates/nextjs-ts-landing-prisma/project/prisma/migrations/20250329125127_init/migration.sql +0 -25
- package/dist/templates/nextjs-ts-landing-prisma/project/prisma/migrations/migration_lock.toml +0 -3
- package/dist/templates/nextjs-ts-landing-prisma/project/prisma/schema.prisma +0 -24
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {type ClassValue, clsx} from "clsx";
|
|
2
|
-
import {twMerge} from "tailwind-merge";
|
|
3
|
-
|
|
4
|
-
export function cn(...inputs: ClassValue[]) {
|
|
5
|
-
return twMerge(clsx(inputs));
|
|
6
|
-
}
|
|
1
|
+
import {type ClassValue, clsx} from "clsx";
|
|
2
|
+
import {twMerge} from "tailwind-merge";
|
|
3
|
+
|
|
4
|
+
export function cn(...inputs: ClassValue[]) {
|
|
5
|
+
return twMerge(clsx(inputs));
|
|
6
|
+
}
|
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
import type {Config} from "tailwindcss";
|
|
2
|
-
|
|
3
|
-
const config = {
|
|
4
|
-
darkMode: ["class"],
|
|
5
|
-
content: [
|
|
6
|
-
"./pages/**/*.{ts,tsx}",
|
|
7
|
-
"./components/**/*.{ts,tsx}",
|
|
8
|
-
"./app/**/*.{ts,tsx}",
|
|
9
|
-
"./src/**/*.{ts,tsx}",
|
|
10
|
-
],
|
|
11
|
-
prefix: "",
|
|
12
|
-
theme: {
|
|
13
|
-
container: {
|
|
14
|
-
center: true,
|
|
15
|
-
padding: "2rem",
|
|
16
|
-
screens: {
|
|
17
|
-
"2xl": "1400px",
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
extend: {
|
|
21
|
-
colors: {
|
|
22
|
-
border: "rgb(var(--border))",
|
|
23
|
-
input: "rgb(var(--input))",
|
|
24
|
-
ring: "rgb(var(--ring))",
|
|
25
|
-
background: "rgb(var(--background))",
|
|
26
|
-
foreground: "rgb(var(--foreground))",
|
|
27
|
-
primary: {
|
|
28
|
-
DEFAULT: "rgb(var(--primary))",
|
|
29
|
-
foreground: "rgb(var(--primary-foreground))",
|
|
30
|
-
},
|
|
31
|
-
secondary: {
|
|
32
|
-
DEFAULT: "rgb(var(--secondary))",
|
|
33
|
-
foreground: "rgb(var(--secondary-foreground))",
|
|
34
|
-
},
|
|
35
|
-
destructive: {
|
|
36
|
-
DEFAULT: "rgb(var(--destructive))",
|
|
37
|
-
foreground: "rgb(var(--destructive-foreground))",
|
|
38
|
-
},
|
|
39
|
-
muted: {
|
|
40
|
-
DEFAULT: "rgb(var(--muted))",
|
|
41
|
-
foreground: "rgb(var(--muted-foreground))",
|
|
42
|
-
},
|
|
43
|
-
accent: {
|
|
44
|
-
DEFAULT: "rgb(var(--accent))",
|
|
45
|
-
foreground: "rgb(var(--accent-foreground))",
|
|
46
|
-
},
|
|
47
|
-
popover: {
|
|
48
|
-
DEFAULT: "rgb(var(--popover))",
|
|
49
|
-
foreground: "rgb(var(--popover-foreground))",
|
|
50
|
-
},
|
|
51
|
-
card: {
|
|
52
|
-
DEFAULT: "rgb(var(--card))",
|
|
53
|
-
foreground: "rgb(var(--card-foreground))",
|
|
54
|
-
},
|
|
55
|
-
},
|
|
56
|
-
borderRadius: {
|
|
57
|
-
lg: "var(--radius)",
|
|
58
|
-
md: "calc(var(--radius) - 2px)",
|
|
59
|
-
sm: "calc(var(--radius) - 4px)",
|
|
60
|
-
},
|
|
61
|
-
keyframes: {
|
|
62
|
-
"accordion-down": {
|
|
63
|
-
from: {height: "0"},
|
|
64
|
-
to: {height: "var(--radix-accordion-content-height)"},
|
|
65
|
-
},
|
|
66
|
-
"accordion-up": {
|
|
67
|
-
from: {height: "var(--radix-accordion-content-height)"},
|
|
68
|
-
to: {height: "0"},
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
animation: {
|
|
72
|
-
"accordion-down": "accordion-down 0.2s ease-out",
|
|
73
|
-
"accordion-up": "accordion-up 0.2s ease-out",
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
},
|
|
77
|
-
plugins: [require("tailwindcss-animate")],
|
|
78
|
-
} satisfies Config;
|
|
79
|
-
|
|
80
|
-
export default config;
|
|
1
|
+
import type {Config} from "tailwindcss";
|
|
2
|
+
|
|
3
|
+
const config = {
|
|
4
|
+
darkMode: ["class"],
|
|
5
|
+
content: [
|
|
6
|
+
"./pages/**/*.{ts,tsx}",
|
|
7
|
+
"./components/**/*.{ts,tsx}",
|
|
8
|
+
"./app/**/*.{ts,tsx}",
|
|
9
|
+
"./src/**/*.{ts,tsx}",
|
|
10
|
+
],
|
|
11
|
+
prefix: "",
|
|
12
|
+
theme: {
|
|
13
|
+
container: {
|
|
14
|
+
center: true,
|
|
15
|
+
padding: "2rem",
|
|
16
|
+
screens: {
|
|
17
|
+
"2xl": "1400px",
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
extend: {
|
|
21
|
+
colors: {
|
|
22
|
+
border: "rgb(var(--border))",
|
|
23
|
+
input: "rgb(var(--input))",
|
|
24
|
+
ring: "rgb(var(--ring))",
|
|
25
|
+
background: "rgb(var(--background))",
|
|
26
|
+
foreground: "rgb(var(--foreground))",
|
|
27
|
+
primary: {
|
|
28
|
+
DEFAULT: "rgb(var(--primary))",
|
|
29
|
+
foreground: "rgb(var(--primary-foreground))",
|
|
30
|
+
},
|
|
31
|
+
secondary: {
|
|
32
|
+
DEFAULT: "rgb(var(--secondary))",
|
|
33
|
+
foreground: "rgb(var(--secondary-foreground))",
|
|
34
|
+
},
|
|
35
|
+
destructive: {
|
|
36
|
+
DEFAULT: "rgb(var(--destructive))",
|
|
37
|
+
foreground: "rgb(var(--destructive-foreground))",
|
|
38
|
+
},
|
|
39
|
+
muted: {
|
|
40
|
+
DEFAULT: "rgb(var(--muted))",
|
|
41
|
+
foreground: "rgb(var(--muted-foreground))",
|
|
42
|
+
},
|
|
43
|
+
accent: {
|
|
44
|
+
DEFAULT: "rgb(var(--accent))",
|
|
45
|
+
foreground: "rgb(var(--accent-foreground))",
|
|
46
|
+
},
|
|
47
|
+
popover: {
|
|
48
|
+
DEFAULT: "rgb(var(--popover))",
|
|
49
|
+
foreground: "rgb(var(--popover-foreground))",
|
|
50
|
+
},
|
|
51
|
+
card: {
|
|
52
|
+
DEFAULT: "rgb(var(--card))",
|
|
53
|
+
foreground: "rgb(var(--card-foreground))",
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
borderRadius: {
|
|
57
|
+
lg: "var(--radius)",
|
|
58
|
+
md: "calc(var(--radius) - 2px)",
|
|
59
|
+
sm: "calc(var(--radius) - 4px)",
|
|
60
|
+
},
|
|
61
|
+
keyframes: {
|
|
62
|
+
"accordion-down": {
|
|
63
|
+
from: {height: "0"},
|
|
64
|
+
to: {height: "var(--radix-accordion-content-height)"},
|
|
65
|
+
},
|
|
66
|
+
"accordion-up": {
|
|
67
|
+
from: {height: "var(--radix-accordion-content-height)"},
|
|
68
|
+
to: {height: "0"},
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
animation: {
|
|
72
|
+
"accordion-down": "accordion-down 0.2s ease-out",
|
|
73
|
+
"accordion-up": "accordion-up 0.2s ease-out",
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
plugins: [require("tailwindcss-animate")],
|
|
78
|
+
} satisfies Config;
|
|
79
|
+
|
|
80
|
+
export default config;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "es6",
|
|
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": "preserve",
|
|
15
|
-
"incremental": true,
|
|
16
|
-
"plugins": [
|
|
17
|
-
{
|
|
18
|
-
"name": "next"
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
"paths": {
|
|
22
|
-
"@/*": ["./src/*"]
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
|
26
|
-
"exclude": ["node_modules"]
|
|
27
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "es6",
|
|
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": "preserve",
|
|
15
|
+
"incremental": true,
|
|
16
|
+
"plugins": [
|
|
17
|
+
{
|
|
18
|
+
"name": "next"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"paths": {
|
|
22
|
+
"@/*": ["./src/*"]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
|
26
|
+
"exclude": ["node_modules"]
|
|
27
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
root = true
|
|
2
|
-
|
|
3
|
-
[*]
|
|
4
|
-
insert_final_newline = true
|
|
5
|
-
charset = utf-8
|
|
6
|
-
indent_style = space
|
|
7
|
-
indent_size = 2
|
|
8
|
-
trim_trailing_whitespace = true
|
|
9
|
-
max_line_length = 80
|
|
1
|
+
root = true
|
|
2
|
+
|
|
3
|
+
[*]
|
|
4
|
+
insert_final_newline = true
|
|
5
|
+
charset = utf-8
|
|
6
|
+
indent_style = space
|
|
7
|
+
indent_size = 2
|
|
8
|
+
trim_trailing_whitespace = true
|
|
9
|
+
max_line_length = 80
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "0.2.0",
|
|
3
|
-
"configurations": [
|
|
4
|
-
{
|
|
5
|
-
"name": "Next.js: debug server-side",
|
|
6
|
-
"type": "node-terminal",
|
|
7
|
-
"request": "launch",
|
|
8
|
-
"command": "pnpm dev"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"name": "Next.js: debug client-side",
|
|
12
|
-
"type": "chrome",
|
|
13
|
-
"request": "launch",
|
|
14
|
-
"url": "http://localhost:3000"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"name": "Next.js: debug full stack",
|
|
18
|
-
"type": "node-terminal",
|
|
19
|
-
"request": "launch",
|
|
20
|
-
"command": "pnpm dev",
|
|
21
|
-
"serverReadyAction": {
|
|
22
|
-
"pattern": "started server on .+, url: (https?://.+)",
|
|
23
|
-
"uriFormat": "%s",
|
|
24
|
-
"action": "debugWithChrome"
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
]
|
|
28
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"version": "0.2.0",
|
|
3
|
+
"configurations": [
|
|
4
|
+
{
|
|
5
|
+
"name": "Next.js: debug server-side",
|
|
6
|
+
"type": "node-terminal",
|
|
7
|
+
"request": "launch",
|
|
8
|
+
"command": "pnpm dev"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "Next.js: debug client-side",
|
|
12
|
+
"type": "chrome",
|
|
13
|
+
"request": "launch",
|
|
14
|
+
"url": "http://localhost:3000"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "Next.js: debug full stack",
|
|
18
|
+
"type": "node-terminal",
|
|
19
|
+
"request": "launch",
|
|
20
|
+
"command": "pnpm dev",
|
|
21
|
+
"serverReadyAction": {
|
|
22
|
+
"pattern": "started server on .+, url: (https?://.+)",
|
|
23
|
+
"uriFormat": "%s",
|
|
24
|
+
"action": "debugWithChrome"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
{
|
|
2
|
-
"editor.formatOnSave": false,
|
|
3
|
-
"typescript.tsdk": "node_modules\\typescript\\lib",
|
|
4
|
-
"typescript.enablePromptUseWorkspaceTsdk": true,
|
|
5
|
-
"editor.codeActionsOnSave": {
|
|
6
|
-
"source.fixAll.eslint": "explicit"
|
|
7
|
-
}
|
|
8
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"editor.formatOnSave": false,
|
|
3
|
+
"typescript.tsdk": "node_modules\\typescript\\lib",
|
|
4
|
+
"typescript.enablePromptUseWorkspaceTsdk": true,
|
|
5
|
+
"editor.codeActionsOnSave": {
|
|
6
|
+
"source.fixAll.eslint": "explicit"
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
## Getting Started with {{name}}
|
|
2
|
-
|
|
3
|
-
First, run the development server:
|
|
4
|
-
|
|
5
|
-
```bash
|
|
6
|
-
npm run dev
|
|
7
|
-
# or
|
|
8
|
-
yarn dev
|
|
9
|
-
# or
|
|
10
|
-
pnpm dev
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
|
|
14
|
-
|
|
15
|
-
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
|
|
1
|
+
## Getting Started with {{name}}
|
|
2
|
+
|
|
3
|
+
First, run the development server:
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npm run dev
|
|
7
|
+
# or
|
|
8
|
+
yarn dev
|
|
9
|
+
# or
|
|
10
|
+
pnpm dev
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
|
|
14
|
+
|
|
15
|
+
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://ui.shadcn.com/schema.json",
|
|
3
|
-
"style": "default",
|
|
4
|
-
"rsc": true,
|
|
5
|
-
"tsx": true,
|
|
6
|
-
"tailwind": {
|
|
7
|
-
"config": "tailwind.config.ts",
|
|
8
|
-
"css": "src/app/globals.css",
|
|
9
|
-
"baseColor": "zinc",
|
|
10
|
-
"cssVariables": true,
|
|
11
|
-
"prefix": ""
|
|
12
|
-
},
|
|
13
|
-
"aliases": {
|
|
14
|
-
"components": "@/components",
|
|
15
|
-
"utils": "@/lib/utils"
|
|
16
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://ui.shadcn.com/schema.json",
|
|
3
|
+
"style": "default",
|
|
4
|
+
"rsc": true,
|
|
5
|
+
"tsx": true,
|
|
6
|
+
"tailwind": {
|
|
7
|
+
"config": "tailwind.config.ts",
|
|
8
|
+
"css": "src/app/globals.css",
|
|
9
|
+
"baseColor": "zinc",
|
|
10
|
+
"cssVariables": true,
|
|
11
|
+
"prefix": ""
|
|
12
|
+
},
|
|
13
|
+
"aliases": {
|
|
14
|
+
"components": "@/components",
|
|
15
|
+
"utils": "@/lib/utils"
|
|
16
|
+
}
|
|
17
17
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/** @type {import('next').NextConfig} */
|
|
2
|
-
const nextConfig = {
|
|
3
|
-
logging: {
|
|
4
|
-
fetches: {
|
|
5
|
-
fullUrl: true,
|
|
6
|
-
},
|
|
7
|
-
},
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export default nextConfig;
|
|
1
|
+
/** @type {import('next').NextConfig} */
|
|
2
|
+
const nextConfig = {
|
|
3
|
+
logging: {
|
|
4
|
+
fetches: {
|
|
5
|
+
fullUrl: true,
|
|
6
|
+
},
|
|
7
|
+
},
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export default nextConfig;
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "{{name}}",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"private": true,
|
|
5
|
-
"scripts": {
|
|
6
|
-
"dev": "docker compose up -d && next dev --turbopack",
|
|
7
|
-
"build": "next build",
|
|
8
|
-
"start": "next start",
|
|
9
|
-
"lint": "next lint",
|
|
10
|
-
"db:push": "npx prisma db push"
|
|
11
|
-
},
|
|
12
|
-
"dependencies": {
|
|
13
|
-
"@prisma/client": "^6.5.0",
|
|
14
|
-
"@radix-ui/react-slot": "^1.1.2",
|
|
15
|
-
"@tailwindcss/postcss": "^4.0.17",
|
|
16
|
-
"autoprefixer": "^10.4.21",
|
|
17
|
-
"bcryptjs": "^2.4.3",
|
|
18
|
-
"class-variance-authority": "^0.7.1",
|
|
19
|
-
"clsx": "^2.1.1",
|
|
20
|
-
"dotenv": "^16.4.7",
|
|
21
|
-
"lucide-react": "^0.474.0",
|
|
22
|
-
"next": "^15.2.4",
|
|
23
|
-
"next-auth": "4.24.11",
|
|
24
|
-
"postcss": "^8.5.3",
|
|
25
|
-
"postgres": "^3.4.5",
|
|
26
|
-
"react": "^19.0.0",
|
|
27
|
-
"react-dom": "^19.0.0",
|
|
28
|
-
"sonner": "^1.7.4",
|
|
29
|
-
"tailwind-merge": "^3.0.2",
|
|
30
|
-
"tailwindcss": "^4.0.15",
|
|
31
|
-
"tailwindcss-animate": "^1.0.7",
|
|
32
|
-
"zod": "^3.24.2"
|
|
33
|
-
},
|
|
34
|
-
"devDependencies": {
|
|
35
|
-
"@eslint/compat": "^1.2.7",
|
|
36
|
-
"@next/eslint-plugin-next": "15.2.4",
|
|
37
|
-
"@types/node": "^22.13.14",
|
|
38
|
-
"@types/react": "^19.0.12",
|
|
39
|
-
"@types/react-dom": "^19.0.4",
|
|
40
|
-
"@vercel/style-guide": "^6.0.0",
|
|
41
|
-
"babel-plugin-react-compiler": "19.0.0-beta-e1e972c-20250221",
|
|
42
|
-
"eslint": "^9.21.0",
|
|
43
|
-
"eslint-config-next": "^15.2.0",
|
|
44
|
-
"eslint-config-prettier": "^10.0.2",
|
|
45
|
-
"eslint-plugin-import": "^2.31.0",
|
|
46
|
-
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
47
|
-
"eslint-plugin-prettier": "^5.2.3",
|
|
48
|
-
"eslint-plugin-react": "^7.37.4",
|
|
49
|
-
"eslint-plugin-react-compiler": "0.0.0-experimental-c8b3f72-20240517",
|
|
50
|
-
"eslint-plugin-react-hooks": "^5.1.0",
|
|
51
|
-
"globals": "^15.15.0",
|
|
52
|
-
"prettier": "^3.5.3",
|
|
53
|
-
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
54
|
-
"prisma": "^6.5.0",
|
|
55
|
-
"typescript": "^5.8.2",
|
|
56
|
-
"typescript-eslint": "^8.28.0"
|
|
57
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "{{name}}",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": true,
|
|
5
|
+
"scripts": {
|
|
6
|
+
"dev": "docker compose up -d && next dev --turbopack",
|
|
7
|
+
"build": "next build",
|
|
8
|
+
"start": "next start",
|
|
9
|
+
"lint": "next lint",
|
|
10
|
+
"db:push": "npx prisma db push"
|
|
11
|
+
},
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"@prisma/client": "^6.5.0",
|
|
14
|
+
"@radix-ui/react-slot": "^1.1.2",
|
|
15
|
+
"@tailwindcss/postcss": "^4.0.17",
|
|
16
|
+
"autoprefixer": "^10.4.21",
|
|
17
|
+
"bcryptjs": "^2.4.3",
|
|
18
|
+
"class-variance-authority": "^0.7.1",
|
|
19
|
+
"clsx": "^2.1.1",
|
|
20
|
+
"dotenv": "^16.4.7",
|
|
21
|
+
"lucide-react": "^0.474.0",
|
|
22
|
+
"next": "^15.2.4",
|
|
23
|
+
"next-auth": "4.24.11",
|
|
24
|
+
"postcss": "^8.5.3",
|
|
25
|
+
"postgres": "^3.4.5",
|
|
26
|
+
"react": "^19.0.0",
|
|
27
|
+
"react-dom": "^19.0.0",
|
|
28
|
+
"sonner": "^1.7.4",
|
|
29
|
+
"tailwind-merge": "^3.0.2",
|
|
30
|
+
"tailwindcss": "^4.0.15",
|
|
31
|
+
"tailwindcss-animate": "^1.0.7",
|
|
32
|
+
"zod": "^3.24.2"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@eslint/compat": "^1.2.7",
|
|
36
|
+
"@next/eslint-plugin-next": "15.2.4",
|
|
37
|
+
"@types/node": "^22.13.14",
|
|
38
|
+
"@types/react": "^19.0.12",
|
|
39
|
+
"@types/react-dom": "^19.0.4",
|
|
40
|
+
"@vercel/style-guide": "^6.0.0",
|
|
41
|
+
"babel-plugin-react-compiler": "19.0.0-beta-e1e972c-20250221",
|
|
42
|
+
"eslint": "^9.21.0",
|
|
43
|
+
"eslint-config-next": "^15.2.0",
|
|
44
|
+
"eslint-config-prettier": "^10.0.2",
|
|
45
|
+
"eslint-plugin-import": "^2.31.0",
|
|
46
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
47
|
+
"eslint-plugin-prettier": "^5.2.3",
|
|
48
|
+
"eslint-plugin-react": "^7.37.4",
|
|
49
|
+
"eslint-plugin-react-compiler": "0.0.0-experimental-c8b3f72-20240517",
|
|
50
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
51
|
+
"globals": "^15.15.0",
|
|
52
|
+
"prettier": "^3.5.3",
|
|
53
|
+
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
54
|
+
"prisma": "^6.5.0",
|
|
55
|
+
"typescript": "^5.8.2",
|
|
56
|
+
"typescript-eslint": "^8.28.0"
|
|
57
|
+
}
|
|
58
58
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
plugins: {
|
|
3
|
-
"@tailwindcss/postcss": {},
|
|
4
|
-
},
|
|
1
|
+
export default {
|
|
2
|
+
plugins: {
|
|
3
|
+
"@tailwindcss/postcss": {},
|
|
4
|
+
},
|
|
5
5
|
};
|
package/dist/templates/nextjs-ts-landing-prisma/project/src/app/api/auth/[...nextauth]/route.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { handlers } from "@/auth";
|
|
2
|
-
|
|
3
|
-
export const { GET, POST } = handlers;
|
|
1
|
+
import { handlers } from "@/auth";
|
|
2
|
+
|
|
3
|
+
export const { GET, POST } = handlers;
|