create-apppaaaul 2.0.11 → 2.0.12
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/.cursor/rules/bootstrap-cursor-rules.mdc +44 -44
- package/dist/templates/nextjs-ts-clean/.cursor/rules/front-end-cursor-rules.mdc +37 -37
- package/dist/templates/nextjs-ts-clean/.cursor/rules/optimized-nextjs-typescript-best-practices-modern-ui-ux.mdc +57 -57
- 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/components.json +20 -20
- package/dist/templates/nextjs-ts-clean/project/eslint.config.mjs +21 -10
- package/dist/templates/nextjs-ts-clean/project/next.config.mjs +13 -13
- package/dist/templates/nextjs-ts-clean/project/package.json +48 -49
- package/dist/templates/nextjs-ts-clean/project/postcss.config.js +3 -3
- package/dist/templates/nextjs-ts-clean/project/src/app/globals.css +228 -228
- package/dist/templates/nextjs-ts-clean/project/src/app/layout.tsx +26 -26
- 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 +94 -94
- 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 +20 -20
- package/dist/templates/nextjs-ts-landing-drizzle/project/drizzle.config.ts +11 -11
- package/dist/templates/nextjs-ts-landing-drizzle/project/eslint.config.mjs +183 -0
- package/dist/templates/nextjs-ts-landing-drizzle/project/next.config.mjs +10 -10
- package/dist/templates/nextjs-ts-landing-drizzle/project/package.json +57 -58
- package/dist/templates/nextjs-ts-landing-drizzle/project/postcss.config.js +3 -3
- 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 +161 -161
- package/dist/templates/nextjs-ts-landing-drizzle/project/src/app/layout.tsx +25 -25
- 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-drizzle/rules/bootstrap-cursor-rules.mdc +44 -44
- package/dist/templates/nextjs-ts-landing-drizzle/rules/front-end-cursor-rules.mdc +37 -37
- package/dist/templates/nextjs-ts-landing-drizzle/rules/optimized-nextjs-typescript-best-practices-modern-ui-ux.mdc +57 -57
- 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 +20 -20
- package/dist/templates/nextjs-ts-landing-prisma/project/eslint.config.mjs +25 -14
- package/dist/templates/nextjs-ts-landing-prisma/project/next.config.mjs +10 -10
- package/dist/templates/nextjs-ts-landing-prisma/project/package.json +57 -59
- package/dist/templates/nextjs-ts-landing-prisma/project/postcss.config.mjs +3 -3
- package/dist/templates/nextjs-ts-landing-prisma/project/prisma/migrations/20250329125127_init/migration.sql +25 -25
- package/dist/templates/nextjs-ts-landing-prisma/project/prisma/migrations/migration_lock.toml +2 -2
- package/dist/templates/nextjs-ts-landing-prisma/project/prisma/schema.prisma +24 -24
- 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 +205 -205
- package/dist/templates/nextjs-ts-landing-prisma/project/src/app/layout.tsx +26 -26
- 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 +31 -31
- 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 +9 -9
- 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/dist/templates/nextjs-ts-landing-prisma/rules/bootstrap-cursor-rules.mdc +44 -44
- package/dist/templates/nextjs-ts-landing-prisma/rules/front-end-cursor-rules.mdc +37 -37
- package/dist/templates/nextjs-ts-landing-prisma/rules/optimized-nextjs-typescript-best-practices-modern-ui-ux.mdc +57 -57
- package/package.json +43 -43
- package/dist/templates/nextjs-ts-landing/project/.eslintrc.cjs +0 -101
|
@@ -8,9 +8,6 @@ import eslintPluginImport from "eslint-plugin-import";
|
|
|
8
8
|
import eslintPluginReactCompiler from "eslint-plugin-react-compiler";
|
|
9
9
|
import eslintPluginNext from "@next/eslint-plugin-next";
|
|
10
10
|
import eslintPluginJsxA11y from "eslint-plugin-jsx-a11y";
|
|
11
|
-
import vercelStyleGuideTypescript from "@vercel/style-guide/eslint/typescript";
|
|
12
|
-
import vercelStyleGuideReact from "@vercel/style-guide/eslint/rules/react";
|
|
13
|
-
import vercelStyleGuideNext from "@vercel/style-guide/eslint/next";
|
|
14
11
|
|
|
15
12
|
export default [
|
|
16
13
|
// Ignores configuration
|
|
@@ -26,7 +23,7 @@ export default [
|
|
|
26
23
|
{blankLine: "always", prev: ["const", "let", "var"], next: "*"},
|
|
27
24
|
{blankLine: "any", prev: ["const", "let", "var"], next: ["const", "let", "var"]},
|
|
28
25
|
],
|
|
29
|
-
"no-console": "warn",
|
|
26
|
+
"no-console": ["warn", {allow: ["error"]}],
|
|
30
27
|
},
|
|
31
28
|
},
|
|
32
29
|
// React configuration
|
|
@@ -57,9 +54,12 @@ export default [
|
|
|
57
54
|
...eslintPluginReact.configs.recommended.rules,
|
|
58
55
|
...eslintPluginJsxA11y.configs.recommended.rules,
|
|
59
56
|
...eslintPluginReactHooks.configs.recommended.rules,
|
|
60
|
-
|
|
57
|
+
"react/jsx-boolean-value": ["error", "never"],
|
|
58
|
+
"react/jsx-curly-brace-presence": ["error", {props: "never", children: "never"}],
|
|
59
|
+
"react/jsx-no-useless-fragment": "error",
|
|
61
60
|
"react/prop-types": "off",
|
|
62
61
|
"react/jsx-uses-react": "off",
|
|
62
|
+
"react/no-array-index-key": "off",
|
|
63
63
|
"react/react-in-jsx-scope": "off",
|
|
64
64
|
"react/self-closing-comp": "warn",
|
|
65
65
|
"react/jsx-sort-props": [
|
|
@@ -72,8 +72,10 @@ export default [
|
|
|
72
72
|
},
|
|
73
73
|
],
|
|
74
74
|
"react-compiler/react-compiler": "error",
|
|
75
|
+
"react/jsx-no-leaked-render": "off",
|
|
75
76
|
"jsx-a11y/no-static-element-interactions": "off",
|
|
76
77
|
"jsx-a11y/click-events-have-key-events": "off",
|
|
78
|
+
"jsx-a11y/html-has-lang": "off",
|
|
77
79
|
},
|
|
78
80
|
},
|
|
79
81
|
// TypeScript configuration
|
|
@@ -81,7 +83,14 @@ export default [
|
|
|
81
83
|
...tseslint.configs.recommended,
|
|
82
84
|
{
|
|
83
85
|
rules: {
|
|
84
|
-
|
|
86
|
+
"@typescript-eslint/ban-ts-comment": "off",
|
|
87
|
+
"@typescript-eslint/no-empty-object-type": "error",
|
|
88
|
+
"@typescript-eslint/no-unsafe-function-type": "error",
|
|
89
|
+
"@typescript-eslint/no-wrapper-object-types": "error",
|
|
90
|
+
"@typescript-eslint/no-empty-function": "off",
|
|
91
|
+
"@typescript-eslint/no-explicit-any": "off",
|
|
92
|
+
"@typescript-eslint/no-inferrable-types": "off",
|
|
93
|
+
"@typescript-eslint/no-namespace": "off",
|
|
85
94
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
86
95
|
"@typescript-eslint/no-shadow": "off",
|
|
87
96
|
"@typescript-eslint/explicit-function-return-type": "off",
|
|
@@ -94,6 +103,7 @@ export default [
|
|
|
94
103
|
args: "after-used",
|
|
95
104
|
ignoreRestSiblings: false,
|
|
96
105
|
argsIgnorePattern: "^_.*?$",
|
|
106
|
+
caughtErrorsIgnorePattern: "^_.*?$",
|
|
97
107
|
},
|
|
98
108
|
],
|
|
99
109
|
},
|
|
@@ -143,7 +153,7 @@ export default [
|
|
|
143
153
|
],
|
|
144
154
|
pathGroups: [
|
|
145
155
|
{
|
|
146
|
-
pattern: "
|
|
156
|
+
pattern: "@/*",
|
|
147
157
|
group: "external",
|
|
148
158
|
position: "after",
|
|
149
159
|
},
|
|
@@ -156,7 +166,7 @@ export default [
|
|
|
156
166
|
// Next configuration
|
|
157
167
|
{
|
|
158
168
|
plugins: {
|
|
159
|
-
next: fixupPluginRules(eslintPluginNext),
|
|
169
|
+
"@next/next": fixupPluginRules(eslintPluginNext),
|
|
160
170
|
},
|
|
161
171
|
languageOptions: {
|
|
162
172
|
globals: {
|
|
@@ -165,8 +175,9 @@ export default [
|
|
|
165
175
|
},
|
|
166
176
|
},
|
|
167
177
|
rules: {
|
|
168
|
-
...
|
|
178
|
+
...eslintPluginNext.configs.recommended.rules,
|
|
169
179
|
"@next/next/no-img-element": "off",
|
|
180
|
+
"@next/next/no-html-link-for-pages": "off",
|
|
170
181
|
},
|
|
171
182
|
},
|
|
172
|
-
];
|
|
183
|
+
];
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/** @type {import('next').NextConfig} */
|
|
2
|
-
const nextConfig = {
|
|
3
|
-
experimental: {
|
|
4
|
-
reactCompiler: true,
|
|
5
|
-
},
|
|
6
|
-
logging: {
|
|
7
|
-
fetches: {
|
|
8
|
-
fullUrl: true,
|
|
9
|
-
},
|
|
10
|
-
},
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export default nextConfig;
|
|
1
|
+
/** @type {import('next').NextConfig} */
|
|
2
|
+
const nextConfig = {
|
|
3
|
+
experimental: {
|
|
4
|
+
reactCompiler: true,
|
|
5
|
+
},
|
|
6
|
+
logging: {
|
|
7
|
+
fetches: {
|
|
8
|
+
fullUrl: true,
|
|
9
|
+
},
|
|
10
|
+
},
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export default nextConfig;
|
|
@@ -1,50 +1,49 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "{{name}}",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"private": true,
|
|
5
|
-
"scripts": {
|
|
6
|
-
"dev": "next dev --turbopack",
|
|
7
|
-
"build": "next build",
|
|
8
|
-
"start": "next start",
|
|
9
|
-
"lint": "next lint"
|
|
10
|
-
},
|
|
11
|
-
"dependencies": {
|
|
12
|
-
"@radix-ui/react-slot": "^1.2.0",
|
|
13
|
-
"@tailwindcss/postcss": "^4.1.4",
|
|
14
|
-
"autoprefixer": "^10.4.21",
|
|
15
|
-
"class-variance-authority": "^0.7.1",
|
|
16
|
-
"clsx": "^2.1.1",
|
|
17
|
-
"lucide-react": "^0.
|
|
18
|
-
"next": "^15.3.1",
|
|
19
|
-
"postcss": "^8.5.3",
|
|
20
|
-
"react": "19.1.0",
|
|
21
|
-
"react-dom": "19.1.0",
|
|
22
|
-
"tailwind-merge": "^3.2.0",
|
|
23
|
-
"tailwindcss": "^4.1.4",
|
|
24
|
-
"tailwindcss-animate": "^1.0.7"
|
|
25
|
-
},
|
|
26
|
-
"devDependencies": {
|
|
27
|
-
"@eslint/compat": "^1.2.8",
|
|
28
|
-
"@next/eslint-plugin-next": "15.
|
|
29
|
-
"@types/node": "^22.15.3",
|
|
30
|
-
"@types/react": "^19.1.
|
|
31
|
-
"@types/react-dom": "^19.1.2",
|
|
32
|
-
"@vercel/style-guide": "^6.0.0",
|
|
33
|
-
"babel-plugin-react-compiler": "19.0.0-beta-
|
|
34
|
-
"eslint": "^9.
|
|
35
|
-
"eslint-config-next": "^15.3.
|
|
36
|
-
"eslint-config-prettier": "^10.1.
|
|
37
|
-
"eslint-plugin-import": "^2.31.0",
|
|
38
|
-
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
39
|
-
"eslint-plugin-prettier": "^5.
|
|
40
|
-
"eslint-plugin-react": "^7.37.5",
|
|
41
|
-
"eslint-plugin-react-compiler": "0.0.0-experimental-c8b3f72-20240517",
|
|
42
|
-
"eslint-plugin-react-hooks": "^5.2.0",
|
|
43
|
-
"globals": "^16.
|
|
44
|
-
"prettier": "^3.5.3",
|
|
45
|
-
"prettier-plugin-tailwindcss": "^0.6.
|
|
46
|
-
"
|
|
47
|
-
"typescript": "^
|
|
48
|
-
|
|
49
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "{{name}}",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": true,
|
|
5
|
+
"scripts": {
|
|
6
|
+
"dev": "next dev --turbopack",
|
|
7
|
+
"build": "next build",
|
|
8
|
+
"start": "next start",
|
|
9
|
+
"lint": "next lint"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"@radix-ui/react-slot": "^1.2.0",
|
|
13
|
+
"@tailwindcss/postcss": "^4.1.4",
|
|
14
|
+
"autoprefixer": "^10.4.21",
|
|
15
|
+
"class-variance-authority": "^0.7.1",
|
|
16
|
+
"clsx": "^2.1.1",
|
|
17
|
+
"lucide-react": "^0.525.0",
|
|
18
|
+
"next": "^15.3.1",
|
|
19
|
+
"postcss": "^8.5.3",
|
|
20
|
+
"react": "19.1.0",
|
|
21
|
+
"react-dom": "19.1.0",
|
|
22
|
+
"tailwind-merge": "^3.2.0",
|
|
23
|
+
"tailwindcss": "^4.1.4",
|
|
24
|
+
"tailwindcss-animate": "^1.0.7"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@eslint/compat": "^1.2.8",
|
|
28
|
+
"@next/eslint-plugin-next": "15.3.5",
|
|
29
|
+
"@types/node": "^22.15.3",
|
|
30
|
+
"@types/react": "^19.1.8",
|
|
31
|
+
"@types/react-dom": "^19.1.2",
|
|
32
|
+
"@vercel/style-guide": "^6.0.0",
|
|
33
|
+
"babel-plugin-react-compiler": "19.0.0-beta-e1e972c-20250221",
|
|
34
|
+
"eslint": "^9.30.1",
|
|
35
|
+
"eslint-config-next": "^15.3.5",
|
|
36
|
+
"eslint-config-prettier": "^10.1.5",
|
|
37
|
+
"eslint-plugin-import": "^2.31.0",
|
|
38
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
39
|
+
"eslint-plugin-prettier": "^5.5.1",
|
|
40
|
+
"eslint-plugin-react": "^7.37.5",
|
|
41
|
+
"eslint-plugin-react-compiler": "0.0.0-experimental-c8b3f72-20240517",
|
|
42
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
43
|
+
"globals": "^16.3.0",
|
|
44
|
+
"prettier": "^3.5.3",
|
|
45
|
+
"prettier-plugin-tailwindcss": "^0.6.14",
|
|
46
|
+
"typescript": "^5.8.3",
|
|
47
|
+
"typescript-eslint": "^8.36.0"
|
|
48
|
+
}
|
|
50
49
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
plugins: ["@tailwindcss/postcss"],
|
|
3
|
-
};
|
|
1
|
+
export default {
|
|
2
|
+
plugins: ["@tailwindcss/postcss"],
|
|
3
|
+
};
|