@dudousxd/nestjs-codegen 0.28.0 → 0.29.1
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 +16 -0
- package/README.md +10 -8
- package/dist/cli/main.cjs +705 -429
- package/dist/cli/main.cjs.map +1 -1
- package/dist/cli/main.js +856 -575
- package/dist/cli/main.js.map +1 -1
- package/dist/index.cjs +889 -562
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +27 -14
- package/dist/index.d.ts +27 -14
- package/dist/index.js +1057 -725
- package/dist/index.js.map +1 -1
- package/dist/nest/index.cjs +553 -277
- package/dist/nest/index.cjs.map +1 -1
- package/dist/nest/index.js +363 -82
- package/dist/nest/index.js.map +1 -1
- package/package.json +4 -3
- package/skills/codegen-setup/SKILL.md +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dudousxd/nestjs-codegen",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/DavideCarvalho/nestjs-codegen.git",
|
|
@@ -83,10 +83,10 @@
|
|
|
83
83
|
"ts-morph": "28.0.0"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
|
+
"@dudousxd/nestjs-agent-core": ">=0.53.0",
|
|
86
87
|
"@nestjs/common": ">=9.0.0",
|
|
87
88
|
"tsx": ">=4.0.0",
|
|
88
|
-
"typescript": ">=5.0.0"
|
|
89
|
-
"@dudousxd/nestjs-agent-core": ">=0.52.0"
|
|
89
|
+
"typescript": ">=5.0.0"
|
|
90
90
|
},
|
|
91
91
|
"peerDependenciesMeta": {
|
|
92
92
|
"@dudousxd/nestjs-agent-core": {
|
|
@@ -100,6 +100,7 @@
|
|
|
100
100
|
}
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
|
+
"@dudousxd/nestjs-agent-core": "0.53.0",
|
|
103
104
|
"@nestjs/common": "12.0.1",
|
|
104
105
|
"@nestjs/core": "12.0.1",
|
|
105
106
|
"@tanstack/react-query": "5.102.8",
|
|
@@ -58,7 +58,11 @@ export class AppModule {}
|
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
Run the app as usual (`nest start --watch`): the watcher does an initial generate, then regenerates
|
|
61
|
-
as controllers/DTOs change.
|
|
61
|
+
as controllers/DTOs change. Passes after the first are incremental: the type-checked programs are
|
|
62
|
+
kept and only files changed on disk are re-read (including loaded files outside the watched globs,
|
|
63
|
+
picked up on the next pass); creating or deleting a watched file rebuilds them from scratch. See
|
|
64
|
+
`apps/docs/content/docs/cli.mdx` ("What a watch pass costs"). `@nestjs/common` is an optional peer —
|
|
65
|
+
your Nest app already has it.
|
|
62
66
|
|
|
63
67
|
## Core patterns
|
|
64
68
|
|