@veloxts/velox 0.6.26 → 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.
Files changed (3) hide show
  1. package/CHANGELOG.md +689 -0
  2. package/GUIDE.md +85 -0
  3. package/package.json +10 -7
package/CHANGELOG.md ADDED
@@ -0,0 +1,689 @@
1
+ # @veloxts/velox
2
+
3
+ ## 0.6.27
4
+
5
+ ### Patch Changes
6
+
7
+ - chore: add GUIDE, LICENSE and CHANGELOG.md to npm files
8
+ - Updated dependencies
9
+ - @veloxts/auth@0.6.27
10
+ - @veloxts/core@0.6.27
11
+ - @veloxts/orm@0.6.27
12
+ - @veloxts/router@0.6.27
13
+ - @veloxts/validation@0.6.27
14
+
15
+ ## 0.6.26
16
+
17
+ ### Patch Changes
18
+
19
+ - docs(mcp): add README and GUIDE, docs(web): simplify README and create concise GUIDE
20
+ - Updated dependencies
21
+ - @veloxts/auth@0.6.26
22
+ - @veloxts/core@0.6.26
23
+ - @veloxts/orm@0.6.26
24
+ - @veloxts/router@0.6.26
25
+ - @veloxts/validation@0.6.26
26
+
27
+ ## 0.6.25
28
+
29
+ ### Patch Changes
30
+
31
+ - docs(create): add guide for React Server Components setup
32
+ - Updated dependencies
33
+ - @veloxts/auth@0.6.25
34
+ - @veloxts/core@0.6.25
35
+ - @veloxts/orm@0.6.25
36
+ - @veloxts/router@0.6.25
37
+ - @veloxts/validation@0.6.25
38
+
39
+ ## 0.6.24
40
+
41
+ ### Patch Changes
42
+
43
+ - clarify installation paths and package contents
44
+ - Updated dependencies
45
+ - @veloxts/auth@0.6.24
46
+ - @veloxts/core@0.6.24
47
+ - @veloxts/orm@0.6.24
48
+ - @veloxts/router@0.6.24
49
+ - @veloxts/validation@0.6.24
50
+
51
+ ## 0.6.23
52
+
53
+ ### Patch Changes
54
+
55
+ - add defineContract for improved type inference DX
56
+ - Updated dependencies
57
+ - @veloxts/auth@0.6.23
58
+ - @veloxts/core@0.6.23
59
+ - @veloxts/orm@0.6.23
60
+ - @veloxts/router@0.6.23
61
+ - @veloxts/validation@0.6.23
62
+
63
+ ## 0.6.22
64
+
65
+ ### Patch Changes
66
+
67
+ - support {method, path} route entry format
68
+ - Updated dependencies
69
+ - @veloxts/auth@0.6.22
70
+ - @veloxts/core@0.6.22
71
+ - @veloxts/orm@0.6.22
72
+ - @veloxts/router@0.6.22
73
+ - @veloxts/validation@0.6.22
74
+
75
+ ## 0.6.21
76
+
77
+ ### Patch Changes
78
+
79
+ - separate schemas from procedures for browser-safe import
80
+ - Updated dependencies
81
+ - @veloxts/auth@0.6.21
82
+ - @veloxts/core@0.6.21
83
+ - @veloxts/orm@0.6.21
84
+ - @veloxts/router@0.6.21
85
+ - @veloxts/validation@0.6.21
86
+
87
+ ## 0.6.20
88
+
89
+ ### Patch Changes
90
+
91
+ - add Fastify ecosystem stubs and debuglog to util
92
+ - Updated dependencies
93
+ - @veloxts/auth@0.6.20
94
+ - @veloxts/core@0.6.20
95
+ - @veloxts/orm@0.6.20
96
+ - @veloxts/router@0.6.20
97
+ - @veloxts/validation@0.6.20
98
+
99
+ ## 0.6.19
100
+
101
+ ### Patch Changes
102
+
103
+ - restore dotenv stub for browser compatibility
104
+ - Updated dependencies
105
+ - @veloxts/auth@0.6.19
106
+ - @veloxts/core@0.6.19
107
+ - @veloxts/orm@0.6.19
108
+ - @veloxts/router@0.6.19
109
+ - @veloxts/validation@0.6.19
110
+
111
+ ## 0.6.18
112
+
113
+ ### Patch Changes
114
+
115
+ - add node:fs/promises stub and fix esbuild plugin
116
+ - Updated dependencies
117
+ - @veloxts/auth@0.6.18
118
+ - @veloxts/core@0.6.18
119
+ - @veloxts/orm@0.6.18
120
+ - @veloxts/router@0.6.18
121
+ - @veloxts/validation@0.6.18
122
+
123
+ ## 0.6.17
124
+
125
+ ### Patch Changes
126
+
127
+ - remove optimizeDeps.exclude to fix CJS/ESM interop
128
+ - Updated dependencies
129
+ - @veloxts/auth@0.6.17
130
+ - @veloxts/core@0.6.17
131
+ - @veloxts/orm@0.6.17
132
+ - @veloxts/router@0.6.17
133
+ - @veloxts/validation@0.6.17
134
+
135
+ ## 0.6.16
136
+
137
+ ### Patch Changes
138
+
139
+ - add stubs for Fastify ecosystem packages
140
+ - Updated dependencies
141
+ - @veloxts/auth@0.6.16
142
+ - @veloxts/core@0.6.16
143
+ - @veloxts/orm@0.6.16
144
+ - @veloxts/router@0.6.16
145
+ - @veloxts/validation@0.6.16
146
+
147
+ ## 0.6.15
148
+
149
+ ### Patch Changes
150
+
151
+ - implement three-layer Node.js stubbing for Vite
152
+ - Updated dependencies
153
+ - @veloxts/auth@0.6.15
154
+ - @veloxts/core@0.6.15
155
+ - @veloxts/orm@0.6.15
156
+ - @veloxts/router@0.6.15
157
+ - @veloxts/validation@0.6.15
158
+
159
+ ## 0.6.14
160
+
161
+ ### Patch Changes
162
+
163
+ - stub dotenv as virtual module instead of process shims
164
+ - Updated dependencies
165
+ - @veloxts/auth@0.6.14
166
+ - @veloxts/core@0.6.14
167
+ - @veloxts/orm@0.6.14
168
+ - @veloxts/router@0.6.14
169
+ - @veloxts/validation@0.6.14
170
+
171
+ ## 0.6.13
172
+
173
+ ### Patch Changes
174
+
175
+ - add process.argv stub for dotenv browser compatibility
176
+ - Updated dependencies
177
+ - @veloxts/auth@0.6.13
178
+ - @veloxts/core@0.6.13
179
+ - @veloxts/orm@0.6.13
180
+ - @veloxts/router@0.6.13
181
+ - @veloxts/validation@0.6.13
182
+
183
+ ## 0.6.12
184
+
185
+ ### Patch Changes
186
+
187
+ - Fixes the "process is not defined" error from dotenv
188
+ - Updated dependencies
189
+ - @veloxts/auth@0.6.12
190
+ - @veloxts/core@0.6.12
191
+ - @veloxts/orm@0.6.12
192
+ - @veloxts/router@0.6.12
193
+ - @veloxts/validation@0.6.12
194
+
195
+ ## 0.6.11
196
+
197
+ ### Patch Changes
198
+
199
+ - add Vite plugin for Node.js module stubs
200
+ - Updated dependencies
201
+ - @veloxts/auth@0.6.11
202
+ - @veloxts/core@0.6.11
203
+ - @veloxts/orm@0.6.11
204
+ - @veloxts/router@0.6.11
205
+ - @veloxts/validation@0.6.11
206
+
207
+ ## 0.6.10
208
+
209
+ ### Patch Changes
210
+
211
+ - use import() type syntax for AppRouter
212
+ - Updated dependencies
213
+ - @veloxts/auth@0.6.10
214
+ - @veloxts/core@0.6.10
215
+ - @veloxts/orm@0.6.10
216
+ - @veloxts/router@0.6.10
217
+ - @veloxts/validation@0.6.10
218
+
219
+ ## 0.6.9
220
+
221
+ ### Patch Changes
222
+
223
+ - isolate auth procedures from database imports
224
+ - Updated dependencies
225
+ - @veloxts/auth@0.6.9
226
+ - @veloxts/core@0.6.9
227
+ - @veloxts/orm@0.6.9
228
+ - @veloxts/router@0.6.9
229
+ - @veloxts/validation@0.6.9
230
+
231
+ ## 0.6.8
232
+
233
+ ### Patch Changes
234
+
235
+ - prevent dotenv from leaking into browser bundle
236
+ - Updated dependencies
237
+ - @veloxts/auth@0.6.8
238
+ - @veloxts/core@0.6.8
239
+ - @veloxts/orm@0.6.8
240
+ - @veloxts/router@0.6.8
241
+ - @veloxts/validation@0.6.8
242
+
243
+ ## 0.6.7
244
+
245
+ ### Patch Changes
246
+
247
+ - better-sqlite3 versions mismatch fix
248
+ - Updated dependencies
249
+ - @veloxts/auth@0.6.7
250
+ - @veloxts/core@0.6.7
251
+ - @veloxts/orm@0.6.7
252
+ - @veloxts/router@0.6.7
253
+ - @veloxts/validation@0.6.7
254
+
255
+ ## 0.6.6
256
+
257
+ ### Patch Changes
258
+
259
+ - ensure the web app never imports server-side code paths
260
+ - Updated dependencies
261
+ - @veloxts/auth@0.6.6
262
+ - @veloxts/core@0.6.6
263
+ - @veloxts/orm@0.6.6
264
+ - @veloxts/router@0.6.6
265
+ - @veloxts/validation@0.6.6
266
+
267
+ ## 0.6.5
268
+
269
+ ### Patch Changes
270
+
271
+ - move @prisma/client-runtime-utils to root package.json
272
+ - Updated dependencies
273
+ - @veloxts/auth@0.6.5
274
+ - @veloxts/core@0.6.5
275
+ - @veloxts/orm@0.6.5
276
+ - @veloxts/router@0.6.5
277
+ - @veloxts/validation@0.6.5
278
+
279
+ ## 0.6.4
280
+
281
+ ### Patch Changes
282
+
283
+ - add @prisma/client-runtime-utils dependency
284
+ - Updated dependencies
285
+ - @veloxts/auth@0.6.4
286
+ - @veloxts/core@0.6.4
287
+ - @veloxts/orm@0.6.4
288
+ - @veloxts/router@0.6.4
289
+ - @veloxts/validation@0.6.4
290
+
291
+ ## 0.6.3
292
+
293
+ ### Patch Changes
294
+
295
+ - Add workspaces field to root package.json template + Fix Prisma ESM/CJS import for Node.js v24
296
+ - Updated dependencies
297
+ - @veloxts/auth@0.6.3
298
+ - @veloxts/core@0.6.3
299
+ - @veloxts/orm@0.6.3
300
+ - @veloxts/router@0.6.3
301
+ - @veloxts/validation@0.6.3
302
+
303
+ ## 0.6.2
304
+
305
+ ### Patch Changes
306
+
307
+ - add server actions, removed some deprecated and other chore
308
+ - Updated dependencies
309
+ - @veloxts/auth@0.6.2
310
+ - @veloxts/core@0.6.2
311
+ - @veloxts/orm@0.6.2
312
+ - @veloxts/router@0.6.2
313
+ - @veloxts/validation@0.6.2
314
+
315
+ ## 0.6.1
316
+
317
+ ### Patch Changes
318
+
319
+ - route groups for file-based routing; add dynamic route support with [param] segments
320
+ - Updated dependencies
321
+ - @veloxts/auth@0.6.1
322
+ - @veloxts/core@0.6.1
323
+ - @veloxts/orm@0.6.1
324
+ - @veloxts/router@0.6.1
325
+ - @veloxts/validation@0.6.1
326
+
327
+ ## 0.6.0
328
+
329
+ ### Minor Changes
330
+
331
+ - RSC streaming, dynamic routes, Vinxi integration
332
+
333
+ ### Patch Changes
334
+
335
+ - Updated dependencies
336
+ - @veloxts/auth@0.6.0
337
+ - @veloxts/core@0.6.0
338
+ - @veloxts/orm@0.6.0
339
+ - @veloxts/router@0.6.0
340
+ - @veloxts/validation@0.6.0
341
+
342
+ ## 0.5.0
343
+
344
+ ### Minor Changes
345
+
346
+ - Auto-register procedures + inject Prisma models feature
347
+
348
+ ### Patch Changes
349
+
350
+ - Updated dependencies
351
+ - @veloxts/auth@0.5.0
352
+ - @veloxts/core@0.5.0
353
+ - @veloxts/orm@0.5.0
354
+ - @veloxts/router@0.5.0
355
+ - @veloxts/validation@0.5.0
356
+
357
+ ## 0.4.21
358
+
359
+ ### Patch Changes
360
+
361
+ - format Prisma default values correctly by type
362
+ - Updated dependencies
363
+ - @veloxts/auth@0.4.21
364
+ - @veloxts/core@0.4.21
365
+ - @veloxts/orm@0.4.21
366
+ - @veloxts/router@0.4.21
367
+ - @veloxts/validation@0.4.21
368
+
369
+ ## 0.4.20
370
+
371
+ ### Patch Changes
372
+
373
+ - import consolidation: update import paths for `@veloxts/velox`
374
+ - Updated dependencies
375
+ - @veloxts/auth@0.4.20
376
+ - @veloxts/core@0.4.20
377
+ - @veloxts/orm@0.4.20
378
+ - @veloxts/router@0.4.20
379
+ - @veloxts/validation@0.4.20
380
+
381
+ ## 0.4.19
382
+
383
+ ### Patch Changes
384
+
385
+ - update default dev server port to 3030
386
+ - Updated dependencies
387
+ - @veloxts/auth@0.4.19
388
+ - @veloxts/core@0.4.19
389
+ - @veloxts/orm@0.4.19
390
+ - @veloxts/router@0.4.19
391
+ - @veloxts/validation@0.4.19
392
+
393
+ ## 0.4.18
394
+
395
+ ### Patch Changes
396
+
397
+ - introduce interactive field menu and templates for resource generation
398
+ - Updated dependencies
399
+ - @veloxts/auth@0.4.18
400
+ - @veloxts/core@0.4.18
401
+ - @veloxts/orm@0.4.18
402
+ - @veloxts/router@0.4.18
403
+ - @veloxts/validation@0.4.18
404
+
405
+ ## 0.4.17
406
+
407
+ ### Patch Changes
408
+
409
+ - add interactive field prompts for resource generation
410
+ - Updated dependencies
411
+ - @veloxts/auth@0.4.17
412
+ - @veloxts/core@0.4.17
413
+ - @veloxts/orm@0.4.17
414
+ - @veloxts/router@0.4.17
415
+ - @veloxts/validation@0.4.17
416
+
417
+ ## 0.4.16
418
+
419
+ ### Patch Changes
420
+
421
+ - fixed velox procedures list
422
+ - Updated dependencies
423
+ - @veloxts/auth@0.4.16
424
+ - @veloxts/core@0.4.16
425
+ - @veloxts/orm@0.4.16
426
+ - @veloxts/router@0.4.16
427
+ - @veloxts/validation@0.4.16
428
+
429
+ ## 0.4.15
430
+
431
+ ### Patch Changes
432
+
433
+ - chore lint fixes
434
+ - Updated dependencies
435
+ - @veloxts/auth@0.4.15
436
+ - @veloxts/core@0.4.15
437
+ - @veloxts/orm@0.4.15
438
+ - @veloxts/router@0.4.15
439
+ - @veloxts/validation@0.4.15
440
+
441
+ ## 0.4.14
442
+
443
+ ### Patch Changes
444
+
445
+ - fixed proxy-type inferance and update proxy hooks for optional input handling
446
+ - Updated dependencies
447
+ - @veloxts/auth@0.4.14
448
+ - @veloxts/core@0.4.14
449
+ - @veloxts/orm@0.4.14
450
+ - @veloxts/router@0.4.14
451
+ - @veloxts/validation@0.4.14
452
+
453
+ ## 0.4.13
454
+
455
+ ### Patch Changes
456
+
457
+ - add debug mode to dev server
458
+ - Updated dependencies
459
+ - @veloxts/auth@0.4.13
460
+ - @veloxts/core@0.4.13
461
+ - @veloxts/orm@0.4.13
462
+ - @veloxts/router@0.4.13
463
+ - @veloxts/validation@0.4.13
464
+
465
+ ## 0.4.12
466
+
467
+ ### Patch Changes
468
+
469
+ - preserve type info in trpc template AppRouter export
470
+ - Updated dependencies
471
+ - @veloxts/auth@0.4.12
472
+ - @veloxts/core@0.4.12
473
+ - @veloxts/orm@0.4.12
474
+ - @veloxts/router@0.4.12
475
+ - @veloxts/validation@0.4.12
476
+
477
+ ## 0.4.11
478
+
479
+ ### Patch Changes
480
+
481
+ - fixed api.health.check.useQuery is not a function issue
482
+ - Updated dependencies
483
+ - @veloxts/auth@0.4.11
484
+ - @veloxts/core@0.4.11
485
+ - @veloxts/orm@0.4.11
486
+ - @veloxts/router@0.4.11
487
+ - @veloxts/validation@0.4.11
488
+
489
+ ## 0.4.10
490
+
491
+ ### Patch Changes
492
+
493
+ - fixed ReferenceError: styles is not defined in rpc template
494
+ - Updated dependencies
495
+ - @veloxts/auth@0.4.10
496
+ - @veloxts/core@0.4.10
497
+ - @veloxts/orm@0.4.10
498
+ - @veloxts/router@0.4.10
499
+ - @veloxts/validation@0.4.10
500
+
501
+ ## 0.4.7
502
+
503
+ ### Patch Changes
504
+
505
+ - Add dynamic headers and routes config to client
506
+ - Updated dependencies
507
+ - @veloxts/auth@0.4.7
508
+ - @veloxts/core@0.4.7
509
+ - @veloxts/orm@0.4.7
510
+ - @veloxts/router@0.4.7
511
+ - @veloxts/validation@0.4.7
512
+
513
+ ## 0.4.6
514
+
515
+ ### Patch Changes
516
+
517
+ - Fix broken npm packages - republish with correct dependencies
518
+ - Updated dependencies
519
+ - @veloxts/auth@0.4.6
520
+ - @veloxts/core@0.4.6
521
+ - @veloxts/orm@0.4.6
522
+ - @veloxts/router@0.4.6
523
+ - @veloxts/validation@0.4.6
524
+
525
+ ## 0.4.5
526
+
527
+ ### Patch Changes
528
+
529
+ - b06631b: CI CD npm Trusted Publishing setup
530
+ - Updated dependencies [b06631b]
531
+ - @veloxts/auth@0.4.5
532
+ - @veloxts/core@0.4.5
533
+ - @veloxts/orm@0.4.5
534
+ - @veloxts/router@0.4.5
535
+ - @veloxts/validation@0.4.5
536
+
537
+ ## 0.4.4
538
+
539
+ ### Patch Changes
540
+
541
+ - 05ae1a5: Update to boilerplate, work in progress
542
+ - 9961b52: full-stack React frontend implementation
543
+ - Updated dependencies [05ae1a5]
544
+ - Updated dependencies [9961b52]
545
+ - @veloxts/auth@0.4.4
546
+ - @veloxts/core@0.4.4
547
+ - @veloxts/orm@0.4.4
548
+ - @veloxts/router@0.4.4
549
+ - @veloxts/validation@0.4.4
550
+
551
+ ## 0.4.3
552
+
553
+ ### Patch Changes
554
+
555
+ - ef8d5d0: Dynamically load VeloxTS version from `package.json` in shared template configuration
556
+ - Updated dependencies [ef8d5d0]
557
+ - @veloxts/auth@0.4.3
558
+ - @veloxts/core@0.4.3
559
+ - @veloxts/orm@0.4.3
560
+ - @veloxts/router@0.4.3
561
+ - @veloxts/validation@0.4.3
562
+
563
+ ## 0.4.2
564
+
565
+ ### Patch Changes
566
+
567
+ - 5b4f02c: Updated documentations
568
+ - 0d8d775: Updated guides and readme files
569
+ - Updated dependencies [5b4f02c]
570
+ - Updated dependencies [0d8d775]
571
+ - @veloxts/auth@0.4.2
572
+ - @veloxts/core@0.4.2
573
+ - @veloxts/orm@0.4.2
574
+ - @veloxts/router@0.4.2
575
+ - @veloxts/validation@0.4.2
576
+
577
+ ## 0.4.1
578
+
579
+ ### Patch Changes
580
+
581
+ - 0eea918: Completed CLI generators
582
+ - Updated dependencies [0eea918]
583
+ - @veloxts/auth@0.4.1
584
+ - @veloxts/core@0.4.1
585
+ - @veloxts/orm@0.4.1
586
+ - @veloxts/router@0.4.1
587
+ - @veloxts/validation@0.4.1
588
+
589
+ ## 0.4.0
590
+
591
+ ### Minor Changes
592
+
593
+ - b478fee: Performance Benchmarks | 34k req/s, <1ms p50 latency, 75MB memory, 530ms startup
594
+
595
+ ### Patch Changes
596
+
597
+ - Updated dependencies [b478fee]
598
+ - @veloxts/auth@0.4.0
599
+ - @veloxts/core@0.4.0
600
+ - @veloxts/orm@0.4.0
601
+ - @veloxts/router@0.4.0
602
+ - @veloxts/validation@0.4.0
603
+
604
+ ## 0.3.6
605
+
606
+ ### Patch Changes
607
+
608
+ - 929f2ab: Interactive CLI setup
609
+ - Updated dependencies [929f2ab]
610
+ - @veloxts/auth@0.3.6
611
+ - @veloxts/core@0.3.6
612
+ - @veloxts/orm@0.3.6
613
+ - @veloxts/router@0.3.6
614
+ - @veloxts/validation@0.3.6
615
+
616
+ ## 0.3.5
617
+
618
+ ### Patch Changes
619
+
620
+ - 658e83f: @veloxts/auth, Full REST Support, Better error messages, Type tests with tsd
621
+ - Updated dependencies [658e83f]
622
+ - @veloxts/auth@0.3.5
623
+ - @veloxts/core@0.3.5
624
+ - @veloxts/orm@0.3.5
625
+ - @veloxts/router@0.3.5
626
+ - @veloxts/validation@0.3.5
627
+
628
+ ## 0.3.4
629
+
630
+ ### Patch Changes
631
+
632
+ - 65ef3e7: DI container and Auth Guards
633
+ - Updated dependencies [65ef3e7]
634
+ - @veloxts/auth@0.3.4
635
+ - @veloxts/core@0.3.4
636
+ - @veloxts/orm@0.3.4
637
+ - @veloxts/router@0.3.4
638
+ - @veloxts/validation@0.3.4
639
+
640
+ ## 0.3.3
641
+
642
+ ### Patch Changes
643
+
644
+ - 4ee103b: Full REST support PUT, PATCH and DELETE
645
+ - Updated dependencies [4ee103b]
646
+ - @veloxts/auth@0.3.3
647
+ - @veloxts/core@0.3.3
648
+ - @veloxts/orm@0.3.3
649
+ - @veloxts/router@0.3.3
650
+ - @veloxts/validation@0.3.3
651
+
652
+ ## 0.3.2
653
+
654
+ ### Patch Changes
655
+
656
+ - abf270e: Dynamically set core `VELOX_VERSION` from package.json
657
+ - Updated dependencies [abf270e]
658
+ - @veloxts/auth@0.3.2
659
+ - @veloxts/core@0.3.2
660
+ - @veloxts/orm@0.3.2
661
+ - @veloxts/router@0.3.2
662
+ - @veloxts/validation@0.3.2
663
+
664
+ ## 0.3.1
665
+
666
+ ### Patch Changes
667
+
668
+ - cb9806e: Fixed the value for VELOXTS_VERSION in create app template
669
+ - Updated dependencies [cb9806e]
670
+ - @veloxts/auth@0.3.1
671
+ - @veloxts/core@0.3.1
672
+ - @veloxts/orm@0.3.1
673
+ - @veloxts/router@0.3.1
674
+ - @veloxts/validation@0.3.1
675
+
676
+ ## 0.3.0
677
+
678
+ ### Minor Changes
679
+
680
+ - 1adce10: Introduced an umbrella package for server side packages: @veloxts/velox
681
+
682
+ ### Patch Changes
683
+
684
+ - Updated dependencies [1adce10]
685
+ - @veloxts/auth@0.3.0
686
+ - @veloxts/core@0.3.0
687
+ - @veloxts/orm@0.3.0
688
+ - @veloxts/router@0.3.0
689
+ - @veloxts/validation@0.3.0
package/GUIDE.md ADDED
@@ -0,0 +1,85 @@
1
+ # @veloxts/velox
2
+
3
+ Complete VeloxTS Framework - batteries included for type-safe, full-stack TypeScript applications.
4
+
5
+ ## Quick Start
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 API is running at `http://localhost:3030`.
15
+
16
+ ## Basic Usage
17
+
18
+ ```typescript
19
+ import { veloxApp, procedure, defineProcedures, z } from '@veloxts/velox';
20
+
21
+ const app = await veloxApp({ port: 3030 });
22
+
23
+ const greetProcedures = defineProcedures('greet', {
24
+ sayHello: procedure()
25
+ .input(z.object({ name: z.string() }))
26
+ .query(({ input }) => `Hello, ${input.name}!`),
27
+ });
28
+
29
+ app.routes([greetProcedures]);
30
+ await app.start();
31
+ ```
32
+
33
+ ## What's Included
34
+
35
+ - **@veloxts/core** - Application bootstrap, plugins, context, DI
36
+ - **@veloxts/validation** - Zod integration and schema utilities
37
+ - **@veloxts/orm** - Database plugin and Prisma integration
38
+ - **@veloxts/router** - Procedures, REST adapter, tRPC
39
+ - **@veloxts/auth** - Authentication and authorization
40
+
41
+ Separate packages: `@veloxts/client`, `@veloxts/cli`, `create-velox-app`
42
+
43
+ ## Import Patterns
44
+
45
+ ```typescript
46
+ // Main export
47
+ import { veloxApp, procedure, z } from '@veloxts/velox';
48
+
49
+ // Subpath imports (better tree-shaking)
50
+ import { veloxApp } from '@veloxts/velox/core';
51
+ import { procedure } from '@veloxts/velox/router';
52
+
53
+ // Direct packages (best tree-shaking)
54
+ import { veloxApp } from '@veloxts/core';
55
+ import { procedure } from '@veloxts/router';
56
+ ```
57
+
58
+ ## REST Naming Conventions
59
+
60
+ Procedure names auto-map to HTTP methods:
61
+
62
+ - `getUser` → GET `/users/:id`
63
+ - `listUsers` → GET `/users`
64
+ - `createUser` → POST `/users`
65
+ - `updateUser` → PUT `/users/:id`
66
+ - `deleteUser` → DELETE `/users/:id`
67
+
68
+ ## Type Safety
69
+
70
+ Types flow from backend to frontend without code generation:
71
+
72
+ ```typescript
73
+ // Frontend
74
+ import { createClient } from '@veloxts/client';
75
+ import type { userProcedures } from '../server/procedures';
76
+
77
+ const api = createClient<{ users: typeof userProcedures }>({ baseUrl: '/api' });
78
+ const user = await api.users.getUser({ id: '123' }); // Fully typed
79
+ ```
80
+
81
+ ## Learn More
82
+
83
+ - [GitHub Repository](https://github.com/veloxts/velox-ts-framework)
84
+ - [@veloxts/router](https://www.npmjs.com/package/@veloxts/router) - Procedures
85
+ - [@veloxts/client](https://www.npmjs.com/package/@veloxts/client) - Frontend client
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veloxts/velox",
3
- "version": "0.6.26",
3
+ "version": "0.6.27",
4
4
  "description": "Complete VeloxTS framework - batteries included",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -33,14 +33,17 @@
33
33
  },
34
34
  "files": [
35
35
  "dist",
36
- "README.md"
36
+ "README.md",
37
+ "GUIDE.md",
38
+ "LICENSE",
39
+ "CHANGELOG.md"
37
40
  ],
38
41
  "dependencies": {
39
- "@veloxts/core": "0.6.26",
40
- "@veloxts/validation": "0.6.26",
41
- "@veloxts/orm": "0.6.26",
42
- "@veloxts/router": "0.6.26",
43
- "@veloxts/auth": "0.6.26"
42
+ "@veloxts/core": "0.6.27",
43
+ "@veloxts/validation": "0.6.27",
44
+ "@veloxts/orm": "0.6.27",
45
+ "@veloxts/router": "0.6.27",
46
+ "@veloxts/auth": "0.6.27"
44
47
  },
45
48
  "devDependencies": {
46
49
  "typescript": "5.9.3"