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
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
const { resolve } = require("node:path");
|
|
2
|
-
|
|
3
|
-
const project = resolve(__dirname, "tsconfig.json");
|
|
4
|
-
|
|
5
|
-
module.exports = {
|
|
6
|
-
root: true,
|
|
7
|
-
plugins: ["prettier", "import"],
|
|
8
|
-
extends: [
|
|
9
|
-
require.resolve("@vercel/style-guide/eslint/typescript"),
|
|
10
|
-
require.resolve("@vercel/style-guide/eslint/react"),
|
|
11
|
-
require.resolve("@vercel/style-guide/eslint/next"),
|
|
12
|
-
"plugin:prettier/recommended",
|
|
13
|
-
],
|
|
14
|
-
parserOptions: {
|
|
15
|
-
ecmaVersion: "latest",
|
|
16
|
-
project,
|
|
17
|
-
},
|
|
18
|
-
settings: {
|
|
19
|
-
"import/resolver": {
|
|
20
|
-
typescript: {
|
|
21
|
-
project,
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
rules: {
|
|
26
|
-
"prettier/prettier": [
|
|
27
|
-
"warn",
|
|
28
|
-
{
|
|
29
|
-
printWidth: 100,
|
|
30
|
-
trailingComma: "all",
|
|
31
|
-
tabWidth: 2,
|
|
32
|
-
semi: true,
|
|
33
|
-
singleQuote: false,
|
|
34
|
-
bracketSpacing: true,
|
|
35
|
-
arrowParens: "always",
|
|
36
|
-
endOfLine: "auto",
|
|
37
|
-
plugins: ["prettier-plugin-tailwindcss"],
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
"import/no-default-export": "off",
|
|
41
|
-
"import/order": [
|
|
42
|
-
"warn",
|
|
43
|
-
{
|
|
44
|
-
groups: ["type", "builtin", "object", "external", "internal", "parent", "sibling", "index"],
|
|
45
|
-
pathGroups: [
|
|
46
|
-
{
|
|
47
|
-
pattern: "~/**",
|
|
48
|
-
group: "external",
|
|
49
|
-
position: "after",
|
|
50
|
-
},
|
|
51
|
-
],
|
|
52
|
-
"newlines-between": "always",
|
|
53
|
-
},
|
|
54
|
-
],
|
|
55
|
-
"padding-line-between-statements": [
|
|
56
|
-
"warn",
|
|
57
|
-
{ blankLine: "always", prev: "*", next: ["return", "export"] },
|
|
58
|
-
{ blankLine: "always", prev: ["const", "let", "var"], next: "*" },
|
|
59
|
-
{ blankLine: "any", prev: ["const", "let", "var"], next: ["const", "let", "var"] },
|
|
60
|
-
],
|
|
61
|
-
"no-console": "warn",
|
|
62
|
-
"react/prop-types": "off",
|
|
63
|
-
"react/jsx-uses-react": "off",
|
|
64
|
-
"react/react-in-jsx-scope": "off",
|
|
65
|
-
"react/self-closing-comp": "warn",
|
|
66
|
-
"react/jsx-sort-props": [
|
|
67
|
-
"warn",
|
|
68
|
-
{
|
|
69
|
-
callbacksLast: true,
|
|
70
|
-
shorthandFirst: true,
|
|
71
|
-
noSortAlphabetically: false,
|
|
72
|
-
reservedFirst: true,
|
|
73
|
-
},
|
|
74
|
-
],
|
|
75
|
-
"@typescript-eslint/no-non-null-assertion": "off",
|
|
76
|
-
"@typescript-eslint/no-shadow": "off",
|
|
77
|
-
"@typescript-eslint/explicit-function-return-type": "off",
|
|
78
|
-
"@typescript-eslint/require-await": "off",
|
|
79
|
-
"@typescript-eslint/no-floating-promises": "off",
|
|
80
|
-
"@typescript-eslint/no-confusing-void-expression": "off",
|
|
81
|
-
"@typescript-eslint/no-unused-vars": [
|
|
82
|
-
"warn",
|
|
83
|
-
{
|
|
84
|
-
args: "after-used",
|
|
85
|
-
ignoreRestSiblings: false,
|
|
86
|
-
argsIgnorePattern: "^_.*?$",
|
|
87
|
-
},
|
|
88
|
-
],
|
|
89
|
-
"@next/next/no-img-element": "off",
|
|
90
|
-
"jsx-a11y/no-static-element-interactions": "off",
|
|
91
|
-
"jsx-a11y/click-events-have-key-events": "off",
|
|
92
|
-
"@typescript-eslint/no-unsafe-call": "off",
|
|
93
|
-
"@typescript-eslint/no-unsafe-member-access": "off",
|
|
94
|
-
"@typescript-eslint/no-misused-promises": "off",
|
|
95
|
-
"@typescript-eslint/no-unnecessary-condition": "off",
|
|
96
|
-
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
97
|
-
"@typescript-eslint/no-unsafe-return": "off",
|
|
98
|
-
"@typescript-eslint/no-unsafe-argument": "off",
|
|
99
|
-
"@typescript-eslint/restrict-template-expressions": "off",
|
|
100
|
-
},
|
|
101
|
-
};
|