@gbl-uzh/platform 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +97 -95
- package/dist/index.js +88 -74
- package/dist/lib/apollo.js +4 -0
- package/dist/lib/util.d.ts +12 -1
- package/dist/lib/util.js +43 -0
- package/dist/nexus.d.ts +1 -1
- package/dist/nexus.js +92 -75
- package/package.json +18 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gbl-uzh/platform",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"license": "LGPL-3.0",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -9,11 +9,9 @@
|
|
|
9
9
|
],
|
|
10
10
|
"scripts": {
|
|
11
11
|
"prebuild": "npm run generate",
|
|
12
|
-
"build": "npm-run-all build:nexus build:
|
|
12
|
+
"build": "npm-run-all build:nexus build:ts",
|
|
13
13
|
"build:nexus": "ts-node --esm --transpile-only src/nexus.ts",
|
|
14
|
-
"build:graphql": "graphql-codegen --config codegen.ts",
|
|
15
14
|
"build:ts": "cross-env NODE_ENV=production tsup",
|
|
16
|
-
"build:copy": "ts-node src/lib/copy.ts",
|
|
17
15
|
"dev": "cross-env NODE_ENV=development tsup --watch",
|
|
18
16
|
"generate": "prisma generate"
|
|
19
17
|
},
|
|
@@ -21,31 +19,22 @@
|
|
|
21
19
|
"node": ">=18"
|
|
22
20
|
},
|
|
23
21
|
"devDependencies": {
|
|
24
|
-
"@graphql-codegen/cli": "2.13.11",
|
|
25
|
-
"@graphql-codegen/fragment-matcher": "3.3.1",
|
|
26
|
-
"@graphql-codegen/introspection": "2.2.1",
|
|
27
|
-
"@graphql-codegen/typed-document-node": "2.3.6",
|
|
28
|
-
"@graphql-codegen/typescript": "2.8.1",
|
|
29
|
-
"@graphql-codegen/typescript-operations": "2.5.6",
|
|
30
|
-
"@graphql-codegen/typescript-resolvers": "2.7.6",
|
|
31
22
|
"@tsconfig/node18": "1.0.1",
|
|
32
|
-
"@tsconfig/recommended": "1.0.
|
|
23
|
+
"@tsconfig/recommended": "1.0.2",
|
|
33
24
|
"@types/jest": "^29.2.2",
|
|
34
25
|
"@types/node": "^18.11.9",
|
|
35
26
|
"cross-env": "7.0.3",
|
|
36
|
-
"fs-extra": "11.1.
|
|
37
|
-
"jest": "29.
|
|
27
|
+
"fs-extra": "11.1.1",
|
|
28
|
+
"jest": "29.5.0",
|
|
38
29
|
"npm-run-all": "4.1.5",
|
|
39
|
-
"
|
|
40
|
-
"rollup-plugin-copy": "3.4.0",
|
|
41
|
-
"ts-jest": "29.0.3",
|
|
30
|
+
"ts-jest": "29.1.0",
|
|
42
31
|
"ts-node": "10.9.1",
|
|
43
|
-
"tsup": "6.
|
|
44
|
-
"typescript": "
|
|
32
|
+
"tsup": "6.7.0",
|
|
33
|
+
"typescript": "5.0.4"
|
|
45
34
|
},
|
|
46
35
|
"peerDependencies": {
|
|
47
36
|
"@apollo/client": "^3.7.0",
|
|
48
|
-
"@prisma/client": "^4.
|
|
37
|
+
"@prisma/client": "^4.11.0",
|
|
49
38
|
"@uzh-bf/design-system": "^1.0.0",
|
|
50
39
|
"graphql": "^16.6.0",
|
|
51
40
|
"graphql-scalars": "^1.19.0",
|
|
@@ -54,14 +43,19 @@
|
|
|
54
43
|
"next": "^13.0.0",
|
|
55
44
|
"nexus": "^1.3.0",
|
|
56
45
|
"nookies": "^2.5.2",
|
|
57
|
-
"
|
|
46
|
+
"prisma": "^4.11.0",
|
|
47
|
+
"ramda": "^0.29.0",
|
|
58
48
|
"react": "^18.0.0",
|
|
59
|
-
"yup": "^1.0.0
|
|
49
|
+
"yup": "^1.0.0"
|
|
50
|
+
},
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"random-js": "2.1.0",
|
|
53
|
+
"winston": "3.9.0"
|
|
60
54
|
},
|
|
61
55
|
"volta": {
|
|
62
56
|
"extends": "../../package.json"
|
|
63
57
|
},
|
|
64
|
-
"
|
|
65
|
-
"
|
|
58
|
+
"prisma": {
|
|
59
|
+
"schema": "public/schema.prisma"
|
|
66
60
|
}
|
|
67
61
|
}
|