create-nexgen 1.0.7 → 1.1.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
CHANGED
|
@@ -1,222 +1,222 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "create-nexgen",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"description": "Scaffold a new Nexgen project",
|
|
6
|
-
"bin": {
|
|
7
|
-
"create-nexgen": "src/index.js",
|
|
8
|
-
"nexgen": "src/index.js"
|
|
9
|
-
},
|
|
10
|
-
"files": [
|
|
11
|
-
"src",
|
|
12
|
-
"template"
|
|
13
|
-
],
|
|
14
|
-
"scripts": {
|
|
15
|
-
"prepublish": "node ../../scripts/sync-template.mjs"
|
|
16
|
-
},
|
|
17
|
-
"engines": {
|
|
18
|
-
"node": ">=18"
|
|
19
|
-
},
|
|
20
|
-
"keywords": [
|
|
21
|
-
"nexgen",
|
|
22
|
-
"scaffold",
|
|
23
|
-
"cli",
|
|
24
|
-
"full-stack",
|
|
25
|
-
"hono",
|
|
26
|
-
"vue",
|
|
27
|
-
"drizzle"
|
|
28
|
-
],
|
|
29
|
-
"license": "MIT",
|
|
30
|
-
"repository": {
|
|
31
|
-
"type": "git",
|
|
32
|
-
"url": "git+https://github.com/niyamulahsan/nexgen.git"
|
|
33
|
-
},
|
|
34
|
-
"homepage": "https://nexgen.dev",
|
|
35
|
-
"bugs": {
|
|
36
|
-
"url": "https://github.com/niyamulahsan/nexgen/issues"
|
|
37
|
-
},
|
|
38
|
-
"peerDependencies": {
|
|
39
|
-
"@aws-sdk/client-s3": "^3",
|
|
40
|
-
"@aws-sdk/s3-request-presigner": "^3",
|
|
41
|
-
"@bull-board/api": "^7",
|
|
42
|
-
"@bull-board/hono": "^7",
|
|
43
|
-
"@hono/node-server": "^2",
|
|
44
|
-
"@hono/zod-openapi": "^1",
|
|
45
|
-
"@scalar/hono-api-reference": "^0.10",
|
|
46
|
-
"@socket.io/admin-ui": "^0.5",
|
|
47
|
-
"@socket.io/redis-adapter": "^8",
|
|
48
|
-
"@vitejs/plugin-vue": "^6",
|
|
49
|
-
"@vueuse/core": "^14",
|
|
50
|
-
"@vueuse/head": "^2",
|
|
51
|
-
"axios": "^1",
|
|
52
|
-
"bcryptjs": "^3",
|
|
53
|
-
"bootstrap": "^5",
|
|
54
|
-
"bootstrap-icons": "^1",
|
|
55
|
-
"bullmq": "^5",
|
|
56
|
-
"chalk": "^5",
|
|
57
|
-
"commander": "^14",
|
|
58
|
-
"dotenv": "^17",
|
|
59
|
-
"dotenv-expand": "^13",
|
|
60
|
-
"drizzle-orm": "^0.45",
|
|
61
|
-
"glob": "^13",
|
|
62
|
-
"hono": "^4",
|
|
63
|
-
"hono-rate-limiter": "^0.5",
|
|
64
|
-
"ioredis": "^5",
|
|
65
|
-
"lodash-es": "^4",
|
|
66
|
-
"luxon": "^3",
|
|
67
|
-
"maildev": "^2",
|
|
68
|
-
"mime-types": "^3",
|
|
69
|
-
"mysql2": "^3",
|
|
70
|
-
"node-cron": "^4",
|
|
71
|
-
"nodemailer": "^8",
|
|
72
|
-
"pinia": "^3",
|
|
73
|
-
"redis-commander": "^0.9",
|
|
74
|
-
"sass-embedded": "^1",
|
|
75
|
-
"socket.io": "^4",
|
|
76
|
-
"socket.io-client": "^4",
|
|
77
|
-
"stoker": "^2",
|
|
78
|
-
"vite": "^8",
|
|
79
|
-
"vue": "^3",
|
|
80
|
-
"vue-router": "^5",
|
|
81
|
-
"vue-select": "^4",
|
|
82
|
-
"winston": "^3",
|
|
83
|
-
"zod": "^4"
|
|
84
|
-
},
|
|
85
|
-
"peerDependenciesMeta": {
|
|
86
|
-
"@aws-sdk/client-s3": {
|
|
87
|
-
"optional": true
|
|
88
|
-
},
|
|
89
|
-
"@aws-sdk/s3-request-presigner": {
|
|
90
|
-
"optional": true
|
|
91
|
-
},
|
|
92
|
-
"@bull-board/api": {
|
|
93
|
-
"optional": true
|
|
94
|
-
},
|
|
95
|
-
"@bull-board/hono": {
|
|
96
|
-
"optional": true
|
|
97
|
-
},
|
|
98
|
-
"@hono/node-server": {
|
|
99
|
-
"optional": true
|
|
100
|
-
},
|
|
101
|
-
"@hono/zod-openapi": {
|
|
102
|
-
"optional": true
|
|
103
|
-
},
|
|
104
|
-
"@scalar/hono-api-reference": {
|
|
105
|
-
"optional": true
|
|
106
|
-
},
|
|
107
|
-
"@socket.io/admin-ui": {
|
|
108
|
-
"optional": true
|
|
109
|
-
},
|
|
110
|
-
"@socket.io/redis-adapter": {
|
|
111
|
-
"optional": true
|
|
112
|
-
},
|
|
113
|
-
"@vitejs/plugin-vue": {
|
|
114
|
-
"optional": true
|
|
115
|
-
},
|
|
116
|
-
"@vueuse/core": {
|
|
117
|
-
"optional": true
|
|
118
|
-
},
|
|
119
|
-
"@vueuse/head": {
|
|
120
|
-
"optional": true
|
|
121
|
-
},
|
|
122
|
-
"axios": {
|
|
123
|
-
"optional": true
|
|
124
|
-
},
|
|
125
|
-
"bcryptjs": {
|
|
126
|
-
"optional": true
|
|
127
|
-
},
|
|
128
|
-
"bootstrap": {
|
|
129
|
-
"optional": true
|
|
130
|
-
},
|
|
131
|
-
"bootstrap-icons": {
|
|
132
|
-
"optional": true
|
|
133
|
-
},
|
|
134
|
-
"bullmq": {
|
|
135
|
-
"optional": true
|
|
136
|
-
},
|
|
137
|
-
"chalk": {
|
|
138
|
-
"optional": true
|
|
139
|
-
},
|
|
140
|
-
"commander": {
|
|
141
|
-
"optional": true
|
|
142
|
-
},
|
|
143
|
-
"dotenv": {
|
|
144
|
-
"optional": true
|
|
145
|
-
},
|
|
146
|
-
"dotenv-expand": {
|
|
147
|
-
"optional": true
|
|
148
|
-
},
|
|
149
|
-
"drizzle-orm": {
|
|
150
|
-
"optional": true
|
|
151
|
-
},
|
|
152
|
-
"glob": {
|
|
153
|
-
"optional": true
|
|
154
|
-
},
|
|
155
|
-
"hono": {
|
|
156
|
-
"optional": true
|
|
157
|
-
},
|
|
158
|
-
"hono-rate-limiter": {
|
|
159
|
-
"optional": true
|
|
160
|
-
},
|
|
161
|
-
"ioredis": {
|
|
162
|
-
"optional": true
|
|
163
|
-
},
|
|
164
|
-
"lodash-es": {
|
|
165
|
-
"optional": true
|
|
166
|
-
},
|
|
167
|
-
"luxon": {
|
|
168
|
-
"optional": true
|
|
169
|
-
},
|
|
170
|
-
"maildev": {
|
|
171
|
-
"optional": true
|
|
172
|
-
},
|
|
173
|
-
"mime-types": {
|
|
174
|
-
"optional": true
|
|
175
|
-
},
|
|
176
|
-
"mysql2": {
|
|
177
|
-
"optional": true
|
|
178
|
-
},
|
|
179
|
-
"node-cron": {
|
|
180
|
-
"optional": true
|
|
181
|
-
},
|
|
182
|
-
"nodemailer": {
|
|
183
|
-
"optional": true
|
|
184
|
-
},
|
|
185
|
-
"pinia": {
|
|
186
|
-
"optional": true
|
|
187
|
-
},
|
|
188
|
-
"redis-commander": {
|
|
189
|
-
"optional": true
|
|
190
|
-
},
|
|
191
|
-
"sass-embedded": {
|
|
192
|
-
"optional": true
|
|
193
|
-
},
|
|
194
|
-
"socket.io": {
|
|
195
|
-
"optional": true
|
|
196
|
-
},
|
|
197
|
-
"socket.io-client": {
|
|
198
|
-
"optional": true
|
|
199
|
-
},
|
|
200
|
-
"stoker": {
|
|
201
|
-
"optional": true
|
|
202
|
-
},
|
|
203
|
-
"vite": {
|
|
204
|
-
"optional": true
|
|
205
|
-
},
|
|
206
|
-
"vue": {
|
|
207
|
-
"optional": true
|
|
208
|
-
},
|
|
209
|
-
"vue-router": {
|
|
210
|
-
"optional": true
|
|
211
|
-
},
|
|
212
|
-
"vue-select": {
|
|
213
|
-
"optional": true
|
|
214
|
-
},
|
|
215
|
-
"winston": {
|
|
216
|
-
"optional": true
|
|
217
|
-
},
|
|
218
|
-
"zod": {
|
|
219
|
-
"optional": true
|
|
220
|
-
}
|
|
221
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "create-nexgen",
|
|
3
|
+
"version": "1.1.7",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Scaffold a new Nexgen project",
|
|
6
|
+
"bin": {
|
|
7
|
+
"create-nexgen": "src/index.js",
|
|
8
|
+
"nexgen": "src/index.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"src",
|
|
12
|
+
"template"
|
|
13
|
+
],
|
|
14
|
+
"scripts": {
|
|
15
|
+
"prepublish": "node ../../scripts/sync-template.mjs"
|
|
16
|
+
},
|
|
17
|
+
"engines": {
|
|
18
|
+
"node": ">=18"
|
|
19
|
+
},
|
|
20
|
+
"keywords": [
|
|
21
|
+
"nexgen",
|
|
22
|
+
"scaffold",
|
|
23
|
+
"cli",
|
|
24
|
+
"full-stack",
|
|
25
|
+
"hono",
|
|
26
|
+
"vue",
|
|
27
|
+
"drizzle"
|
|
28
|
+
],
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "git+https://github.com/niyamulahsan/nexgen.git"
|
|
33
|
+
},
|
|
34
|
+
"homepage": "https://nexgen.dev",
|
|
35
|
+
"bugs": {
|
|
36
|
+
"url": "https://github.com/niyamulahsan/nexgen/issues"
|
|
37
|
+
},
|
|
38
|
+
"peerDependencies": {
|
|
39
|
+
"@aws-sdk/client-s3": "^3",
|
|
40
|
+
"@aws-sdk/s3-request-presigner": "^3",
|
|
41
|
+
"@bull-board/api": "^7",
|
|
42
|
+
"@bull-board/hono": "^7",
|
|
43
|
+
"@hono/node-server": "^2",
|
|
44
|
+
"@hono/zod-openapi": "^1",
|
|
45
|
+
"@scalar/hono-api-reference": "^0.10",
|
|
46
|
+
"@socket.io/admin-ui": "^0.5",
|
|
47
|
+
"@socket.io/redis-adapter": "^8",
|
|
48
|
+
"@vitejs/plugin-vue": "^6",
|
|
49
|
+
"@vueuse/core": "^14",
|
|
50
|
+
"@vueuse/head": "^2",
|
|
51
|
+
"axios": "^1",
|
|
52
|
+
"bcryptjs": "^3",
|
|
53
|
+
"bootstrap": "^5",
|
|
54
|
+
"bootstrap-icons": "^1",
|
|
55
|
+
"bullmq": "^5",
|
|
56
|
+
"chalk": "^5",
|
|
57
|
+
"commander": "^14",
|
|
58
|
+
"dotenv": "^17",
|
|
59
|
+
"dotenv-expand": "^13",
|
|
60
|
+
"drizzle-orm": "^0.45",
|
|
61
|
+
"glob": "^13",
|
|
62
|
+
"hono": "^4",
|
|
63
|
+
"hono-rate-limiter": "^0.5",
|
|
64
|
+
"ioredis": "^5",
|
|
65
|
+
"lodash-es": "^4",
|
|
66
|
+
"luxon": "^3",
|
|
67
|
+
"maildev": "^2",
|
|
68
|
+
"mime-types": "^3",
|
|
69
|
+
"mysql2": "^3",
|
|
70
|
+
"node-cron": "^4",
|
|
71
|
+
"nodemailer": "^8",
|
|
72
|
+
"pinia": "^3",
|
|
73
|
+
"redis-commander": "^0.9",
|
|
74
|
+
"sass-embedded": "^1",
|
|
75
|
+
"socket.io": "^4",
|
|
76
|
+
"socket.io-client": "^4",
|
|
77
|
+
"stoker": "^2",
|
|
78
|
+
"vite": "^8",
|
|
79
|
+
"vue": "^3",
|
|
80
|
+
"vue-router": "^5",
|
|
81
|
+
"vue-select": "^4",
|
|
82
|
+
"winston": "^3",
|
|
83
|
+
"zod": "^4"
|
|
84
|
+
},
|
|
85
|
+
"peerDependenciesMeta": {
|
|
86
|
+
"@aws-sdk/client-s3": {
|
|
87
|
+
"optional": true
|
|
88
|
+
},
|
|
89
|
+
"@aws-sdk/s3-request-presigner": {
|
|
90
|
+
"optional": true
|
|
91
|
+
},
|
|
92
|
+
"@bull-board/api": {
|
|
93
|
+
"optional": true
|
|
94
|
+
},
|
|
95
|
+
"@bull-board/hono": {
|
|
96
|
+
"optional": true
|
|
97
|
+
},
|
|
98
|
+
"@hono/node-server": {
|
|
99
|
+
"optional": true
|
|
100
|
+
},
|
|
101
|
+
"@hono/zod-openapi": {
|
|
102
|
+
"optional": true
|
|
103
|
+
},
|
|
104
|
+
"@scalar/hono-api-reference": {
|
|
105
|
+
"optional": true
|
|
106
|
+
},
|
|
107
|
+
"@socket.io/admin-ui": {
|
|
108
|
+
"optional": true
|
|
109
|
+
},
|
|
110
|
+
"@socket.io/redis-adapter": {
|
|
111
|
+
"optional": true
|
|
112
|
+
},
|
|
113
|
+
"@vitejs/plugin-vue": {
|
|
114
|
+
"optional": true
|
|
115
|
+
},
|
|
116
|
+
"@vueuse/core": {
|
|
117
|
+
"optional": true
|
|
118
|
+
},
|
|
119
|
+
"@vueuse/head": {
|
|
120
|
+
"optional": true
|
|
121
|
+
},
|
|
122
|
+
"axios": {
|
|
123
|
+
"optional": true
|
|
124
|
+
},
|
|
125
|
+
"bcryptjs": {
|
|
126
|
+
"optional": true
|
|
127
|
+
},
|
|
128
|
+
"bootstrap": {
|
|
129
|
+
"optional": true
|
|
130
|
+
},
|
|
131
|
+
"bootstrap-icons": {
|
|
132
|
+
"optional": true
|
|
133
|
+
},
|
|
134
|
+
"bullmq": {
|
|
135
|
+
"optional": true
|
|
136
|
+
},
|
|
137
|
+
"chalk": {
|
|
138
|
+
"optional": true
|
|
139
|
+
},
|
|
140
|
+
"commander": {
|
|
141
|
+
"optional": true
|
|
142
|
+
},
|
|
143
|
+
"dotenv": {
|
|
144
|
+
"optional": true
|
|
145
|
+
},
|
|
146
|
+
"dotenv-expand": {
|
|
147
|
+
"optional": true
|
|
148
|
+
},
|
|
149
|
+
"drizzle-orm": {
|
|
150
|
+
"optional": true
|
|
151
|
+
},
|
|
152
|
+
"glob": {
|
|
153
|
+
"optional": true
|
|
154
|
+
},
|
|
155
|
+
"hono": {
|
|
156
|
+
"optional": true
|
|
157
|
+
},
|
|
158
|
+
"hono-rate-limiter": {
|
|
159
|
+
"optional": true
|
|
160
|
+
},
|
|
161
|
+
"ioredis": {
|
|
162
|
+
"optional": true
|
|
163
|
+
},
|
|
164
|
+
"lodash-es": {
|
|
165
|
+
"optional": true
|
|
166
|
+
},
|
|
167
|
+
"luxon": {
|
|
168
|
+
"optional": true
|
|
169
|
+
},
|
|
170
|
+
"maildev": {
|
|
171
|
+
"optional": true
|
|
172
|
+
},
|
|
173
|
+
"mime-types": {
|
|
174
|
+
"optional": true
|
|
175
|
+
},
|
|
176
|
+
"mysql2": {
|
|
177
|
+
"optional": true
|
|
178
|
+
},
|
|
179
|
+
"node-cron": {
|
|
180
|
+
"optional": true
|
|
181
|
+
},
|
|
182
|
+
"nodemailer": {
|
|
183
|
+
"optional": true
|
|
184
|
+
},
|
|
185
|
+
"pinia": {
|
|
186
|
+
"optional": true
|
|
187
|
+
},
|
|
188
|
+
"redis-commander": {
|
|
189
|
+
"optional": true
|
|
190
|
+
},
|
|
191
|
+
"sass-embedded": {
|
|
192
|
+
"optional": true
|
|
193
|
+
},
|
|
194
|
+
"socket.io": {
|
|
195
|
+
"optional": true
|
|
196
|
+
},
|
|
197
|
+
"socket.io-client": {
|
|
198
|
+
"optional": true
|
|
199
|
+
},
|
|
200
|
+
"stoker": {
|
|
201
|
+
"optional": true
|
|
202
|
+
},
|
|
203
|
+
"vite": {
|
|
204
|
+
"optional": true
|
|
205
|
+
},
|
|
206
|
+
"vue": {
|
|
207
|
+
"optional": true
|
|
208
|
+
},
|
|
209
|
+
"vue-router": {
|
|
210
|
+
"optional": true
|
|
211
|
+
},
|
|
212
|
+
"vue-select": {
|
|
213
|
+
"optional": true
|
|
214
|
+
},
|
|
215
|
+
"winston": {
|
|
216
|
+
"optional": true
|
|
217
|
+
},
|
|
218
|
+
"zod": {
|
|
219
|
+
"optional": true
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
222
|
}
|
|
@@ -174,4 +174,7 @@ export function registerDbCommands(program, rawArgs) {
|
|
|
174
174
|
cmd("check", "Run drizzle-kit check after schema discovery");
|
|
175
175
|
cmd("studio", "Open Drizzle Studio after schema discovery", [{ flag: "--quiet", description: "Suppress output" }]);
|
|
176
176
|
cmd("module:seed", "Run seeders for a specific module");
|
|
177
|
+
cmd("reset", "Drop all tables (wipe database)");
|
|
178
|
+
cmd("wipe", "Drop all tables (wipe database)");
|
|
179
|
+
cmd("migrate:reset", "Drop all tables (wipe database)");
|
|
177
180
|
}
|