@dryv/nestjsv0.9.0
NestJS feature controllers, services and modules for HTTP operations.
dryv pack add @dryv/nestjsChangelog
0.9.0
- Merge the service contract and implementation into one file; drop the feature and root barrels.
- Write specs to
test/test-appand the vitest config topackageoutput slots;operation.implementationbecomes optional.
0.8.0
- Feature folders move to
<group>/features/<feature>/.
0.7.0
- Add the optional
module.provideroperation slot. Feature modules import and register provider artifacts only for operations belonging to that feature. - Extend the executable fixtures to inject an operation-scoped module provider through the complete generated application.
0.5.0
- Generate Vitest specs:
<feature>.controller.e2e.spec.ts(routing, input binding, validation, status codes and response passthrough per operation, with the implementation mocked) andapp.e2e.spec.ts(the assembled AppModule serves every contract route). server/http.options.tsholds the global validation options; AppModule registers them asAPP_PIPEand the specs use the same options.- Scaffold
vitest.config.ts(SWC, for NestJS decorator metadata). Optional needschema.examplessupplies valid payloads.
0.4.0
<feature>.service.tsis an abstract contract;<feature>.module.tsbinds it to the project's implementation (operation.implementation) withsatisfies Type<…>and registers per-operation use cases (operation.usecase).- Add
<group>/<group>.module.tsandapp.module.ts(written to theappoutput slot); scaffolddatabase/database.module.ts, imported only when generated entities are used.
0.3.0
- Split each feature into
<feature>.controller.ts,<feature>.service.tsand<feature>.module.ts, following NestJS conventions; the module remains theoperation.serverprovider. - Move the cookie parameter decorator to
common/server/http/cookie.decorator.ts. - Remove the unfinished feature API contract template (its
[email protected]dependency cannot be installed).
0.1.0
- First release in
dryvcode/packs, copied from the Dryv repository's examplenestjspack.