prisma-mock 1.0.0 → 1.0.1-alpha.5
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/README.md +1 -4
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -214,6 +214,7 @@ const client = createPrismaMock(Prisma, {
|
|
|
214
214
|
- `upsert`
|
|
215
215
|
- `count`
|
|
216
216
|
- `aggregate`
|
|
217
|
+
- `groupBy`
|
|
217
218
|
|
|
218
219
|
### Model Query Options ✅
|
|
219
220
|
|
|
@@ -305,8 +306,6 @@ The following features are planned but not yet implemented:
|
|
|
305
306
|
|
|
306
307
|
### Model Queries
|
|
307
308
|
|
|
308
|
-
- `groupBy`
|
|
309
|
-
|
|
310
309
|
### Nested Queries
|
|
311
310
|
|
|
312
311
|
- `connectOrCreate`
|
|
@@ -335,7 +334,6 @@ The following features are planned but not yet implemented:
|
|
|
335
334
|
### Attributes
|
|
336
335
|
|
|
337
336
|
- `auto()`
|
|
338
|
-
- `dbgenerated()`
|
|
339
337
|
|
|
340
338
|
### Referential Actions
|
|
341
339
|
|
|
@@ -346,7 +344,6 @@ The following features are planned but not yet implemented:
|
|
|
346
344
|
|
|
347
345
|
### Prisma Client Methods
|
|
348
346
|
|
|
349
|
-
- `$transaction` (Isolation levels)
|
|
350
347
|
- `$use` (Middleware)
|
|
351
348
|
|
|
352
349
|
## Performance Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prisma-mock",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1-alpha.5",
|
|
4
4
|
"description": "Mock prisma for unit testing database",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -55,10 +55,13 @@
|
|
|
55
55
|
"changeset:validate:ci": "changeset status --since=origin/main --verbose"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@prisma/client": "^3.5.0 || ^4.7.0 || ^5.0.0 || ^6.0.0"
|
|
58
|
+
"@prisma/client": "^3.5.0 || ^4.7.0 || ^5.0.0 || ^6.0.0 || ^7.0.0"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@prisma/generator-helper": "^6.19.0",
|
|
62
62
|
"jest-mock-extended": "^3.0.6"
|
|
63
|
+
},
|
|
64
|
+
"publishConfig": {
|
|
65
|
+
"provenance": true
|
|
63
66
|
}
|
|
64
67
|
}
|