mongoose-tsgen
Advanced tools
Comparing version 9.4.1 to 9.4.2
@@ -309,2 +309,3 @@ "use strict"; | ||
project: foundPath, | ||
experimentalResolver: true, | ||
compilerOptions: { | ||
@@ -347,3 +348,3 @@ module: "commonjs" | ||
tsConfig.compilerOptions.paths = Object.assign(Object.assign({}, extendedConfig.compilerOptions.paths), tsConfig.compilerOptions.paths); | ||
// We only want to set the base URL if its not already set, since the child tsconfig should always overwrite extended tsconfigs. | ||
// We only want to set the base URL if its not already set, since the child tsconfig should always overwrite extended tsconfigs. | ||
// So the first child we find with a base URL be the final base URL | ||
@@ -350,0 +351,0 @@ if (extendedConfig.compilerOptions.baseUrl && !tsConfig.compilerOptions.baseUrl) { |
@@ -149,2 +149,5 @@ "use strict"; | ||
try { | ||
if (process.env.DEBUG) { | ||
console.log("parser: Attempting to import model from path: " + singleModelPath); | ||
} | ||
exportedData = require(singleModelPath); | ||
@@ -151,0 +154,0 @@ } |
{ | ||
"name": "mongoose-tsgen", | ||
"description": "A Typescript interface generator for Mongoose that works out of the box.", | ||
"version": "9.4.1", | ||
"version": "9.4.2", | ||
"author": "Francesco Virga @francescov1", | ||
@@ -24,3 +24,3 @@ "bin": { | ||
"ts-morph": "^19.0.0", | ||
"ts-node": "^9.1.1", | ||
"ts-node": "^10.9.2", | ||
"tsconfig-paths": "^3.9.0", | ||
@@ -27,0 +27,0 @@ "tslib": "^1.13.0" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
117070
1955
15
- Removedbuffer-from@1.1.2(transitive)
- Removedsource-map@0.6.1(transitive)
- Removedsource-map-support@0.5.21(transitive)
- Removedts-node@9.1.1(transitive)
Updatedts-node@^10.9.2