prisma-nestjs-graphql 18.0.2 → 18.1.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.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2022
3
+ Copyright (c) 2023
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -701,6 +701,12 @@ model User {
701
701
  export class User {}
702
702
  ```
703
703
 
704
+ ### Using lirary in other generators
705
+
706
+ ```ts
707
+ import { generate } from 'prisma-nestjs-graphql/generate';
708
+ ```
709
+
704
710
  ## Similar Projects
705
711
 
706
712
  - https://github.com/jasonraimondi/prisma-generator-nestjs-graphql
package/bin.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- require('./index.js');
2
+ require('./index.cjs');