@dudousxd/nestjs-codegen 0.29.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 +8 -0
- 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 +690 -414
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +848 -567
- 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 +1 -1
- package/skills/codegen-setup/SKILL.md +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @dudousxd/nestjs-codegen
|
|
2
2
|
|
|
3
|
+
## 0.29.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#117](https://github.com/DavideCarvalho/nestjs-codegen/pull/117) [`a58eb46`](https://github.com/DavideCarvalho/nestjs-codegen/commit/a58eb46e3faf63c5715af210fce334ddf3f9b5d2) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - Watch mode no longer rebuilds its type-checked programs on every change. Schema inference's program and the program that types factory-built (mixin) controllers are kept across passes and re-read only the files that changed on disk, so a pass in a large app drops from seconds to a few hundred milliseconds; they are still built again when a watched file is created or deleted. A pass also notices edits to files outside the watched globs that discovery had loaded (a schema module a controller imports), which it used to serve stale until that file was named by a watch event. An import of a module that did not exist yet is also picked up once the module appears, even outside the watched globs.
|
|
8
|
+
|
|
9
|
+
A generate pass now reads each input file once: the skip-when-unchanged hash, the hash recorded after extensions report their dependencies, and page discovery share one read, done in parallel. Shared-props discovery reuses the parsed tsconfig while it is unchanged instead of re-parsing it, and walking the project tree, on every pass. Generated output is unchanged.
|
|
10
|
+
|
|
3
11
|
## 0.29.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|