Skip to content
This repository was archived by the owner on Sep 2, 2022. It is now read-only.

Commit 13af78e

Browse files
committed
Merge branch 'beta'
2 parents 284090e + c25c819 commit 13af78e

255 files changed

Lines changed: 10245 additions & 3138 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
[submodule "prisma-query"]
2-
path = server/prisma-rs/libs/prisma-query
3-
url = https://github.com/prisma/prisma-query.git
41
[submodule "server/.buildkite/build-cli"]
52
path = server/.buildkite/build-cli
63
url = https://github.com/prisma/build-cli.git

cli/packages/prisma-cli-core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"devDependencies": {
1212
"@types/aws-lambda": "^0.0.17",
1313
"@types/fs-extra": "^5.0.0",
14-
"@types/graphql": "14.0.3",
14+
"@types/graphql": "14.2.0",
1515
"@types/node": "^8.0.22",
1616
"@types/semver": "^5.5.0",
1717
"faker": "^4.1.0",
@@ -89,7 +89,7 @@
8989
"figures": "^2.0.0",
9090
"fs-extra": "^7.0.0",
9191
"globby": "^8.0.1",
92-
"graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0",
92+
"graphql": "^14.3.0",
9393
"graphql-config": "2.2.1",
9494
"graphql-config-extension-prisma": "0.2.5",
9595
"graphql-playground-middleware-express": "^1.6.2",

cli/packages/prisma-cli-engine/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,11 @@
7878
"chalk": "^2.3.0",
7979
"charm": "^1.0.2",
8080
"debug": "^3.1.0",
81-
"graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0",
8281
"directory-tree": "2.2.1",
8382
"figures": "^2.0.0",
8483
"find-up": "^3.0.0",
8584
"fs-extra": "^7.0.0",
86-
"graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0",
85+
"graphql": "^14.3.0",
8786
"graphql-request": "^1.5.0",
8887
"inquirer": "^6.2.0",
8988
"isomorphic-fetch": "^2.2.1",

cli/packages/prisma-cli-engine/src/StatusChecker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export function getFid() {
178178
return fidCache
179179
}
180180
const mac = getMac()
181-
const fidSecret = 'yeiB6sooy6eedahgooj0shiez'
181+
const fidSecret = 'AhTheeR7Pee0haebui1viemoe'
182182
const fid = mac
183183
? crypto
184184
.createHmac('sha256', fidSecret)

cli/packages/prisma-client-lib/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
"zen-observable": "^0.8.10"
3939
},
4040
"devDependencies": {
41-
"@types/graphql": "14.0.3",
41+
"@types/graphql": "14.2.0",
4242
"@types/prettier": "1.16.1",
4343
"ava": "^0.25.0",
44-
"graphql": "^14.0.2",
44+
"graphql": "^14.3.0",
4545
"semantic-release": "^15.10.4",
4646
"tslint": "5.11.0",
4747
"tslint-config-standard": "8.0.1",

cli/packages/prisma-client-lib/src/utils/index.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ import {
1313
GraphQLResolveInfo,
1414
GraphQLOutputType,
1515
print,
16+
Kind,
17+
ASTNode,
1618
} from 'graphql'
1719

1820
import { Operation } from '../types'
@@ -77,13 +79,13 @@ export function printDocumentFromInfo(info: GraphQLResolveInfo) {
7779
const fragments = Object.keys(info.fragments).map(
7880
fragment => info.fragments[fragment],
7981
)
80-
const doc = {
81-
kind: 'Document',
82+
const doc: ASTNode = {
83+
kind: Kind.DOCUMENT,
8284
definitions: [
8385
{
84-
kind: 'OperationDefinition',
86+
kind: Kind.OPERATION_DEFINITION,
8587
operation: 'query',
86-
selectionSet: info.fieldNodes[0].selectionSet,
88+
selectionSet: info.fieldNodes[0].selectionSet!,
8789
},
8890
...fragments,
8991
],

cli/packages/prisma-datamodel/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"typescript": "^3.2.2"
2424
},
2525
"dependencies": {
26-
"graphql": "^14.0.2",
26+
"graphql": "^14.3.0",
2727
"pluralize": "^7.0.0",
2828
"popsicle": "10"
2929
},

cli/packages/prisma-generate-schema/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"typescript": "^3.2.2"
2525
},
2626
"dependencies": {
27-
"graphql": "^14.0.2",
27+
"graphql": "^14.3.0",
2828
"pluralize": "^7.0.0",
2929
"popsicle": "10",
3030
"prisma-datamodel": "1.23.0-alpha.1"

cli/scripts/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
set -e
3+
set -ex
44

55
cd cli/packages/prisma-datamodel
66
yarn

cli/scripts/test_ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
set -e
3+
set -ex
44

55
#
66
# Detect change

0 commit comments

Comments
 (0)