@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.
@@ -3106,6 +3106,7 @@ function mergeExclusive(target, incoming, {
3106
3106
  }
3107
3107
  function createExtensionContext(config, getRoutes, trackedInputs) {
3108
3108
  let project;
3109
+ let tsconfigProject;
3109
3110
  return {
3110
3111
  cwd: config.codegen.cwd,
3111
3112
  outDir: config.codegen.outDir,
@@ -3130,6 +3131,14 @@ function createExtensionContext(config, getRoutes, trackedInputs) {
3130
3131
  });
3131
3132
  }
3132
3133
  return project;
3134
+ },
3135
+ tsconfigProject() {
3136
+ if (!tsconfigProject) {
3137
+ tsconfigProject = createDiscoveryProject(
3138
+ resolveTsconfigPath(config.codegen.cwd, config.app?.tsconfig ?? void 0)
3139
+ );
3140
+ }
3141
+ return tsconfigProject;
3133
3142
  }
3134
3143
  };
3135
3144
  }
@@ -5024,7 +5033,7 @@ async function watch(config, onChange, options = {}) {
5024
5033
  }
5025
5034
 
5026
5035
  // src/index.ts
5027
- var VERSION = "0.21.1";
5036
+ var VERSION = "0.22.0";
5028
5037
 
5029
5038
  // src/generate-manifest.ts
5030
5039
  var MANIFEST_FILE = ".codegen-manifest.json";