@asynx/create-asynx-next-app 1.0.7 → 1.0.9

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.
@@ -6,7 +6,7 @@
6
6
  "create-asynx-next-app": "index.js"
7
7
  },
8
8
  "dependencies": {
9
- "@asynx/create-asynx-next-app": "^0.1.0"
9
+ "@asynx/create-asynx-next-app": "^1.0.7"
10
10
  },
11
11
  "license": "MIT"
12
12
  }
@@ -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
  "name": "@asynx/create-asynx-next-app",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "Opinionated Next.js App Router scaffolder by Asynx Devs",
5
5
  "type": "module",
6
6
  "bin": {
@@ -0,0 +1,3 @@
1
+ declare module '*.css';
2
+ declare module '*.scss';
3
+ declare module '*.sass';
@@ -8,17 +8,18 @@
8
8
  "lint": "next lint"
9
9
  },
10
10
  "dependencies": {
11
- "next": "latest",
12
- "react": "latest",
13
- "react-dom": "latest"
11
+ "next": "16.1.1",
12
+ "react": "19.2.3",
13
+ "react-dom": "19.2.3"
14
14
  },
15
15
  "devDependencies": {
16
- "tailwindcss": "^4.0.0",
17
- "postcss": "^8.4.0",
18
- "autoprefixer": "^10.4.0",
19
- "typescript": "^5.0.0",
20
- "@types/node": "^20.0.0",
21
- "@types/react": "^18.0.0",
22
- "@types/react-dom": "^18.0.0"
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,6 +1,7 @@
1
- export default {
2
- plugins: {
3
- tailwindcss: {},
4
- autoprefixer: {},
5
- },
6
- };
1
+ const config = {
2
+ plugins: {
3
+ "@tailwindcss/postcss": {},
4
+ },
5
+ };
6
+
7
+ export default config;
@@ -1,151 +1,150 @@
1
- @import "tailwindcss";
2
- @import "tw-animate-css";
1
+ @import 'tailwindcss';
3
2
 
4
3
  @custom-variant dark (&:is(.dark *));
5
4
 
6
5
  :root {
7
- --background: 0 0% 100%;
8
- --foreground: 0 0% 3.9%;
9
- --card: oklch(1 0 0);
10
- --card-foreground: oklch(0.145 0 0);
11
- --popover: oklch(1 0 0);
12
- --popover-foreground: oklch(0.145 0 0);
13
- --primary: 221.2 83.2% 53.3%;
14
- --primary-foreground: 0 0% 100%;
15
- --secondary: oklch(0.97 0 0);
16
- --secondary-foreground: oklch(0.205 0 0);
17
- --muted: 0 0% 96.1%;
18
- --muted-foreground: 0 0% 45.1%;
19
- --accent: oklch(0.97 0 0);
20
- --accent-foreground: oklch(0.205 0 0);
21
- --destructive: oklch(0.577 0.245 27.325);
22
- --destructive-foreground: oklch(0.577 0.245 27.325);
23
- --border: 0 0% 89.8%;
24
- --input: oklch(0.922 0 0);
25
- --ring: oklch(0.708 0 0);
26
- --chart-1: oklch(0.646 0.222 41.116);
27
- --chart-2: oklch(0.6 0.118 184.704);
28
- --chart-3: oklch(0.398 0.07 227.392);
29
- --chart-4: oklch(0.828 0.189 84.429);
30
- --chart-5: oklch(0.769 0.188 70.08);
31
- --radius: 0.5rem;
32
- --sidebar: oklch(0.985 0 0);
33
- --sidebar-foreground: oklch(0.145 0 0);
34
- --sidebar-primary: oklch(0.205 0 0);
35
- --sidebar-primary-foreground: oklch(0.985 0 0);
36
- --sidebar-accent: oklch(0.97 0 0);
37
- --sidebar-accent-foreground: oklch(0.205 0 0);
38
- --sidebar-border: oklch(0.922 0 0);
39
- --sidebar-ring: oklch(0.708 0 0);
6
+ --background: 0 0% 100%;
7
+ --foreground: 0 0% 3.9%;
8
+ --card: oklch(1 0 0);
9
+ --card-foreground: oklch(0.145 0 0);
10
+ --popover: oklch(1 0 0);
11
+ --popover-foreground: oklch(0.145 0 0);
12
+ --primary: 221.2 83.2% 53.3%;
13
+ --primary-foreground: 0 0% 100%;
14
+ --secondary: oklch(0.97 0 0);
15
+ --secondary-foreground: oklch(0.205 0 0);
16
+ --muted: 0 0% 96.1%;
17
+ --muted-foreground: 0 0% 45.1%;
18
+ --accent: oklch(0.97 0 0);
19
+ --accent-foreground: oklch(0.205 0 0);
20
+ --destructive: oklch(0.577 0.245 27.325);
21
+ --destructive-foreground: oklch(0.577 0.245 27.325);
22
+ --border: 0 0% 89.8%;
23
+ --input: oklch(0.922 0 0);
24
+ --ring: oklch(0.708 0 0);
25
+ --chart-1: oklch(0.646 0.222 41.116);
26
+ --chart-2: oklch(0.6 0.118 184.704);
27
+ --chart-3: oklch(0.398 0.07 227.392);
28
+ --chart-4: oklch(0.828 0.189 84.429);
29
+ --chart-5: oklch(0.769 0.188 70.08);
30
+ --radius: 0.5rem;
31
+ --sidebar: oklch(0.985 0 0);
32
+ --sidebar-foreground: oklch(0.145 0 0);
33
+ --sidebar-primary: oklch(0.205 0 0);
34
+ --sidebar-primary-foreground: oklch(0.985 0 0);
35
+ --sidebar-accent: oklch(0.97 0 0);
36
+ --sidebar-accent-foreground: oklch(0.205 0 0);
37
+ --sidebar-border: oklch(0.922 0 0);
38
+ --sidebar-ring: oklch(0.708 0 0);
40
39
  }
41
40
 
42
41
  .dark {
43
- --background: 0 0% 3.9%;
44
- --foreground: 0 0% 98%;
45
- --card: oklch(0.145 0 0);
46
- --card-foreground: oklch(0.985 0 0);
47
- --popover: oklch(0.145 0 0);
48
- --popover-foreground: oklch(0.985 0 0);
49
- --primary: 217.2 91.2% 59.8%;
50
- --primary-foreground: 0 0% 100%;
51
- --secondary: oklch(0.269 0 0);
52
- --secondary-foreground: oklch(0.985 0 0);
53
- --muted: 0 0% 14.9%;
54
- --muted-foreground: 0 0% 63.9%;
55
- --accent: oklch(0.269 0 0);
56
- --accent-foreground: oklch(0.985 0 0);
57
- --destructive: oklch(0.396 0.141 25.723);
58
- --destructive-foreground: oklch(0.637 0.237 25.331);
59
- --border: 0 0% 14.9%;
60
- --input: oklch(0.269 0 0);
61
- --ring: oklch(0.439 0 0);
62
- --chart-1: oklch(0.488 0.243 264.376);
63
- --chart-2: oklch(0.696 0.17 162.48);
64
- --chart-3: oklch(0.769 0.188 70.08);
65
- --chart-4: oklch(0.627 0.265 303.9);
66
- --chart-5: oklch(0.645 0.246 16.439);
67
- --sidebar: oklch(0.205 0 0);
68
- --sidebar-foreground: oklch(0.985 0 0);
69
- --sidebar-primary: oklch(0.488 0.243 264.376);
70
- --sidebar-primary-foreground: oklch(0.985 0 0);
71
- --sidebar-accent: oklch(0.269 0 0);
72
- --sidebar-accent-foreground: oklch(0.985 0 0);
73
- --sidebar-border: oklch(0.269 0 0);
74
- --sidebar-ring: oklch(0.439 0 0);
42
+ --background: 0 0% 3.9%;
43
+ --foreground: 0 0% 98%;
44
+ --card: oklch(0.145 0 0);
45
+ --card-foreground: oklch(0.985 0 0);
46
+ --popover: oklch(0.145 0 0);
47
+ --popover-foreground: oklch(0.985 0 0);
48
+ --primary: 217.2 91.2% 59.8%;
49
+ --primary-foreground: 0 0% 100%;
50
+ --secondary: oklch(0.269 0 0);
51
+ --secondary-foreground: oklch(0.985 0 0);
52
+ --muted: 0 0% 14.9%;
53
+ --muted-foreground: 0 0% 63.9%;
54
+ --accent: oklch(0.269 0 0);
55
+ --accent-foreground: oklch(0.985 0 0);
56
+ --destructive: oklch(0.396 0.141 25.723);
57
+ --destructive-foreground: oklch(0.637 0.237 25.331);
58
+ --border: 0 0% 14.9%;
59
+ --input: oklch(0.269 0 0);
60
+ --ring: oklch(0.439 0 0);
61
+ --chart-1: oklch(0.488 0.243 264.376);
62
+ --chart-2: oklch(0.696 0.17 162.48);
63
+ --chart-3: oklch(0.769 0.188 70.08);
64
+ --chart-4: oklch(0.627 0.265 303.9);
65
+ --chart-5: oklch(0.645 0.246 16.439);
66
+ --sidebar: oklch(0.205 0 0);
67
+ --sidebar-foreground: oklch(0.985 0 0);
68
+ --sidebar-primary: oklch(0.488 0.243 264.376);
69
+ --sidebar-primary-foreground: oklch(0.985 0 0);
70
+ --sidebar-accent: oklch(0.269 0 0);
71
+ --sidebar-accent-foreground: oklch(0.985 0 0);
72
+ --sidebar-border: oklch(0.269 0 0);
73
+ --sidebar-ring: oklch(0.439 0 0);
75
74
  }
76
75
 
77
76
  @theme inline {
78
- /* optional: --font-sans, --font-serif, --font-mono if they are applied in the layout.tsx */
79
- --color-background: var(--background);
80
- --color-foreground: var(--foreground);
81
- --color-card: var(--card);
82
- --color-card-foreground: var(--card-foreground);
83
- --color-popover: var(--popover);
84
- --color-popover-foreground: var(--popover-foreground);
85
- --color-primary: var(--primary);
86
- --color-primary-foreground: var(--primary-foreground);
87
- --color-secondary: var(--secondary);
88
- --color-secondary-foreground: var(--secondary-foreground);
89
- --color-muted: var(--muted);
90
- --color-muted-foreground: var(--muted-foreground);
91
- --color-accent: var(--accent);
92
- --color-accent-foreground: var(--accent-foreground);
93
- --color-destructive: var(--destructive);
94
- --color-destructive-foreground: var(--destructive-foreground);
95
- --color-border: var(--border);
96
- --color-input: var(--input);
97
- --color-ring: var(--ring);
98
- --color-chart-1: var(--chart-1);
99
- --color-chart-2: var(--chart-2);
100
- --color-chart-3: var(--chart-3);
101
- --color-chart-4: var(--chart-4);
102
- --color-chart-5: var(--chart-5);
103
- --radius-sm: calc(var(--radius) - 4px);
104
- --radius-md: calc(var(--radius) - 2px);
105
- --radius-lg: var(--radius);
106
- --radius-xl: calc(var(--radius) + 4px);
107
- --color-sidebar: var(--sidebar);
108
- --color-sidebar-foreground: var(--sidebar-foreground);
109
- --color-sidebar-primary: var(--sidebar-primary);
110
- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
111
- --color-sidebar-accent: var(--sidebar-accent);
112
- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
113
- --color-sidebar-border: var(--sidebar-border);
114
- --color-sidebar-ring: var(--sidebar-ring);
77
+ /* optional: --font-sans, --font-serif, --font-mono if they are applied in the layout.tsx */
78
+ --color-background: var(--background);
79
+ --color-foreground: var(--foreground);
80
+ --color-card: var(--card);
81
+ --color-card-foreground: var(--card-foreground);
82
+ --color-popover: var(--popover);
83
+ --color-popover-foreground: var(--popover-foreground);
84
+ --color-primary: var(--primary);
85
+ --color-primary-foreground: var(--primary-foreground);
86
+ --color-secondary: var(--secondary);
87
+ --color-secondary-foreground: var(--secondary-foreground);
88
+ --color-muted: var(--muted);
89
+ --color-muted-foreground: var(--muted-foreground);
90
+ --color-accent: var(--accent);
91
+ --color-accent-foreground: var(--accent-foreground);
92
+ --color-destructive: var(--destructive);
93
+ --color-destructive-foreground: var(--destructive-foreground);
94
+ --color-border: var(--border);
95
+ --color-input: var(--input);
96
+ --color-ring: var(--ring);
97
+ --color-chart-1: var(--chart-1);
98
+ --color-chart-2: var(--chart-2);
99
+ --color-chart-3: var(--chart-3);
100
+ --color-chart-4: var(--chart-4);
101
+ --color-chart-5: var(--chart-5);
102
+ --radius-sm: calc(var(--radius) - 4px);
103
+ --radius-md: calc(var(--radius) - 2px);
104
+ --radius-lg: var(--radius);
105
+ --radius-xl: calc(var(--radius) + 4px);
106
+ --color-sidebar: var(--sidebar);
107
+ --color-sidebar-foreground: var(--sidebar-foreground);
108
+ --color-sidebar-primary: var(--sidebar-primary);
109
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
110
+ --color-sidebar-accent: var(--sidebar-accent);
111
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
112
+ --color-sidebar-border: var(--sidebar-border);
113
+ --color-sidebar-ring: var(--sidebar-ring);
115
114
  }
116
115
 
117
116
  @layer base {
118
- * {
119
- @apply border-border outline-ring/50;
120
- }
121
- body {
122
- @apply bg-background text-foreground;
123
- }
117
+ * {
118
+ @apply border-border outline-ring/50;
119
+ }
120
+ body {
121
+ @apply bg-background text-foreground;
122
+ }
124
123
  }
125
124
 
126
125
  * {
127
- box-sizing: border-box;
126
+ box-sizing: border-box;
128
127
  }
129
128
 
130
129
  body {
131
- margin: 0;
132
- font-family: system-ui, -apple-system, sans-serif;
133
- -webkit-font-smoothing: antialiased;
130
+ margin: 0;
131
+ font-family: system-ui, -apple-system, sans-serif;
132
+ -webkit-font-smoothing: antialiased;
134
133
  }
135
134
 
136
135
  .container {
137
- width: 100%;
138
- max-width: 1280px;
136
+ width: 100%;
137
+ max-width: 1280px;
139
138
  }
140
139
 
141
140
  .text-muted-foreground {
142
- color: hsl(var(--muted-foreground));
141
+ color: hsl(var(--muted-foreground));
143
142
  }
144
143
 
145
144
  .border {
146
- border: 1px solid hsl(var(--border));
145
+ border: 1px solid hsl(var(--border));
147
146
  }
148
147
 
149
148
  .bg-muted {
150
- background: hsl(var(--muted));
149
+ background: hsl(var(--muted));
151
150
  }
@@ -0,0 +1,3 @@
1
+ declare module '*.css';
2
+ declare module '*.scss';
3
+ declare module '*.sass';
@@ -8,17 +8,18 @@
8
8
  "lint": "next lint"
9
9
  },
