nexus-prisma-generate
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -11,2 +11,6 @@ #!/usr/bin/env node | ||
var schemaPath = path_1.join(process.cwd(), './src/generated/prisma.graphql'); | ||
if (!fs_1.existsSync(schemaPath)) { | ||
console.log("Prisma schema wasn't found in " + schemaPath); | ||
process.exit(1); | ||
} | ||
var typeDefs = fs_1.readFileSync(schemaPath).toString(); | ||
@@ -13,0 +17,0 @@ var types = source_helper_1.extractTypes(typeDefs); |
{ | ||
"name": "nexus-prisma-generate", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"typings": "dist/index.d.ts", | ||
@@ -28,6 +28,6 @@ "license": "MIT", | ||
"dependencies": { | ||
"graphql": "^0.12.0 || ^0.13.0 || ^14.0.0" | ||
"graphql": "14.0.2" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^10.12.18", | ||
"@types/node": "10.12.18", | ||
"jest": "23.6.0", | ||
@@ -34,0 +34,0 @@ "prettier": "1.15.3", |
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
26216
388
+ Addedgraphql@14.0.2(transitive)
- Removedgraphql@14.7.0(transitive)
Updatedgraphql@14.0.2