@asynx/create-asynx-next-app 1.0.8 → 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.
- package/package.json +1 -1
- package/templates/advanced/package.json +11 -10
- package/templates/advanced/postcss.config.mjs +7 -6
- package/templates/advanced/src/app/globals.css +118 -119
- package/templates/standard/package.json +11 -10
- package/templates/standard/postcss.config.mjs +7 -6
- package/templates/starter/postcss.config.mjs +7 -0
package/package.json
CHANGED
|
@@ -8,17 +8,18 @@
|
|
|
8
8
|
"lint": "next lint"
|
|
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
|
-
"
|
|
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,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
const config = {
|
|
2
|
+
plugins: {
|
|
3
|
+
"@tailwindcss/postcss": {},
|
|
4
|
+
},
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export default config;
|
|
@@ -1,151 +1,150 @@
|
|
|
1
|
-
@import
|
|
2
|
-
@import "tw-animate-css";
|
|
1
|
+
@import 'tailwindcss';
|
|
3
2
|
|
|
4
3
|
@custom-variant dark (&:is(.dark *));
|
|
5
4
|
|
|
6
5
|
:root {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
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
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
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
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
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
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
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
|
-
|
|
126
|
+
box-sizing: border-box;
|
|
128
127
|
}
|
|
129
128
|
|
|
130
129
|
body {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
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
|
-
|
|
138
|
-
|
|
136
|
+
width: 100%;
|
|
137
|
+
max-width: 1280px;
|
|
139
138
|
}
|
|
140
139
|
|
|
141
140
|
.text-muted-foreground {
|
|
142
|
-
|
|
141
|
+
color: hsl(var(--muted-foreground));
|
|
143
142
|
}
|
|
144
143
|
|
|
145
144
|
.border {
|
|
146
|
-
|
|
145
|
+
border: 1px solid hsl(var(--border));
|
|
147
146
|
}
|
|
148
147
|
|
|
149
148
|
.bg-muted {
|
|
150
|
-
|
|
149
|
+
background: hsl(var(--muted));
|
|
151
150
|
}
|
|
@@ -8,17 +8,18 @@
|
|
|
8
8
|
"lint": "next lint"
|
|
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
|
-
"
|
|
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,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
const config = {
|
|
2
|
+
plugins: {
|
|
3
|
+
"@tailwindcss/postcss": {},
|
|
4
|
+
},
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export default config;
|