Skip to content

Commit 519a20c

Browse files
committed
Merge branch 'beta'
2 parents b95ed70 + 93a2e92 commit 519a20c

34 files changed

Lines changed: 10588 additions & 6649 deletions

.github/workflows/release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
pull_request:
99
branches:
1010
- main
11+
- beta
1112

1213
jobs:
1314
build:

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
"private": true,
44
"devDependencies": {
55
"@babel/core": "^7.15.8",
6+
"@morgothulhu/nexus-plugin-prisma": "^5.5.2",
67
"@babel/plugin-proposal-decorators": "^7.15.8",
78
"@babel/preset-env": "^7.15.8",
89
"@babel/preset-typescript": "^7.15.0",
9-
"@prisma/client": "^3.15.2",
10+
"@prisma/client": "^5.5.2",
1011
"@types/jest": "^27.0.2",
1112
"@types/lodash": "^4.14.171",
1213
"@types/node": "^13.13.4",
@@ -31,7 +32,6 @@
3132
"lint-staged": ">=10",
3233
"lodash": "^4.17.15",
3334
"nexus": "^1.0.0",
34-
"nexus-plugin-prisma": "^0.35.0",
3535
"path": "^0.12.7",
3636
"plain-tag": "^0.1.3",
3737
"pluralize": "~7.0.0",
@@ -45,7 +45,7 @@
4545
"semantic-release-monorepo": "^7.0.2",
4646
"ts-jest": "^27.0.5",
4747
"ts-node": "^8.9.1",
48-
"typescript": "^4.4.3"
48+
"typescript": "^5.2.2"
4949
},
5050
"scripts": {
5151
"clean": "lerna run clean --stream --parallel",

packages/backend/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@
2929
"pluralize": "^7.0.0"
3030
},
3131
"peerDependencies": {
32-
"nexus": ">=1.0.0"
32+
"nexus": ">=1.0.0",
33+
"@morgothulhu/nexus-plugin-prisma": "*"
3334
},
3435
"devDependencies": {
3536
"rimraf": "^3.0.2",
36-
"typescript": "^4.4.3"
37+
"typescript": "^5.2.2"
3738
}
3839
}

packages/backend/src/addCrudResolvers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ResourceOptions, CommonOptions } from "./types";
22
import setupCrudResolvers from "./setupCrudResolvers";
33
import { extendType, arg, intArg } from "nexus";
4-
import * as Helpers from "nexus-plugin-prisma/src/typegen/helpers";
4+
import * as Helpers from "@morgothulhu/nexus-plugin-prisma/src/typegen/helpers";
55

66
const addCrudResolvers = <
77
AliasPrefix extends string,

packages/backend/src/setupCrudResolvers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { upperFirst, lowerFirst } from "lodash";
2-
import * as Helpers from "nexus-plugin-prisma/src/typegen/helpers";
2+
import * as Helpers from "@morgothulhu/nexus-plugin-prisma/src/typegen/helpers";
33

44
import pluralize from "pluralize";
55
import { ResourceOptions, CommonOptions } from "./types";

packages/backend/src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import * as Helpers from "nexus-plugin-prisma/src/typegen/helpers";
2-
import { BaseRelationOptions } from "nexus-plugin-prisma/typegen";
1+
import * as Helpers from "@morgothulhu/nexus-plugin-prisma/src/typegen/helpers";
2+
import { BaseRelationOptions } from "@morgothulhu/nexus-plugin-prisma/typegen";
33

44
type Prefix<What extends string, Prefix extends string> = Prefix extends ``
55
? Uncapitalize<What>

packages/backend/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ rimraf@^3.0.2:
8686
dependencies:
8787
glob "^7.1.3"
8888

89-
typescript@^4.4.3:
90-
version "4.4.3"
91-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.3.tgz#bdc5407caa2b109efd4f82fe130656f977a29324"
92-
integrity sha512-4xfscpisVgqqDfPaJo5vkd+Qd/ItkoagnHpufr+i2QCHBsNYp+G7UAoyFl8aPtx879u38wPV65rZ8qbGZijalA==
89+
typescript@^5.2.2:
90+
version "5.2.2"
91+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78"
92+
integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==
9393

9494
wrappy@1:
9595
version "1.0.2"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './index'

packages/dataprovider/.prisma/edge.js

Lines changed: 276 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)