prisma-nestjs-graphql 22.0.0 → 22.0.1

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 (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -11,7 +11,7 @@ Generate object types, inputs, args, etc. from prisma schema file for usage with
11
11
  ## Install
12
12
 
13
13
  ```
14
- npm install --save-dev prisma-nestjs-graphql
14
+ npm install --save-dev prisma-nestjs-graphql @prisma/generator-helper identity-type
15
15
  ```
16
16
 
17
17
  ## Usage
@@ -20,9 +20,9 @@ npm install --save-dev prisma-nestjs-graphql
20
20
 
21
21
  ```prisma
22
22
  generator nestgraphql {
23
- provider = "node node_modules/prisma-nestjs-graphql"
24
- // for yarn monorepos
25
- // provider = "prisma-nestjs-graphql"
23
+ provider = "prisma-nestjs-graphql"
24
+ // Or explicit node execution
25
+ provider = "node node_modules/prisma-nestjs-graphql/bin.mjs"
26
26
  output = "../src/@generated"
27
27
  }
28
28
  ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prisma-nestjs-graphql",
3
3
  "type": "module",
4
- "version": "22.0.0",
4
+ "version": "22.0.1",
5
5
  "license": "MIT",
6
6
  "description": "Generate object types, inputs, args, etc. from prisma schema file for usage with @nestjs/graphql module",
7
7
  "bin": "bin.mjs",