@dudousxd/nestjs-codegen 0.21.1 → 0.22.0
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 +26 -0
- package/dist/cli/main.cjs +3873 -3864
- package/dist/cli/main.cjs.map +1 -1
- package/dist/cli/main.js +3877 -3868
- package/dist/cli/main.js.map +1 -1
- package/dist/extension/index.cjs.map +1 -1
- package/dist/extension/index.d.cts +1 -1
- package/dist/extension/index.d.ts +1 -1
- package/dist/extension/index.js.map +1 -1
- package/dist/{index-Dyf4ttwU.d.cts → index-BsptKWwz.d.cts} +24 -1
- package/dist/{index-Dyf4ttwU.d.ts → index-BsptKWwz.d.ts} +24 -1
- package/dist/index.cjs +3865 -3856
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3891 -3882
- package/dist/index.js.map +1 -1
- package/dist/nest/index.cjs +10 -1
- package/dist/nest/index.cjs.map +1 -1
- package/dist/nest/index.d.cts +1 -1
- package/dist/nest/index.d.ts +1 -1
- package/dist/nest/index.js +10 -1
- package/dist/nest/index.js.map +1 -1
- package/package.json +1 -1
package/dist/nest/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _nestjs_common from '@nestjs/common';
|
|
2
2
|
import { DynamicModule, OnApplicationBootstrap, OnModuleDestroy, ExecutionContext } from '@nestjs/common';
|
|
3
|
-
import { U as UserConfig } from '../index-
|
|
3
|
+
import { U as UserConfig } from '../index-BsptKWwz.cjs';
|
|
4
4
|
import 'ts-morph';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/nest/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _nestjs_common from '@nestjs/common';
|
|
2
2
|
import { DynamicModule, OnApplicationBootstrap, OnModuleDestroy, ExecutionContext } from '@nestjs/common';
|
|
3
|
-
import { U as UserConfig } from '../index-
|
|
3
|
+
import { U as UserConfig } from '../index-BsptKWwz.js';
|
|
4
4
|
import 'ts-morph';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/nest/index.js
CHANGED
|
@@ -3083,6 +3083,7 @@ function mergeExclusive(target, incoming, {
|
|
|
3083
3083
|
}
|
|
3084
3084
|
function createExtensionContext(config, getRoutes, trackedInputs) {
|
|
3085
3085
|
let project;
|
|
3086
|
+
let tsconfigProject;
|
|
3086
3087
|
return {
|
|
3087
3088
|
cwd: config.codegen.cwd,
|
|
3088
3089
|
outDir: config.codegen.outDir,
|
|
@@ -3107,6 +3108,14 @@ function createExtensionContext(config, getRoutes, trackedInputs) {
|
|
|
3107
3108
|
});
|
|
3108
3109
|
}
|
|
3109
3110
|
return project;
|
|
3111
|
+
},
|
|
3112
|
+
tsconfigProject() {
|
|
3113
|
+
if (!tsconfigProject) {
|
|
3114
|
+
tsconfigProject = createDiscoveryProject(
|
|
3115
|
+
resolveTsconfigPath(config.codegen.cwd, config.app?.tsconfig ?? void 0)
|
|
3116
|
+
);
|
|
3117
|
+
}
|
|
3118
|
+
return tsconfigProject;
|
|
3110
3119
|
}
|
|
3111
3120
|
};
|
|
3112
3121
|
}
|
|
@@ -5001,7 +5010,7 @@ async function watch(config, onChange, options = {}) {
|
|
|
5001
5010
|
}
|
|
5002
5011
|
|
|
5003
5012
|
// src/index.ts
|
|
5004
|
-
var VERSION = "0.
|
|
5013
|
+
var VERSION = "0.22.0";
|
|
5005
5014
|
|
|
5006
5015
|
// src/generate-manifest.ts
|
|
5007
5016
|
var MANIFEST_FILE = ".codegen-manifest.json";
|