@nest-arch/tui 0.2.2 → 0.2.4
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/README.md +1 -2
- package/dist/cli.js +1 -1
- package/dist/constants-BPutZTpn.js +1 -0
- package/dist/index.js +96 -96
- package/dist/templates/base/bunfig.toml.hbs +10 -0
- package/dist/templates/base/test/app.e2e-spec.ts.hbs +6 -1
- package/dist/templates/base/tsconfig.json.hbs +2 -2
- package/dist/templates/base/vitest.config.e2e.ts.hbs +3 -1
- package/dist/templates/base/vitest.config.ts.hbs +3 -1
- package/dist/templates/monorepo/apps/api-gateway/package.json.hbs +3 -0
- package/dist/templates/monorepo/apps/api-gateway/test/app.e2e-spec.ts.hbs +6 -1
- package/dist/templates/monorepo/apps/api-gateway/vitest.config.e2e.ts.hbs +3 -1
- package/dist/templates/monorepo/apps/api-gateway/vitest.config.ts.hbs +3 -1
- package/dist/templates/monorepo/root/bunfig.toml.hbs +9 -0
- package/dist/templates/single-project/architecture/nest-api/package.json.hbs +4 -1
- package/package.json +4 -4
- package/dist/constants-DBtqeoTh.js +0 -1
- package/dist/templates/base/src/libs/trpc/scripts/fix-trpc-generated.mjs.hbs +0 -21
- package/dist/templates/base/src/libs/trpc/scripts/watch-trpc.mjs.hbs +0 -91
package/README.md
CHANGED
|
@@ -7,7 +7,6 @@ Interactive terminal UI for generating NestJS projects.
|
|
|
7
7
|
## Known Limitations
|
|
8
8
|
|
|
9
9
|
- **`@nestjs/graphql`** does not yet support NestJS v12. If you select GraphQL, the generated project may not work with the latest NestJS version.
|
|
10
|
-
- **NestJS tRPC** has a pending PR for NestJS v12 compatibility, including support for NestJS's new ESM module resolution. In the meantime, the tRPC integration includes scripts to help bridge the gap. Track the PR for updates on approval.
|
|
11
10
|
|
|
12
11
|
## Installation
|
|
13
12
|
|
|
@@ -35,7 +34,7 @@ nest-arch
|
|
|
35
34
|
# Start the interactive wizard
|
|
36
35
|
npx @nest-arch/tui
|
|
37
36
|
|
|
38
|
-
# Generate a module in an existing project
|
|
37
|
+
# Generate a module in an existing project (Headless usage not recommended yet)
|
|
39
38
|
npx @nest-arch/core generate:module --name users --dtos --entity
|
|
40
39
|
```
|
|
41
40
|
|
package/dist/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const e=new Set(["-v","--v","--version"]);if(process.argv[2]&&e.has(process.argv[2])){const{APP_VERSION:s}=await import("./constants-
|
|
2
|
+
const e=new Set(["-v","--v","--version"]);if(process.argv[2]&&e.has(process.argv[2])){const{APP_VERSION:s}=await import("./constants-BPutZTpn.js");console.log(`nest-arch/${s.replace(/^v/u,"")}`),process.exit(0)}await import("./index.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const O="Nest Arch",A="v0.2.2",t="Build production-ready NestJS projects.",o="#e54545",R="#A0A0A0",c="#6B6B6B",s="#E5E5E5",C="#61AFEF",E="#3A3A3A",n="#7FD99A",_="#E8C468",L="#e96142ff";export{O as APP_NAME,t as APP_TAGLINE,A as APP_VERSION,C as COLOR_ACCENT,R as COLOR_DIM,c as COLOR_DIMMER,E as COLOR_DIVIDER,s as COLOR_FG,o as COLOR_RED,n as COLOR_SUCCESS,_ as COLOR_WARM,L as COLOR_WARM_SECONDARY};
|