@asynx/create-asynx-next-app 1.0.6 → 1.0.8
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/create-asynx-next-app-wrapper/package.json +1 -1
- package/create-asynx-next-app-wrapper/pnpm-lock.yaml +52 -0
- package/package.json +1 -1
- package/templates/advanced/global.d.ts +3 -0
- package/templates/advanced/next.config.ts +7 -0
- package/templates/advanced/tsconfig.json +11 -6
- package/templates/standard/global.d.ts +3 -0
- package/templates/standard/next.config.ts +7 -0
- package/templates/standard/src/app/globals.css +0 -1
- package/templates/standard/tsconfig.json +11 -4
- package/templates/starter/eslint.config.mjs +18 -0
- package/templates/starter/global.d.ts +3 -0
- package/templates/starter/next.config.ts +7 -0
- package/templates/starter/package.json +12 -11
- package/templates/starter/tsconfig.json +12 -4
- package/templates/advanced/next.config.mjs +0 -14
- package/templates/starter/next-env.d.ts +0 -4
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
lockfileVersion: '9.0'
|
|
2
|
+
|
|
3
|
+
settings:
|
|
4
|
+
autoInstallPeers: true
|
|
5
|
+
excludeLinksFromLockfile: false
|
|
6
|
+
|
|
7
|
+
importers:
|
|
8
|
+
|
|
9
|
+
.:
|
|
10
|
+
dependencies:
|
|
11
|
+
'@asynx/create-asynx-next-app':
|
|
12
|
+
specifier: ^1.0.7
|
|
13
|
+
version: 1.0.7
|
|
14
|
+
|
|
15
|
+
packages:
|
|
16
|
+
|
|
17
|
+
'@asynx/create-asynx-next-app@1.0.7':
|
|
18
|
+
resolution: {integrity: sha512-o4O5GKQloV3iknDR32Jw9nfRAEMvYi0jfPWVF3Gq3ijRR4XdaZAQGQewlNOru8/XPPQwYvZ9JeRz0+vaMHckxQ==}
|
|
19
|
+
engines: {node: '>=18'}
|
|
20
|
+
hasBin: true
|
|
21
|
+
|
|
22
|
+
kleur@3.0.3:
|
|
23
|
+
resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==}
|
|
24
|
+
engines: {node: '>=6'}
|
|
25
|
+
|
|
26
|
+
picocolors@1.1.1:
|
|
27
|
+
resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}
|
|
28
|
+
|
|
29
|
+
prompts@2.4.2:
|
|
30
|
+
resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==}
|
|
31
|
+
engines: {node: '>= 6'}
|
|
32
|
+
|
|
33
|
+
sisteransi@1.0.5:
|
|
34
|
+
resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==}
|
|
35
|
+
|
|
36
|
+
snapshots:
|
|
37
|
+
|
|
38
|
+
'@asynx/create-asynx-next-app@1.0.7':
|
|
39
|
+
dependencies:
|
|
40
|
+
picocolors: 1.1.1
|
|
41
|
+
prompts: 2.4.2
|
|
42
|
+
|
|
43
|
+
kleur@3.0.3: {}
|
|
44
|
+
|
|
45
|
+
picocolors@1.1.1: {}
|
|
46
|
+
|
|
47
|
+
prompts@2.4.2:
|
|
48
|
+
dependencies:
|
|
49
|
+
kleur: 3.0.3
|
|
50
|
+
sisteransi: 1.0.5
|
|
51
|
+
|
|
52
|
+
sisteransi@1.0.5: {}
|
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
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { defineConfig, globalIgnores } from 'eslint/config';
|
|
2
|
+
import nextVitals from 'eslint-config-next/core-web-vitals';
|
|
3
|
+
import nextTs from 'eslint-config-next/typescript';
|
|
4
|
+
|
|
5
|
+
const eslintConfig = defineConfig([
|
|
6
|
+
...nextVitals,
|
|
7
|
+
...nextTs,
|
|
8
|
+
// Override default ignores of eslint-config-next.
|
|
9
|
+
globalIgnores([
|
|
10
|
+
// Default ignores of eslint-config-next:
|
|
11
|
+
'.next/**',
|
|
12
|
+
'out/**',
|
|
13
|
+
'build/**',
|
|
14
|
+
'next-env.d.ts',
|
|
15
|
+
]),
|
|
16
|
+
]);
|
|
17
|
+
|
|
18
|
+
export default eslintConfig;
|
|
@@ -5,20 +5,21 @@
|
|
|
5
5
|
"dev": "next dev",
|
|
6
6
|
"build": "next build",
|
|
7
7
|
"start": "next start",
|
|
8
|
-
"lint": "
|
|
8
|
+
"lint": "eslint"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"next": "
|
|
12
|
-
"react": "
|
|
13
|
-
"react-dom": "
|
|
11
|
+
"next": "16.1.1",
|
|
12
|
+
"react": "19.2.3",
|
|
13
|
+
"react-dom": "19.2.3"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"tailwindcss": "^4
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"@types/
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
16
|
+
"@tailwindcss/postcss": "^4",
|
|
17
|
+
"@types/node": "^20",
|
|
18
|
+
"@types/react": "^19",
|
|
19
|
+
"@types/react-dom": "^19",
|
|
20
|
+
"eslint": "^9",
|
|
21
|
+
"eslint-config-next": "16.1.1",
|
|
22
|
+
"tailwindcss": "^4",
|
|
23
|
+
"typescript": "^5"
|
|
23
24
|
}
|
|
24
25
|
}
|
|
@@ -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;
|