10
10
  "dependencies": {
11
- "next": "latest",
12
- "react": "latest",
13
- "react-dom": "latest"
11
+ "next": "16.1.1",
12
+ "react": "19.2.3",
13
+ "react-dom": "19.2.3"
14
14
  },
15
15
  "devDependencies": {
16
- "tailwindcss": "^4.0.0",
17
- "postcss": "^8.4.0",
18
- "autoprefixer": "^10.4.0",
19
- "typescript": "^5.0.0",
20
- "@types/node": "^20.0.0",
21
- "@types/react": "^18.0.0",
22
- "@types/react-dom": "^18.0.0"
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,6 +1,7 @@
1
- export default {
2
- plugins: {
3
- tailwindcss: {},
4
- autoprefixer: {},
5
- },
6
- };
1
+ const config = {
2
+ plugins: {
3
+ "@tailwindcss/postcss": {},
4
+ },
5
+ };
6
+
7
+ export default config;
@@ -1,5 +1,4 @@
1
1
  @import 'tailwindcss';
2
- @import 'tw-animate-css';
3
2
 
4
3
  @custom-variant dark (&:is(.dark *));
5
4
 
@@ -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;
@@ -0,0 +1,3 @@
1
+ declare module '*.css';
2
+ declare module '*.scss';
3
+ declare module '*.sass';
@@ -5,20 +5,21 @@
5
5
  "dev": "next dev",
6
6
  "build": "next build",
7
7
  "start": "next start",
8
- "lint": "next lint"
8
+ "lint": "eslint"
9
9
  },
10
10
  "dependencies": {
11
- "next": "latest",
12
- "react": "latest",
13
- "react-dom": "latest"
11
+ "next": "16.1.1",
12
+ "react": "19.2.3",
13
+ "react-dom": "19.2.3"
14
14
  },
15
15
  "devDependencies": {
16
- "tailwindcss": "^4.0.0",
17
- "postcss": "^8.4.0",
18
- "autoprefixer": "^10.4.0",
19
- "@types/node": "^20.0.0",
20
- "typescript": "^5.0.0",
21
- "@types/react": "^18.0.0",
22
- "@types/react-dom": "^18.0.0"
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
  }
@@ -0,0 +1,7 @@
1
+ const config = {
2
+ plugins: {
3
+ "@tailwindcss/postcss": {},
4
+ },
5
+ };
6
+
7
+ export default config;
@@ -1,4 +0,0 @@
1
- /// <reference types="next" />
2
- /// <reference types="next/image-types/global" />
3
-
4
- export {};