Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed Nov 21, 2019
1 parent 2c4961b commit a02456c
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 37 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.125",
"version": "0.0.127",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "Apache-2.0",
Expand Down
22 changes: 0 additions & 22 deletions cli/introspection/pnpm-debug.log

This file was deleted.

8 changes: 4 additions & 4 deletions 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.339",
"version": "2.0.0-alpha.342",
"main": "build/index.js",
"repository": "git@github.com:prisma/prisma2-cli.git",
"author": "Tim Suchanek <suchanek@prisma.io>",
Expand All @@ -26,9 +26,9 @@
"@prisma/lift": "workspace:*",
"@prisma/photon": "workspace:*",
"@prisma/sdk": "workspace:*",
"@prisma/studio": "0.150.0",
"@prisma/studio-server": "0.150.0",
"@prisma/studio-transports": "0.150.0",
"@prisma/studio": "0.151.0",
"@prisma/studio-server": "0.151.0",
"@prisma/studio-transports": "0.151.0",
"@sentry/node": "^5.9.0",
"@types/debug": "^4.1.5",
"@types/mocha": "^5.2.7",
Expand Down
3 changes: 0 additions & 3 deletions cli/prisma2/src/__tests__/integrate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,6 @@ async function generate(isdl: ISDL) {
const generator = await getGenerator({
schemaPath,
printDownloadProgress: false,
providerAliases: {
photonjs: photonjsPath,
},
baseDir: tmp,
})

Expand Down
2 changes: 1 addition & 1 deletion cli/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prisma/sdk",
"version": "0.0.52",
"version": "0.0.53",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "git@github.com:prisma/prisma2.git",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ exports[`getConfig with generator and datasource 1`] = `
Object {
"datasources": Array [
Object {
"config": Object {},
"connectorType": "sqlite",
"name": "db",
"url": Object {
Expand Down Expand Up @@ -518,7 +517,7 @@ Object {
"name": "findManyA",
"outputType": Object {
"isList": true,
"isRequired": false,
"isRequired": true,
"kind": "object",
"type": "A",
},
Expand Down
2 changes: 1 addition & 1 deletion cli/sdk/src/__tests__/engineCommands.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ describe('getDMMF', () => {
)
const dmmf = await getDMMF({ datamodel: file })
const str = JSON.stringify(dmmf)
expect(str.length).toMatchInlineSnapshot(`44517572`)
expect(str.length).toMatchInlineSnapshot(`44512528`)
})
})

Expand Down
4 changes: 1 addition & 3 deletions cli/sdk/src/engineCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ export async function getDMMF({
} catch (e) {
// If this unlikely event happens, try it at least once more
if (e.message.includes('Command failed with exit code 26 (ETXTBSY)')) {
await new Promise(resolve => {
process.nextTick(resolve)
})
await new Promise(resolve => setTimeout(resolve, 100))
return getDMMF({
datamodel,
cwd,
Expand Down

0 comments on commit a02456c

Please sign in to comment.