nexus-prisma-generate
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -48,4 +48,10 @@ #!/usr/bin/env node | ||
} | ||
// Create the output directories if needed (mkdir -p) | ||
fs_1.mkdirSync(resolvedOutput, { recursive: true }); | ||
try { | ||
// Create the output directories if needed (mkdir -p) | ||
fs_1.mkdirSync(resolvedOutput, { recursive: true }); | ||
} | ||
catch (e) { | ||
if (e.code !== 'EEXIST') | ||
throw e; | ||
} | ||
var _b = config_1.findDatamodelAndComputeSchema(), datamodel = _b.datamodel, databaseType = _b.databaseType; | ||
@@ -52,0 +58,0 @@ try { |
{ | ||
"name": "nexus-prisma-generate", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"typings": "dist/index.d.ts", | ||
@@ -42,3 +42,3 @@ "license": "MIT", | ||
"ts-jest": "23.10.5", | ||
"typescript": "3.2.4" | ||
"typescript": "3.3.1" | ||
}, | ||
@@ -45,0 +45,0 @@ "prettier": { |
Sorry, the diff of this file is not supported yet
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
30536
377