@asynx/create-asynx-next-app 1.0.6 → 1.0.7
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/package.json +1 -1
- package/templates/advanced/next.config.ts +7 -0
- package/templates/advanced/tsconfig.json +11 -6
- package/templates/standard/next.config.ts +7 -0
- package/templates/standard/tsconfig.json +11 -4
- package/templates/starter/next.config.ts +7 -0
- package/templates/starter/tsconfig.json +12 -4
- package/templates/advanced/next.config.mjs +0 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"target": "
|
|
3
|
+
"target": "ES2017",
|
|
4
4
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
5
5
|
"allowJs": true,
|
|
6
6
|
"skipLibCheck": true,
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"moduleResolution": "bundler",
|
|
12
12
|
"resolveJsonModule": true,
|
|
13
13
|
"isolatedModules": true,
|
|
14
|
-
"jsx": "
|
|
14
|
+
"jsx": "react-jsx",
|
|
15
15
|
"incremental": true,
|
|
16
16
|
"plugins": [
|
|
17
17
|
{
|
|
@@ -19,11 +19,16 @@
|
|
|
19
19
|
}
|
|
20
20
|
],
|
|
21
21
|
"paths": {
|
|
22
|
-
"@/*": ["
|
|
23
|
-
"@/features/*": ["./src/features/*"],
|
|
24
|
-
"@/lib/*": ["./src/lib/*"]
|
|
22
|
+
"@/*": ["./*"]
|
|
25
23
|
}
|
|
26
24
|
},
|
|
27
|
-
"include": [
|
|
25
|
+
"include": [
|
|
26
|
+
"next-env.d.ts",
|
|
27
|
+
"**/*.ts",
|
|
28
|
+
"**/*.tsx",
|
|
29
|
+
".next/types/**/*.ts",
|
|
30
|
+
".next/dev/types/**/*.ts",
|
|
31
|
+
"**/*.mts"
|
|
32
|
+
],
|
|
28
33
|
"exclude": ["node_modules"]
|
|
29
34
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"target": "
|
|
3
|
+
"target": "ES2017",
|
|
4
4
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
5
5
|
"allowJs": true,
|
|
6
6
|
"skipLibCheck": true,
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"moduleResolution": "bundler",
|
|
12
12
|
"resolveJsonModule": true,
|
|
13
13
|
"isolatedModules": true,
|
|
14
|
-
"jsx": "
|
|
14
|
+
"jsx": "react-jsx",
|
|
15
15
|
"incremental": true,
|
|
16
16
|
"plugins": [
|
|
17
17
|
{
|
|
@@ -19,9 +19,16 @@
|
|
|
19
19
|
}
|
|
20
20
|
],
|
|
21
21
|
"paths": {
|
|
22
|
-
"@/*": ["
|
|
22
|
+
"@/*": ["./*"]
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
|
-
"include": [
|
|
25
|
+
"include": [
|
|
26
|
+
"next-env.d.ts",
|
|
27
|
+
"**/*.ts",
|
|
28
|
+
"**/*.tsx",
|
|
29
|
+
".next/types/**/*.ts",
|
|
30
|
+
".next/dev/types/**/*.ts",
|
|
31
|
+
"**/*.mts"
|
|
32
|
+
],
|
|
26
33
|
"exclude": ["node_modules"]
|
|
27
34
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"target": "
|
|
3
|
+
"target": "ES2017",
|
|
4
4
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
5
|
-
"allowJs":
|
|
5
|
+
"allowJs": true,
|
|
6
6
|
"skipLibCheck": true,
|
|
7
7
|
"strict": true,
|
|
8
8
|
"noEmit": true,
|
|
@@ -13,14 +13,22 @@
|
|
|
13
13
|
"isolatedModules": true,
|
|
14
14
|
"jsx": "react-jsx",
|
|
15
15
|
"incremental": true,
|
|
16
|
-
"plugins": [
|
|
16
|
+
"plugins": [
|
|
17
|
+
{
|
|
18
|
+
"name": "next"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"paths": {
|
|
22
|
+
"@/*": ["./*"]
|
|
23
|
+
}
|
|
17
24
|
},
|
|
18
25
|
"include": [
|
|
19
26
|
"next-env.d.ts",
|
|
20
27
|
"**/*.ts",
|
|
21
28
|
"**/*.tsx",
|
|
22
29
|
".next/types/**/*.ts",
|
|
23
|
-
".next/dev/types/**/*.ts"
|
|
30
|
+
".next/dev/types/**/*.ts",
|
|
31
|
+
"**/*.mts"
|
|
24
32
|
],
|
|
25
33
|
"exclude": ["node_modules"]
|
|
26
34
|
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/** @type {import('next').NextConfig} */
|
|
2
|
-
const nextConfig = {
|
|
3
|
-
reactStrictMode: true,
|
|
4
|
-
// Recommended for production SaaS apps
|
|
5
|
-
poweredByHeader: false,
|
|
6
|
-
typescript: {
|
|
7
|
-
ignoreBuildErrors: true,
|
|
8
|
-
},
|
|
9
|
-
images: {
|
|
10
|
-
unoptimized: true,
|
|
11
|
-
},
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export default nextConfig;
|