create-apppaaaul 2.0.44 → 2.0.46
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/templates/nextjs-ts-clean/project/eslint.config.mjs +6 -8
- package/dist/templates/nextjs-ts-clean/project/package.json +1 -1
- package/dist/templates/nextjs-ts-landing-prisma/project/eslint.config.mjs +6 -8
- package/dist/templates/nextjs-ts-landing-prisma/project/package.json +2 -2
- package/dist/templates/nextjs-ts-landing-prisma/project/pnpm-lock.yaml +6 -18
- package/package.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { FlatCompat } from "@eslint/eslintrc";
|
|
2
1
|
import { defineConfig } from "eslint/config";
|
|
3
2
|
import tseslint from "typescript-eslint";
|
|
4
3
|
import eslintJs from "@eslint/js";
|
|
@@ -9,10 +8,7 @@ import eslintPluginReactCompiler from "eslint-plugin-react-compiler";
|
|
|
9
8
|
import eslintPluginJsxA11y from "eslint-plugin-jsx-a11y";
|
|
10
9
|
import eslintPluginReact from "eslint-plugin-react";
|
|
11
10
|
import eslintPluginStylistic from "@stylistic/eslint-plugin";
|
|
12
|
-
|
|
13
|
-
const compat = new FlatCompat({
|
|
14
|
-
baseDirectory: import.meta.dirname,
|
|
15
|
-
});
|
|
11
|
+
import eslintPluginNext from "@next/eslint-plugin-next";
|
|
16
12
|
|
|
17
13
|
const languageLintingConfig = tseslint.config(
|
|
18
14
|
{
|
|
@@ -113,10 +109,9 @@ const reactA11yLintingConfig = defineConfig([
|
|
|
113
109
|
const nextLintingConfig = defineConfig([
|
|
114
110
|
{
|
|
115
111
|
files: ["**/*.{tsx,jsx}"],
|
|
116
|
-
|
|
117
|
-
compat.extends("plugin:@next/next/recommended"),
|
|
118
|
-
{
|
|
112
|
+
...eslintPluginNext.configs.recommended,
|
|
119
113
|
rules: {
|
|
114
|
+
...eslintPluginNext.configs.recommended.rules,
|
|
120
115
|
"@next/next/no-img-element": "off",
|
|
121
116
|
},
|
|
122
117
|
},
|
|
@@ -197,6 +192,9 @@ const prettierLintingConfig = defineConfig([
|
|
|
197
192
|
]);
|
|
198
193
|
|
|
199
194
|
export default defineConfig([
|
|
195
|
+
{
|
|
196
|
+
ignores: ["node_modules/**", ".next/**", "dist/**", "build/**"],
|
|
197
|
+
},
|
|
200
198
|
languageLintingConfig,
|
|
201
199
|
reactLintingConfig,
|
|
202
200
|
reactA11yLintingConfig,
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
41
41
|
"eslint-plugin-prettier": "^5.5.5",
|
|
42
42
|
"eslint-plugin-react": "^7.37.5",
|
|
43
|
-
"eslint-plugin-react-compiler": "
|
|
43
|
+
"eslint-plugin-react-compiler": "19.1.0-rc.2",
|
|
44
44
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
45
45
|
"globals": "^17.3.0",
|
|
46
46
|
"prettier": "^3.8.1",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { FlatCompat } from "@eslint/eslintrc";
|
|
2
1
|
import { defineConfig } from "eslint/config";
|
|
3
2
|
import tseslint from "typescript-eslint";
|
|
4
3
|
import eslintJs from "@eslint/js";
|
|
@@ -9,10 +8,7 @@ import eslintPluginReactCompiler from "eslint-plugin-react-compiler";
|
|
|
9
8
|
import eslintPluginJsxA11y from "eslint-plugin-jsx-a11y";
|
|
10
9
|
import eslintPluginReact from "eslint-plugin-react";
|
|
11
10
|
import eslintPluginStylistic from "@stylistic/eslint-plugin";
|
|
12
|
-
|
|
13
|
-
const compat = new FlatCompat({
|
|
14
|
-
baseDirectory: import.meta.dirname,
|
|
15
|
-
});
|
|
11
|
+
import eslintPluginNext from "@next/eslint-plugin-next";
|
|
16
12
|
|
|
17
13
|
const languageLintingConfig = tseslint.config(
|
|
18
14
|
{
|
|
@@ -113,10 +109,9 @@ const reactA11yLintingConfig = defineConfig([
|
|
|
113
109
|
const nextLintingConfig = defineConfig([
|
|
114
110
|
{
|
|
115
111
|
files: ["**/*.{tsx,jsx}"],
|
|
116
|
-
|
|
117
|
-
compat.extends("plugin:@next/next/recommended"),
|
|
118
|
-
{
|
|
112
|
+
...eslintPluginNext.configs.recommended,
|
|
119
113
|
rules: {
|
|
114
|
+
...eslintPluginNext.configs.recommended.rules,
|
|
120
115
|
"@next/next/no-img-element": "off",
|
|
121
116
|
},
|
|
122
117
|
},
|
|
@@ -197,6 +192,9 @@ const prettierLintingConfig = defineConfig([
|
|
|
197
192
|
]);
|
|
198
193
|
|
|
199
194
|
export default defineConfig([
|
|
195
|
+
{
|
|
196
|
+
ignores: ["node_modules/**", ".next/**", "dist/**", "build/**"],
|
|
197
|
+
},
|
|
200
198
|
languageLintingConfig,
|
|
201
199
|
reactLintingConfig,
|
|
202
200
|
reactA11yLintingConfig,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"build": "next build",
|
|
8
8
|
"start": "next start",
|
|
9
9
|
"postinstall": "npx prisma generate",
|
|
10
|
-
"lint": "
|
|
10
|
+
"lint": "eslint . --fix",
|
|
11
11
|
"db:push": "npx prisma generate &&npx prisma db push",
|
|
12
12
|
"db:seed": "tsx src/scripts/db-seed.ts",
|
|
13
13
|
"db:studio": "npx prisma studio",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
65
65
|
"eslint-plugin-prettier": "^5.5.5",
|
|
66
66
|
"eslint-plugin-react": "^7.37.5",
|
|
67
|
-
"eslint-plugin-react-compiler": "
|
|
67
|
+
"eslint-plugin-react-compiler": "19.1.0-rc.2",
|
|
68
68
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
69
69
|
"globals": "^17.3.0",
|
|
70
70
|
"prettier": "^3.8.1",
|
|
@@ -151,8 +151,8 @@ importers:
|
|
|
151
151
|
specifier: ^7.37.5
|
|
152
152
|
version: 7.37.5(eslint@9.39.2(jiti@2.6.1))
|
|
153
153
|
eslint-plugin-react-compiler:
|
|
154
|
-
specifier:
|
|
155
|
-
version:
|
|
154
|
+
specifier: 19.1.0-rc.2
|
|
155
|
+
version: 19.1.0-rc.2(eslint@9.39.2(jiti@2.6.1))
|
|
156
156
|
eslint-plugin-react-hooks:
|
|
157
157
|
specifier: ^7.0.1
|
|
158
158
|
version: 7.0.1(eslint@9.39.2(jiti@2.6.1))
|
|
@@ -2170,8 +2170,8 @@ packages:
|
|
|
2170
2170
|
eslint-config-prettier:
|
|
2171
2171
|
optional: true
|
|
2172
2172
|
|
|
2173
|
-
eslint-plugin-react-compiler@
|
|
2174
|
-
resolution: {integrity: sha512-
|
|
2173
|
+
eslint-plugin-react-compiler@19.1.0-rc.2:
|
|
2174
|
+
resolution: {integrity: sha512-oKalwDGcD+RX9mf3NEO4zOoUMeLvjSvcbbEOpquzmzqEEM2MQdp7/FY/Hx9NzmUwFzH1W9SKTz5fihfMldpEYw==}
|
|
2175
2175
|
engines: {node: ^14.17.0 || ^16.0.0 || >= 18.0.0}
|
|
2176
2176
|
peerDependencies:
|
|
2177
2177
|
eslint: '>=7'
|
|
@@ -2478,15 +2478,9 @@ packages:
|
|
|
2478
2478
|
resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==}
|
|
2479
2479
|
hasBin: true
|
|
2480
2480
|
|
|
2481
|
-
hermes-estree@0.20.1:
|
|
2482
|
-
resolution: {integrity: sha512-SQpZK4BzR48kuOg0v4pb3EAGNclzIlqMj3Opu/mu7bbAoFw6oig6cEt/RAi0zTFW/iW6Iz9X9ggGuZTAZ/yZHg==}
|
|
2483
|
-
|
|
2484
2481
|
hermes-estree@0.25.1:
|
|
2485
2482
|
resolution: {integrity: sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==}
|
|
2486
2483
|
|
|
2487
|
-
hermes-parser@0.20.1:
|
|
2488
|
-
resolution: {integrity: sha512-BL5P83cwCogI8D7rrDCgsFY0tdYUtmFP9XaXtl2IQjC+2Xo+4okjfXintlTxcIwl4qeGddEl28Z11kbVIw0aNA==}
|
|
2489
|
-
|
|
2490
2484
|
hermes-parser@0.25.1:
|
|
2491
2485
|
resolution: {integrity: sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==}
|
|
2492
2486
|
|
|
@@ -6163,13 +6157,13 @@ snapshots:
|
|
|
6163
6157
|
optionalDependencies:
|
|
6164
6158
|
eslint-config-prettier: 10.1.8(eslint@9.39.2(jiti@2.6.1))
|
|
6165
6159
|
|
|
6166
|
-
eslint-plugin-react-compiler@
|
|
6160
|
+
eslint-plugin-react-compiler@19.1.0-rc.2(eslint@9.39.2(jiti@2.6.1)):
|
|
6167
6161
|
dependencies:
|
|
6168
6162
|
'@babel/core': 7.29.0
|
|
6169
6163
|
'@babel/parser': 7.29.0
|
|
6170
6164
|
'@babel/plugin-proposal-private-methods': 7.18.6(@babel/core@7.29.0)
|
|
6171
6165
|
eslint: 9.39.2(jiti@2.6.1)
|
|
6172
|
-
hermes-parser: 0.
|
|
6166
|
+
hermes-parser: 0.25.1
|
|
6173
6167
|
zod: 3.25.76
|
|
6174
6168
|
zod-validation-error: 3.5.4(zod@3.25.76)
|
|
6175
6169
|
transitivePeerDependencies:
|
|
@@ -6577,14 +6571,8 @@ snapshots:
|
|
|
6577
6571
|
|
|
6578
6572
|
he@1.2.0: {}
|
|
6579
6573
|
|
|
6580
|
-
hermes-estree@0.20.1: {}
|
|
6581
|
-
|
|
6582
6574
|
hermes-estree@0.25.1: {}
|
|
6583
6575
|
|
|
6584
|
-
hermes-parser@0.20.1:
|
|
6585
|
-
dependencies:
|
|
6586
|
-
hermes-estree: 0.20.1
|
|
6587
|
-
|
|
6588
6576
|
hermes-parser@0.25.1:
|
|
6589
6577
|
dependencies:
|
|
6590
6578
|
hermes-estree: 0.25.1
|