telescope-prisma-client 0.0.14 → 0.0.15

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 +2 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -3,3 +3,5 @@ This package is used to manage the postgres database and publish a package that
3
3
  Use npm link to have updated generated types within your project.
4
4
 
5
5
  `npm login` and `npm publish` to publish to npm
6
+
7
+ `"prepare": "npx prisma generate && tsc && cp src/index.d.ts dist/index.d.ts",`
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "telescope-prisma-client",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "scripts": {
8
- "prepare": "npx prisma generate && tsc && cp src/index.d.ts dist/index.d.ts",
8
+ "postinstall": "tsc && cp src/index.d.ts dist/index.d.ts && npx prisma generate",
9
9
  "generate": "dotenv -- prisma generate",
10
10
  "migrate:dev": "dotenv -- prisma migrate dev"
11
11
  },