create-velox-app 0.6.25 → 0.6.27
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/CHANGELOG.md +372 -0
- package/GUIDE.md +58 -0
- package/package.json +5 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
# create-velox-app
|
|
2
|
+
|
|
3
|
+
## 0.6.27
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- chore: add GUIDE, LICENSE and CHANGELOG.md to npm files
|
|
8
|
+
|
|
9
|
+
## 0.6.26
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- docs(mcp): add README and GUIDE, docs(web): simplify README and create concise GUIDE
|
|
14
|
+
|
|
15
|
+
## 0.6.25
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- docs(create): add guide for React Server Components setup
|
|
20
|
+
|
|
21
|
+
## 0.6.24
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- clarify installation paths and package contents
|
|
26
|
+
|
|
27
|
+
## 0.6.23
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- add defineContract for improved type inference DX
|
|
32
|
+
|
|
33
|
+
## 0.6.22
|
|
34
|
+
|
|
35
|
+
### Patch Changes
|
|
36
|
+
|
|
37
|
+
- support {method, path} route entry format
|
|
38
|
+
|
|
39
|
+
## 0.6.21
|
|
40
|
+
|
|
41
|
+
### Patch Changes
|
|
42
|
+
|
|
43
|
+
- separate schemas from procedures for browser-safe import
|
|
44
|
+
|
|
45
|
+
## 0.6.20
|
|
46
|
+
|
|
47
|
+
### Patch Changes
|
|
48
|
+
|
|
49
|
+
- add Fastify ecosystem stubs and debuglog to util
|
|
50
|
+
|
|
51
|
+
## 0.6.19
|
|
52
|
+
|
|
53
|
+
### Patch Changes
|
|
54
|
+
|
|
55
|
+
- restore dotenv stub for browser compatibility
|
|
56
|
+
|
|
57
|
+
## 0.6.18
|
|
58
|
+
|
|
59
|
+
### Patch Changes
|
|
60
|
+
|
|
61
|
+
- add node:fs/promises stub and fix esbuild plugin
|
|
62
|
+
|
|
63
|
+
## 0.6.17
|
|
64
|
+
|
|
65
|
+
### Patch Changes
|
|
66
|
+
|
|
67
|
+
- remove optimizeDeps.exclude to fix CJS/ESM interop
|
|
68
|
+
|
|
69
|
+
## 0.6.16
|
|
70
|
+
|
|
71
|
+
### Patch Changes
|
|
72
|
+
|
|
73
|
+
- add stubs for Fastify ecosystem packages
|
|
74
|
+
|
|
75
|
+
## 0.6.15
|
|
76
|
+
|
|
77
|
+
### Patch Changes
|
|
78
|
+
|
|
79
|
+
- implement three-layer Node.js stubbing for Vite
|
|
80
|
+
|
|
81
|
+
## 0.6.14
|
|
82
|
+
|
|
83
|
+
### Patch Changes
|
|
84
|
+
|
|
85
|
+
- stub dotenv as virtual module instead of process shims
|
|
86
|
+
|
|
87
|
+
## 0.6.13
|
|
88
|
+
|
|
89
|
+
### Patch Changes
|
|
90
|
+
|
|
91
|
+
- add process.argv stub for dotenv browser compatibility
|
|
92
|
+
|
|
93
|
+
## 0.6.12
|
|
94
|
+
|
|
95
|
+
### Patch Changes
|
|
96
|
+
|
|
97
|
+
- Fixes the "process is not defined" error from dotenv
|
|
98
|
+
|
|
99
|
+
## 0.6.11
|
|
100
|
+
|
|
101
|
+
### Patch Changes
|
|
102
|
+
|
|
103
|
+
- add Vite plugin for Node.js module stubs
|
|
104
|
+
|
|
105
|
+
## 0.6.10
|
|
106
|
+
|
|
107
|
+
### Patch Changes
|
|
108
|
+
|
|
109
|
+
- use import() type syntax for AppRouter
|
|
110
|
+
|
|
111
|
+
## 0.6.9
|
|
112
|
+
|
|
113
|
+
### Patch Changes
|
|
114
|
+
|
|
115
|
+
- isolate auth procedures from database imports
|
|
116
|
+
|
|
117
|
+
## 0.6.8
|
|
118
|
+
|
|
119
|
+
### Patch Changes
|
|
120
|
+
|
|
121
|
+
- prevent dotenv from leaking into browser bundle
|
|
122
|
+
|
|
123
|
+
## 0.6.7
|
|
124
|
+
|
|
125
|
+
### Patch Changes
|
|
126
|
+
|
|
127
|
+
- better-sqlite3 versions mismatch fix
|
|
128
|
+
|
|
129
|
+
## 0.6.6
|
|
130
|
+
|
|
131
|
+
### Patch Changes
|
|
132
|
+
|
|
133
|
+
- ensure the web app never imports server-side code paths
|
|
134
|
+
|
|
135
|
+
## 0.6.5
|
|
136
|
+
|
|
137
|
+
### Patch Changes
|
|
138
|
+
|
|
139
|
+
- move @prisma/client-runtime-utils to root package.json
|
|
140
|
+
|
|
141
|
+
## 0.6.4
|
|
142
|
+
|
|
143
|
+
### Patch Changes
|
|
144
|
+
|
|
145
|
+
- add @prisma/client-runtime-utils dependency
|
|
146
|
+
|
|
147
|
+
## 0.6.3
|
|
148
|
+
|
|
149
|
+
### Patch Changes
|
|
150
|
+
|
|
151
|
+
- Add workspaces field to root package.json template + Fix Prisma ESM/CJS import for Node.js v24
|
|
152
|
+
|
|
153
|
+
## 0.6.2
|
|
154
|
+
|
|
155
|
+
### Patch Changes
|
|
156
|
+
|
|
157
|
+
- add server actions, removed some deprecated and other chore
|
|
158
|
+
|
|
159
|
+
## 0.6.1
|
|
160
|
+
|
|
161
|
+
### Patch Changes
|
|
162
|
+
|
|
163
|
+
- route groups for file-based routing; add dynamic route support with [param] segments
|
|
164
|
+
|
|
165
|
+
## 0.6.0
|
|
166
|
+
|
|
167
|
+
### Minor Changes
|
|
168
|
+
|
|
169
|
+
- RSC streaming, dynamic routes, Vinxi integration
|
|
170
|
+
|
|
171
|
+
## 0.5.0
|
|
172
|
+
|
|
173
|
+
### Minor Changes
|
|
174
|
+
|
|
175
|
+
- Auto-register procedures + inject Prisma models feature
|
|
176
|
+
|
|
177
|
+
## 0.4.21
|
|
178
|
+
|
|
179
|
+
### Patch Changes
|
|
180
|
+
|
|
181
|
+
- format Prisma default values correctly by type
|
|
182
|
+
|
|
183
|
+
## 0.4.20
|
|
184
|
+
|
|
185
|
+
### Patch Changes
|
|
186
|
+
|
|
187
|
+
- import consolidation: update import paths for `@veloxts/velox`
|
|
188
|
+
|
|
189
|
+
## 0.4.19
|
|
190
|
+
|
|
191
|
+
### Patch Changes
|
|
192
|
+
|
|
193
|
+
- update default dev server port to 3030
|
|
194
|
+
|
|
195
|
+
## 0.4.18
|
|
196
|
+
|
|
197
|
+
### Patch Changes
|
|
198
|
+
|
|
199
|
+
- introduce interactive field menu and templates for resource generation
|
|
200
|
+
|
|
201
|
+
## 0.4.17
|
|
202
|
+
|
|
203
|
+
### Patch Changes
|
|
204
|
+
|
|
205
|
+
- add interactive field prompts for resource generation
|
|
206
|
+
|
|
207
|
+
## 0.4.16
|
|
208
|
+
|
|
209
|
+
### Patch Changes
|
|
210
|
+
|
|
211
|
+
- fixed velox procedures list
|
|
212
|
+
|
|
213
|
+
## 0.4.15
|
|
214
|
+
|
|
215
|
+
### Patch Changes
|
|
216
|
+
|
|
217
|
+
- chore lint fixes
|
|
218
|
+
|
|
219
|
+
## 0.4.14
|
|
220
|
+
|
|
221
|
+
### Patch Changes
|
|
222
|
+
|
|
223
|
+
- fixed proxy-type inferance and update proxy hooks for optional input handling
|
|
224
|
+
|
|
225
|
+
## 0.4.13
|
|
226
|
+
|
|
227
|
+
### Patch Changes
|
|
228
|
+
|
|
229
|
+
- add debug mode to dev server
|
|
230
|
+
|
|
231
|
+
## 0.4.12
|
|
232
|
+
|
|
233
|
+
### Patch Changes
|
|
234
|
+
|
|
235
|
+
- preserve type info in trpc template AppRouter export
|
|
236
|
+
|
|
237
|
+
## 0.4.11
|
|
238
|
+
|
|
239
|
+
### Patch Changes
|
|
240
|
+
|
|
241
|
+
- fixed api.health.check.useQuery is not a function issue
|
|
242
|
+
|
|
243
|
+
## 0.4.10
|
|
244
|
+
|
|
245
|
+
### Patch Changes
|
|
246
|
+
|
|
247
|
+
- fixed ReferenceError: styles is not defined in rpc template
|
|
248
|
+
|
|
249
|
+
## 0.4.7
|
|
250
|
+
|
|
251
|
+
### Patch Changes
|
|
252
|
+
|
|
253
|
+
- Add dynamic headers and routes config to client
|
|
254
|
+
|
|
255
|
+
## 0.4.6
|
|
256
|
+
|
|
257
|
+
### Patch Changes
|
|
258
|
+
|
|
259
|
+
- Fix broken npm packages - republish with correct dependencies
|
|
260
|
+
|
|
261
|
+
## 0.4.5
|
|
262
|
+
|
|
263
|
+
### Patch Changes
|
|
264
|
+
|
|
265
|
+
- b06631b: CI CD npm Trusted Publishing setup
|
|
266
|
+
|
|
267
|
+
## 0.4.4
|
|
268
|
+
|
|
269
|
+
### Patch Changes
|
|
270
|
+
|
|
271
|
+
- 05ae1a5: Update to boilerplate, work in progress
|
|
272
|
+
- 9961b52: full-stack React frontend implementation
|
|
273
|
+
|
|
274
|
+
## 0.4.3
|
|
275
|
+
|
|
276
|
+
### Patch Changes
|
|
277
|
+
|
|
278
|
+
- ef8d5d0: Dynamically load VeloxTS version from `package.json` in shared template configuration
|
|
279
|
+
|
|
280
|
+
## 0.4.2
|
|
281
|
+
|
|
282
|
+
### Patch Changes
|
|
283
|
+
|
|
284
|
+
- 5b4f02c: Updated documentations
|
|
285
|
+
- 0d8d775: Updated guides and readme files
|
|
286
|
+
|
|
287
|
+
## 0.4.1
|
|
288
|
+
|
|
289
|
+
### Patch Changes
|
|
290
|
+
|
|
291
|
+
- 0eea918: Completed CLI generators
|
|
292
|
+
|
|
293
|
+
## 0.4.0
|
|
294
|
+
|
|
295
|
+
### Minor Changes
|
|
296
|
+
|
|
297
|
+
- b478fee: Performance Benchmarks | 34k req/s, <1ms p50 latency, 75MB memory, 530ms startup
|
|
298
|
+
|
|
299
|
+
## 0.3.6
|
|
300
|
+
|
|
301
|
+
### Patch Changes
|
|
302
|
+
|
|
303
|
+
- 929f2ab: Interactive CLI setup
|
|
304
|
+
|
|
305
|
+
## 0.3.5
|
|
306
|
+
|
|
307
|
+
### Patch Changes
|
|
308
|
+
|
|
309
|
+
- 658e83f: @veloxts/auth, Full REST Support, Better error messages, Type tests with tsd
|
|
310
|
+
|
|
311
|
+
## 0.3.4
|
|
312
|
+
|
|
313
|
+
### Patch Changes
|
|
314
|
+
|
|
315
|
+
- 65ef3e7: DI container and Auth Guards
|
|
316
|
+
|
|
317
|
+
## 0.3.3
|
|
318
|
+
|
|
319
|
+
### Patch Changes
|
|
320
|
+
|
|
321
|
+
- 4ee103b: Full REST support PUT, PATCH and DELETE
|
|
322
|
+
|
|
323
|
+
## 0.3.2
|
|
324
|
+
|
|
325
|
+
### Patch Changes
|
|
326
|
+
|
|
327
|
+
- abf270e: Dynamically set core `VELOX_VERSION` from package.json
|
|
328
|
+
|
|
329
|
+
## 0.3.1
|
|
330
|
+
|
|
331
|
+
### Patch Changes
|
|
332
|
+
|
|
333
|
+
- cb9806e: Fixed the value for VELOXTS_VERSION in create app template
|
|
334
|
+
|
|
335
|
+
## 0.3.0
|
|
336
|
+
|
|
337
|
+
### Minor Changes
|
|
338
|
+
|
|
339
|
+
- 1adce10: Introduced an umbrella package for server side packages: @veloxts/velox
|
|
340
|
+
|
|
341
|
+
## 0.2.2
|
|
342
|
+
|
|
343
|
+
### Patch Changes
|
|
344
|
+
|
|
345
|
+
- 9b1d71d: Fix: Add better-sqlite3 as direct dependency and postinstall script for native module compilation
|
|
346
|
+
|
|
347
|
+
- Added `better-sqlite3` as a direct dependency to ensure pnpm compiles native bindings
|
|
348
|
+
- Added `postinstall` script to run `prisma generate` automatically after install
|
|
349
|
+
|
|
350
|
+
## 0.2.1
|
|
351
|
+
|
|
352
|
+
### Patch Changes
|
|
353
|
+
|
|
354
|
+
- b577801: Fix: include dist folder in published package
|
|
355
|
+
|
|
356
|
+
## 0.2.0
|
|
357
|
+
|
|
358
|
+
### Minor Changes
|
|
359
|
+
|
|
360
|
+
- 9404976: fix Prisma client generation. README adjustments
|
|
361
|
+
|
|
362
|
+
## 0.1.1
|
|
363
|
+
|
|
364
|
+
### Patch Changes
|
|
365
|
+
|
|
366
|
+
- Fix Prisma client generation in scaffolder
|
|
367
|
+
|
|
368
|
+
- Added automatic Prisma client generation after dependency installation in create-velox-app
|
|
369
|
+
- Fixed database template to validate DATABASE_URL environment variable
|
|
370
|
+
- Added alpha release warning to all package READMEs
|
|
371
|
+
- Fixed TypeScript type for registerTRPCPlugin to accept FastifyInstance
|
|
372
|
+
- Updated playground app to use Prisma 7.x custom output path
|
package/GUIDE.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# create-velox-app
|
|
2
|
+
|
|
3
|
+
Interactive project scaffolder for VeloxTS Framework.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx create-velox-app my-app
|
|
9
|
+
cd my-app
|
|
10
|
+
npm run db:push
|
|
11
|
+
npm run dev
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Your app will be running at `http://localhost:3030`
|
|
15
|
+
|
|
16
|
+
## Templates
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
npx create-velox-app my-app # Default REST API
|
|
20
|
+
npx create-velox-app my-app --auth # With authentication
|
|
21
|
+
npx create-velox-app my-app --trpc # tRPC-only setup
|
|
22
|
+
npx create-velox-app my-app --rsc # Full-stack setup with React Server Components
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Project Structure
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
my-app/
|
|
29
|
+
├── src/
|
|
30
|
+
│ ├── procedures/ # API endpoints
|
|
31
|
+
│ ├── schemas/ # Zod validation
|
|
32
|
+
│ └── index.ts # Entry point
|
|
33
|
+
├── prisma/
|
|
34
|
+
│ └── schema.prisma # Database schema
|
|
35
|
+
└── package.json
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Available Scripts
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
npm run dev # Development server with HMR
|
|
42
|
+
npm run build # Build for production
|
|
43
|
+
npm run db:push # Push database schema
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Test Endpoints
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
curl http://localhost:3030/api/health
|
|
50
|
+
curl http://localhost:3030/api/users
|
|
51
|
+
curl -X POST http://localhost:3030/api/users \
|
|
52
|
+
-H "Content-Type: application/json" \
|
|
53
|
+
-d '{"name": "Alice", "email": "alice@example.com"}'
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Learn More
|
|
57
|
+
|
|
58
|
+
See [@veloxts/velox](https://www.npmjs.com/package/@veloxts/velox) for complete documentation.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-velox-app",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.27",
|
|
4
4
|
"description": "Project scaffolder for VeloxTS framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -17,7 +17,10 @@
|
|
|
17
17
|
"files": [
|
|
18
18
|
"dist",
|
|
19
19
|
"src/templates/source",
|
|
20
|
-
"README.md"
|
|
20
|
+
"README.md",
|
|
21
|
+
"GUIDE.md",
|
|
22
|
+
"LICENSE",
|
|
23
|
+
"CHANGELOG.md"
|
|
21
24
|
],
|
|
22
25
|
"dependencies": {
|
|
23
26
|
"@clack/prompts": "0.11.0",
|