@a_team/prisma 1.0.5 → 1.0.6
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/.nvmrc +1 -0
- package/README.md +14 -0
- package/package-lock.json +100 -0
- package/package.json +2 -4
package/.nvmrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
v20.15.1
|
package/README.md
CHANGED
|
@@ -13,6 +13,16 @@ To install this package, use the following command:
|
|
|
13
13
|
yarn add @a_team/prisma
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
To use the shared Prisma client:
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { PrismaClient } from "@prisma/client";
|
|
22
|
+
|
|
23
|
+
const prisma = new PrismaClient();
|
|
24
|
+
```
|
|
25
|
+
|
|
16
26
|
## Publishing
|
|
17
27
|
|
|
18
28
|
To publish updates to this package, use the following command:
|
|
@@ -24,3 +34,7 @@ yarn publish
|
|
|
24
34
|
## Additional Information
|
|
25
35
|
|
|
26
36
|
The package is available on npm at: [@a_team/prisma](https://www.npmjs.com/package/@a_team/prisma).
|
|
37
|
+
|
|
38
|
+
### Reference
|
|
39
|
+
|
|
40
|
+
[Sharing Prisma Between Multiple Applications](https://medium.com/@nolawnchairs/sharing-prisma-between-multiple-applications-5c7a7d131519)
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@a_team/prisma",
|
|
3
|
+
"version": "1.0.5",
|
|
4
|
+
"lockfileVersion": 3,
|
|
5
|
+
"requires": true,
|
|
6
|
+
"packages": {
|
|
7
|
+
"": {
|
|
8
|
+
"name": "@a_team/prisma",
|
|
9
|
+
"version": "1.0.5",
|
|
10
|
+
"hasInstallScript": true,
|
|
11
|
+
"license": "ISC",
|
|
12
|
+
"devDependencies": {
|
|
13
|
+
"@prisma/client": "^5.17.0",
|
|
14
|
+
"prisma": "^5.17.0"
|
|
15
|
+
},
|
|
16
|
+
"peerDependencies": {
|
|
17
|
+
"@prisma/client": ">=5"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"node_modules/@prisma/client": {
|
|
21
|
+
"version": "5.17.0",
|
|
22
|
+
"resolved": "https://registry.npmjs.org/@prisma/client/-/client-5.17.0.tgz",
|
|
23
|
+
"integrity": "sha512-N2tnyKayT0Zf7mHjwEyE8iG7FwTmXDHFZ1GnNhQp0pJUObsuel4ZZ1XwfuAYkq5mRIiC/Kot0kt0tGCfLJ70Jw==",
|
|
24
|
+
"dev": true,
|
|
25
|
+
"hasInstallScript": true,
|
|
26
|
+
"engines": {
|
|
27
|
+
"node": ">=16.13"
|
|
28
|
+
},
|
|
29
|
+
"peerDependencies": {
|
|
30
|
+
"prisma": "*"
|
|
31
|
+
},
|
|
32
|
+
"peerDependenciesMeta": {
|
|
33
|
+
"prisma": {
|
|
34
|
+
"optional": true
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"node_modules/@prisma/debug": {
|
|
39
|
+
"version": "5.17.0",
|
|
40
|
+
"resolved": "https://registry.npmjs.org/@prisma/debug/-/debug-5.17.0.tgz",
|
|
41
|
+
"integrity": "sha512-l7+AteR3P8FXiYyo496zkuoiJ5r9jLQEdUuxIxNCN1ud8rdbH3GTxm+f+dCyaSv9l9WY+29L9czaVRXz9mULfg==",
|
|
42
|
+
"dev": true
|
|
43
|
+
},
|
|
44
|
+
"node_modules/@prisma/engines": {
|
|
45
|
+
"version": "5.17.0",
|
|
46
|
+
"resolved": "https://registry.npmjs.org/@prisma/engines/-/engines-5.17.0.tgz",
|
|
47
|
+
"integrity": "sha512-+r+Nf+JP210Jur+/X8SIPLtz+uW9YA4QO5IXA+KcSOBe/shT47bCcRMTYCbOESw3FFYFTwe7vU6KTWHKPiwvtg==",
|
|
48
|
+
"dev": true,
|
|
49
|
+
"hasInstallScript": true,
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@prisma/debug": "5.17.0",
|
|
52
|
+
"@prisma/engines-version": "5.17.0-31.393aa359c9ad4a4bb28630fb5613f9c281cde053",
|
|
53
|
+
"@prisma/fetch-engine": "5.17.0",
|
|
54
|
+
"@prisma/get-platform": "5.17.0"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"node_modules/@prisma/engines-version": {
|
|
58
|
+
"version": "5.17.0-31.393aa359c9ad4a4bb28630fb5613f9c281cde053",
|
|
59
|
+
"resolved": "https://registry.npmjs.org/@prisma/engines-version/-/engines-version-5.17.0-31.393aa359c9ad4a4bb28630fb5613f9c281cde053.tgz",
|
|
60
|
+
"integrity": "sha512-tUuxZZysZDcrk5oaNOdrBnnkoTtmNQPkzINFDjz7eG6vcs9AVDmA/F6K5Plsb2aQc/l5M2EnFqn3htng9FA4hg==",
|
|
61
|
+
"dev": true
|
|
62
|
+
},
|
|
63
|
+
"node_modules/@prisma/fetch-engine": {
|
|
64
|
+
"version": "5.17.0",
|
|
65
|
+
"resolved": "https://registry.npmjs.org/@prisma/fetch-engine/-/fetch-engine-5.17.0.tgz",
|
|
66
|
+
"integrity": "sha512-ESxiOaHuC488ilLPnrv/tM2KrPhQB5TRris/IeIV4ZvUuKeaicCl4Xj/JCQeG9IlxqOgf1cCg5h5vAzlewN91Q==",
|
|
67
|
+
"dev": true,
|
|
68
|
+
"dependencies": {
|
|
69
|
+
"@prisma/debug": "5.17.0",
|
|
70
|
+
"@prisma/engines-version": "5.17.0-31.393aa359c9ad4a4bb28630fb5613f9c281cde053",
|
|
71
|
+
"@prisma/get-platform": "5.17.0"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"node_modules/@prisma/get-platform": {
|
|
75
|
+
"version": "5.17.0",
|
|
76
|
+
"resolved": "https://registry.npmjs.org/@prisma/get-platform/-/get-platform-5.17.0.tgz",
|
|
77
|
+
"integrity": "sha512-UlDgbRozCP1rfJ5Tlkf3Cnftb6srGrEQ4Nm3og+1Se2gWmCZ0hmPIi+tQikGDUVLlvOWx3Gyi9LzgRP+HTXV9w==",
|
|
78
|
+
"dev": true,
|
|
79
|
+
"dependencies": {
|
|
80
|
+
"@prisma/debug": "5.17.0"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"node_modules/prisma": {
|
|
84
|
+
"version": "5.17.0",
|
|
85
|
+
"resolved": "https://registry.npmjs.org/prisma/-/prisma-5.17.0.tgz",
|
|
86
|
+
"integrity": "sha512-m4UWkN5lBE6yevqeOxEvmepnL5cNPEjzMw2IqDB59AcEV6w7D8vGljDLd1gPFH+W6gUxw9x7/RmN5dCS/WTPxA==",
|
|
87
|
+
"dev": true,
|
|
88
|
+
"hasInstallScript": true,
|
|
89
|
+
"dependencies": {
|
|
90
|
+
"@prisma/engines": "5.17.0"
|
|
91
|
+
},
|
|
92
|
+
"bin": {
|
|
93
|
+
"prisma": "build/index.js"
|
|
94
|
+
},
|
|
95
|
+
"engines": {
|
|
96
|
+
"node": ">=16.13"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|