nexus-prisma
Advanced tools
Comparing version 0.0.1-beta.1 to 0.0.1-beta.2
@@ -34,4 +34,4 @@ "use strict"; | ||
} | ||
const generate = ({ generator, cwd, otherGenerators }) => __awaiter(this, void 0, void 0, function* () { | ||
const photonGenerator = otherGenerators.find(generator => ['photon', 'photonjs'].includes(generator.name)); | ||
const generate = ({ generator, otherGenerators }) => __awaiter(this, void 0, void 0, function* () { | ||
const photonGenerator = otherGenerators.find(generator => generator.provider === 'photonjs'); | ||
if (!photonGenerator) { | ||
@@ -80,6 +80,8 @@ throw new Error('Nexus prisma needs a photon generator to be defined in the datamodel'); | ||
config: {}, | ||
name: 'Nexus Prisma' | ||
name: 'nexus_prisma', | ||
provider: 'nexus-prisma' | ||
}, | ||
otherGenerators: [ | ||
{ | ||
provider: 'photonjs', | ||
name: 'photon', | ||
@@ -86,0 +88,0 @@ config: {}, |
{ | ||
"name": "nexus-prisma", | ||
"version": "0.0.1-beta.1", | ||
"version": "0.0.1-beta.2", | ||
"main": "dist/index.js", | ||
@@ -25,3 +25,3 @@ "types": "dist/index.d.ts", | ||
"devDependencies": { | ||
"@prisma/cli": "^0.0.16", | ||
"@prisma/cli": "^0.0.17", | ||
"@types/node": "^12.0.8", | ||
@@ -28,0 +28,0 @@ "@zeit/ncc": "^0.19.1", |
@@ -1,2 +0,2 @@ | ||
# Photogen | ||
# nexus-prisma | ||
@@ -3,0 +3,0 @@ ## Getting started |
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
116448
2237