create-n8-app 0.3.0 → 0.3.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/dist/index.js CHANGED
@@ -122,7 +122,15 @@ async function runShadcnInit(targetDir) {
122
122
  stdio: "inherit"
123
123
  });
124
124
  logger.info("Adding base Shadcn/ui components...");
125
- const baseComponents = ["button", "card", "input", "label", "form", "toast", "textarea"];
125
+ const baseComponents = [
126
+ "button",
127
+ "card",
128
+ "input",
129
+ "label",
130
+ "form",
131
+ "sonner",
132
+ "textarea"
133
+ ];
126
134
  await execa("npx", ["shadcn@latest", "add", ...baseComponents, "-y"], {
127
135
  cwd: targetDir,
128
136
  stdio: "inherit"
@@ -232,7 +240,7 @@ async function createProject(options) {
232
240
 
233
241
  // src/index.ts
234
242
  var program = new Command();
235
- program.name("create-n8-app").description("Create a new Next.js app with the N8 stack").version("0.3.0").argument("[project-name]", "Name of the project").option("--skip-install", "Skip installing dependencies").option("--skip-git", "Skip initializing git repository").action(async (projectName, options) => {
243
+ program.name("create-n8-app").description("Create a new Next.js app with the N8 stack").version("0.3.1").argument("[project-name]", "Name of the project").option("--skip-install", "Skip installing dependencies").option("--skip-git", "Skip initializing git repository").action(async (projectName, options) => {
236
244
  try {
237
245
  await createProject({
238
246
  projectName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-n8-app",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Create a Next.js app with the N8 stack - Next.js 16, Tailwind v4, Shadcn/ui, Drizzle, tRPC, TanStack Query, Zustand, NextAuth, and more",
5
5
  "type": "module",
6
6
  "bin": {
@@ -17,46 +17,52 @@
17
17
  "db:studio": "drizzle-kit studio"
18
18
  },
19
19
  "dependencies": {
20
- "@ai-sdk/openai": "^1.3.0",
21
- "@auth/drizzle-adapter": "^1.11.0",
22
- "@hookform/resolvers": "^3.9.0",
23
- "@neondatabase/serverless": "^1.0.0",
24
- "@tanstack/react-query": "^5.90.0",
25
- "@trpc/client": "^11.8.0",
26
- "@trpc/react-query": "^11.8.0",
27
- "@trpc/server": "^11.8.0",
28
- "ai": "^4.3.0",
20
+ "@ai-sdk/openai": "^3.0.21",
21
+ "@auth/drizzle-adapter": "^1.11.1",
22
+ "@hookform/resolvers": "^5.2.2",
23
+ "@neondatabase/serverless": "^1.0.2",
24
+ "@radix-ui/react-label": "^2.1.8",
25
+ "@radix-ui/react-slot": "^1.2.4",
26
+ "@tanstack/react-query": "^5.90.20",
27
+ "@trpc/client": "^11.8.1",
28
+ "@trpc/react-query": "^11.8.1",
29
+ "@trpc/server": "^11.8.1",
30
+ "ai": "^6.0.57",
31
+ "class-variance-authority": "^0.7.1",
29
32
  "clsx": "^2.1.1",
30
- "drizzle-orm": "^0.45.0",
33
+ "drizzle-orm": "^0.45.1",
31
34
  "lucide-react": "^0.563.0",
32
- "next": "^16.0.0",
33
- "next-auth": "^5.0.0-beta.30",
34
- "react": "^19.2.0",
35
- "react-dom": "^19.2.0",
36
- "react-hook-form": "^7.54.0",
35
+ "next": "^16.1.5",
36
+ "next-auth": "5.0.0-beta.30",
37
+ "next-themes": "^0.4.6",
38
+ "react": "^19.2.4",
39
+ "react-dom": "^19.2.4",
40
+ "react-hook-form": "^7.71.1",
41
+ "sonner": "^2.0.7",
37
42
  "superjson": "^2.2.6",
38
43
  "tailwind-merge": "^3.4.0",
39
- "zod": "^3.25.0",
44
+ "zod": "^4.3.6",
40
45
  "zustand": "^5.0.10"
41
46
  },
42
47
  "devDependencies": {
43
- "@tanstack/react-query-devtools": "^5.90.0",
44
- "@tailwindcss/postcss": "^4.1.0",
45
- "@testing-library/jest-dom": "^6.9.0",
46
- "@testing-library/react": "^16.3.0",
47
- "@types/node": "^22.19.0",
48
- "@types/react": "^19.2.0",
49
- "@types/react-dom": "^19.2.0",
50
- "@vitejs/plugin-react": "^4.7.0",
51
- "drizzle-kit": "^0.31.0",
52
- "eslint": "^9.39.0",
53
- "eslint-config-next": "^16.0.0",
48
+ "@tailwindcss/postcss": "^4.1.18",
49
+ "@tanstack/react-query-devtools": "^5.91.2",
50
+ "@testing-library/jest-dom": "^6.9.1",
51
+ "@testing-library/react": "^16.3.2",
52
+ "@types/node": "^25.0.10",
53
+ "@types/react": "^19.2.10",
54
+ "@types/react-dom": "^19.2.3",
55
+ "@vitejs/plugin-react": "^5.1.2",
56
+ "drizzle-kit": "^0.31.8",
57
+ "eslint": "^9.39.2",
58
+ "eslint-config-next": "^16.1.5",
54
59
  "jsdom": "^27.4.0",
55
- "postcss": "^8.5.0",
56
- "prettier": "^3.8.0",
57
- "prettier-plugin-tailwindcss": "^0.7.0",
58
- "tailwindcss": "^4.1.0",
59
- "typescript": "^5.9.0",
60
- "vitest": "^4.0.0"
60
+ "postcss": "^8.5.6",
61
+ "prettier": "^3.8.1",
62
+ "prettier-plugin-tailwindcss": "^0.7.2",
63
+ "tailwindcss": "^4.1.18",
64
+ "tw-animate-css": "^1.4.0",
65
+ "typescript": "^5.9.3",
66
+ "vitest": "^4.0.18"
61
67
  }
62
68
  }
@@ -2,7 +2,7 @@ import type { Metadata } from 'next'
2
2
  import { Inter } from 'next/font/google'
3
3
  import './globals.css'
4
4
  import { Providers } from './providers'
5
- import { Toaster } from '@/components/ui/toaster'
5
+ import { Toaster } from '@/components/ui/sonner'
6
6
 
7
7
  const inter = Inter({
8
8
  subsets: ['latin'],
@@ -1,5 +1,5 @@
1
- import { type ClassValue, clsx } from 'clsx'
2
- import { twMerge } from 'tailwind-merge'
1
+ import { clsx, type ClassValue } from "clsx"
2
+ import { twMerge } from "tailwind-merge"
3
3
 
4
4
  export function cn(...inputs: ClassValue[]) {
5
5
  return twMerge(clsx(inputs))
@@ -1,7 +1,11 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "target": "ES2017",
4
- "lib": ["dom", "dom.iterable", "esnext"],
4
+ "lib": [
5
+ "dom",
6
+ "dom.iterable",
7
+ "esnext"
8
+ ],
5
9
  "allowJs": true,
6
10
  "skipLibCheck": true,
7
11
  "strict": true,
@@ -11,7 +15,7 @@
11
15
  "moduleResolution": "bundler",
12
16
  "resolveJsonModule": true,
13
17
  "isolatedModules": true,
14
- "jsx": "preserve",
18
+ "jsx": "react-jsx",
15
19
  "incremental": true,
16
20
  "plugins": [
17
21
  {
@@ -19,9 +23,19 @@
19
23
  }
20
24
  ],
21
25
  "paths": {
22
- "@/*": ["./*"]
26
+ "@/*": [
27
+ "./*"
28
+ ]
23
29
  }
24
30
  },
25
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
26
- "exclude": ["node_modules"]
31
+ "include": [
32
+ "next-env.d.ts",
33
+ "**/*.ts",
34
+ "**/*.tsx",
35
+ ".next/types/**/*.ts",
36
+ ".next/dev/types/**/*.ts"
37
+ ],
38
+ "exclude": [
39
+ "node_modules"
40
+ ]
27
41
  }