prisma-nestjs-graphql 17.0.1 → 17.0.2

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.
Files changed (3) hide show
  1. package/README.md +1 -0
  2. package/index.js +8 -0
  3. package/package.json +33 -33
package/README.md CHANGED
@@ -712,6 +712,7 @@ export class User {}
712
712
  - https://github.com/wSedlacek/prisma-generators/tree/master/libs/nestjs
713
713
  - https://github.com/EndyKaufman/typegraphql-prisma-nestjs
714
714
  - https://github.com/MichalLytek/typegraphql-prisma
715
+ - https://github.com/mk668a/nestjs-prisma-graphql-crud-gen
715
716
 
716
717
  ## Resources
717
718
 
package/index.js CHANGED
@@ -2022,6 +2022,14 @@ var endsWithKeywords = [
2022
2022
  "UpsertOne"
2023
2023
  ];
2024
2024
  var middleKeywords = [
2025
+ [
2026
+ "FindFirst",
2027
+ "OrThrowArgs"
2028
+ ],
2029
+ [
2030
+ "FindUnique",
2031
+ "OrThrowArgs"
2032
+ ],
2025
2033
  [
2026
2034
  "Aggregate",
2027
2035
  "Args"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prisma-nestjs-graphql",
3
- "version": "17.0.1",
3
+ "version": "17.0.2",
4
4
  "license": "MIT",
5
5
  "description": "Generate object types, inputs, args, etc. from prisma schema file for usage with @nestjs/graphql module",
6
6
  "main": "index.js",
@@ -62,55 +62,55 @@
62
62
  "outmatch": "^0.7.0",
63
63
  "pluralize": "^8.0.0",
64
64
  "pupa": "2.X",
65
- "ts-morph": ">=11"
65
+ "ts-morph": ">=11 <=16"
66
66
  },
67
67
  "devDependencies": {
68
- "@commitlint/cli": "^17.0.3",
69
- "@commitlint/config-conventional": "^17.0.3",
70
- "@nestjs/apollo": "^10.0.19",
71
- "@nestjs/common": "^9.0.5",
72
- "@nestjs/core": "^9.0.5",
73
- "@nestjs/graphql": "^10.0.21",
74
- "@nestjs/platform-express": "^9.0.5",
75
- "@paljs/plugins": "^4.1.0",
68
+ "@commitlint/cli": "^17.2.0",
69
+ "@commitlint/config-conventional": "^17.2.0",
70
+ "@nestjs/apollo": "^10.1.6",
71
+ "@nestjs/common": "^9.2.0",
72
+ "@nestjs/core": "^9.2.0",
73
+ "@nestjs/graphql": "^10.1.6",
74
+ "@nestjs/platform-express": "^9.2.0",
75
+ "@paljs/plugins": "^5.0.2",
76
76
  "@prisma/client": "^4.1.0",
77
77
  "@semantic-release/changelog": "^6.0.1",
78
78
  "@semantic-release/git": "^10.0.1",
79
- "@swc/core": "^1.2.218",
80
- "@swc/helpers": "^0.4.3",
79
+ "@swc/core": "^1.3.19",
80
+ "@swc/helpers": "^0.4.14",
81
81
  "@swc/register": "^0.1.10",
82
82
  "@types/flat": "^5.0.2",
83
- "@types/lodash": "^4.14.182",
84
- "@types/mocha": "^9.1.1",
85
- "@types/node": "^18.0.6",
83
+ "@types/lodash": "^4.14.189",
84
+ "@types/mocha": "^10.0.0",
85
+ "@types/node": "^18.11.9",
86
86
  "@types/pluralize": "^0.0.29",
87
- "@typescript-eslint/eslint-plugin": "^5.30.7",
88
- "@typescript-eslint/parser": "^5.30.7",
87
+ "@typescript-eslint/eslint-plugin": "^5.43.0",
88
+ "@typescript-eslint/parser": "^5.43.0",
89
89
  "apollo-server-express": "^3.10.0",
90
90
  "c8": "^7.12.0",
91
91
  "class-transformer": "^0.5.1",
92
92
  "class-validator": "^0.13.2",
93
93
  "commitizen": "^4.2.5",
94
- "cz-customizable": "^6.9.1",
95
- "decimal.js": "^10.3.1",
96
- "eslint": "^8.20.0",
94
+ "cz-customizable": "^7.0.0",
95
+ "decimal.js": "^10.4.2",
96
+ "eslint": "^8.28.0",
97
97
  "eslint-import-resolver-node": "^0.3.6",
98
98
  "eslint-plugin-etc": "^2.0.2",
99
99
  "eslint-plugin-import": "^2.26.0",
100
100
  "eslint-plugin-only-warn": "^1.0.3",
101
101
  "eslint-plugin-prettier": "^4.2.1",
102
- "eslint-plugin-regexp": "^1.7.0",
103
- "eslint-plugin-simple-import-sort": "^7.0.0",
104
- "eslint-plugin-sort-class-members": "^1.14.1",
105
- "eslint-plugin-unicorn": "^43.0.2",
102
+ "eslint-plugin-regexp": "^1.10.0",
103
+ "eslint-plugin-simple-import-sort": "^8.0.0",
104
+ "eslint-plugin-sort-class-members": "^1.15.2",
105
+ "eslint-plugin-unicorn": "^44.0.2",
106
106
  "eslint-plugin-wix-editor": "^3.3.0",
107
- "expect": "^29.0.1",
107
+ "expect": "^29.3.1",
108
108
  "ghooks": "^2.0.4",
109
109
  "git-branch-is": "^4.0.0",
110
- "graphql": "^16.5.0",
111
- "graphql-scalars": "^1.17.0",
110
+ "graphql": "^16.6.0",
111
+ "graphql-scalars": "^1.20.1",
112
112
  "graphql-type-json": "^0.3.2",
113
- "mocha": "^10.0.0",
113
+ "mocha": "^10.1.0",
114
114
  "ololog": "^1.1.175",
115
115
  "precise-commits": "^1.0.2",
116
116
  "prettier": "^2.7.1",
@@ -118,13 +118,13 @@
118
118
  "prisma-graphql-type-decimal": "^2.0.4",
119
119
  "reflect-metadata": "^0.1.13",
120
120
  "request": "^2.88.2",
121
- "rxjs": "^7.5.6",
122
- "semantic-release": "^19.0.3",
121
+ "rxjs": "^7.5.7",
122
+ "semantic-release": "^19.0.5",
123
123
  "simplytyped": "^3.3.0",
124
- "temp-dir": "^2.0.0",
124
+ "temp-dir": "2.X",
125
125
  "ts-node": "^10.9.1",
126
- "tslib": "^2.4.0",
127
- "typescript": "^4.7.4",
126
+ "tslib": "^2.4.1",
127
+ "typescript": "^4.9.3",
128
128
  "watchexec-bin": "^1.0.0"
129
129
  }
130
130
  }