Skip to content

Commit

Permalink
introspection fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed Nov 20, 2019
1 parent 607ec33 commit 1f54e96
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cli/introspection/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prisma/introspection",
"version": "0.0.123",
"version": "0.0.124",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion cli/introspection/src/prompt/utils/templates/script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ main()
})`

const getImportStatement = es6 =>
es6 ? `import { Photon } from '@generated/photon'` : `const { Photon } = require('@generated/photon')`
es6 ? `import { Photon } from '@prisma/photon'` : `const { Photon } = require('@prisma/photon')`

export const exampleScript = async ({ typescript, datamodel }: { typescript: boolean; datamodel: string }) => {
const dmmf = await getDMMF({ datamodel })
Expand Down
2 changes: 1 addition & 1 deletion cli/prisma2/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prisma2",
"version": "2.0.0-alpha.337",
"version": "2.0.0-alpha.338",
"main": "build/index.js",
"repository": "git@github.com:prisma/prisma2-cli.git",
"author": "Tim Suchanek <suchanek@prisma.io>",
Expand Down

0 comments on commit 1f54e96

Please sign in to comment.