@tsed/prisma 8.2.0 → 8.3.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/lib/esm/generator.js +2 -2
- package/lib/esm/generator.js.map +1 -1
- package/lib/types/generator.d.ts +1 -1
- package/package.json +16 -16
- package/readme.md +0 -2
- package/scripts/backup-index.d.mts +1 -1
- package/src/generator.ts +2 -2
package/lib/esm/generator.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
2
|
-
import
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import helpers from "@prisma/generator-helper";
|
|
3
3
|
import { join } from "path";
|
|
4
4
|
import { generate } from "./cli/prismaGenerator.js";
|
|
5
5
|
const rootDir = import.meta.dirname; // automatically replaced by tsed tools on build
|
package/lib/esm/generator.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../src/generator.ts"],"names":[],"mappings":";AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../src/generator.ts"],"names":[],"mappings":";AACA,OAAO,OAAO,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAC,IAAI,EAAC,MAAM,MAAM,CAAC;AAE1B,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,gDAAgD;AACrF,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;AAC5D,MAAM,CAAC,MAAM,UAAU,GAAG,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;AAEpD,OAAO,CAAC,gBAAgB,CAAC;IACvB,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC;QACjB,aAAa;QACb,UAAU,EAAE,mBAAmB;QAC/B,kBAAkB,EAAE,CAAC,kBAAkB,CAAC;KACzC,CAAC;IACF,UAAU,EAAE,QAAQ,CAAC,EAAC,aAAa,EAAE,UAAU,EAAC,CAAC;CAClD,CAAC,CAAC"}
|
package/lib/types/generator.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@tsed/prisma",
|
|
3
3
|
"description": "Generate Ts.ED JsonSchema based on Prisma models",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "8.
|
|
5
|
+
"version": "8.3.1",
|
|
6
6
|
"source": "./src/index.ts",
|
|
7
7
|
"main": "./lib/esm/index.js",
|
|
8
8
|
"module": "./lib/esm/index.js",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"test:ci": "vitest run --coverage.thresholds.autoUpdate=true"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@prisma/generator-helper": "^
|
|
34
|
-
"@prisma/internals": "^
|
|
33
|
+
"@prisma/generator-helper": "^6.0.1",
|
|
34
|
+
"@prisma/internals": "^6.0.1",
|
|
35
35
|
"change-case": "^5.4.4",
|
|
36
36
|
"fs-extra": "^11.2.0",
|
|
37
37
|
"pluralize": "^8.0.0",
|
|
@@ -39,27 +39,27 @@
|
|
|
39
39
|
"tslib": "2.7.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@prisma/client": "^
|
|
43
|
-
"@tsed/barrels": "8.
|
|
44
|
-
"@tsed/core": "8.
|
|
45
|
-
"@tsed/di": "8.
|
|
46
|
-
"@tsed/json-mapper": "8.
|
|
42
|
+
"@prisma/client": "^6.0.1",
|
|
43
|
+
"@tsed/barrels": "8.3.1",
|
|
44
|
+
"@tsed/core": "8.3.1",
|
|
45
|
+
"@tsed/di": "8.3.1",
|
|
46
|
+
"@tsed/json-mapper": "8.3.1",
|
|
47
47
|
"@tsed/monorepo-utils": "2.3.9",
|
|
48
|
-
"@tsed/schema": "8.
|
|
49
|
-
"@tsed/typescript": "8.
|
|
48
|
+
"@tsed/schema": "8.3.1",
|
|
49
|
+
"@tsed/typescript": "8.3.1",
|
|
50
50
|
"@types/change-case": "^2.3.1",
|
|
51
51
|
"@types/pluralize": "0.0.33",
|
|
52
52
|
"eslint": "9.12.0",
|
|
53
|
-
"prisma": "^
|
|
53
|
+
"prisma": "^6.0.1",
|
|
54
54
|
"typescript": "5.4.5",
|
|
55
55
|
"vitest": "2.1.2"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@prisma/client": ">=
|
|
59
|
-
"@tsed/core": "8.
|
|
60
|
-
"@tsed/di": "8.
|
|
61
|
-
"@tsed/json-mapper": "8.
|
|
62
|
-
"@tsed/schema": "8.
|
|
58
|
+
"@prisma/client": ">=6.0.0",
|
|
59
|
+
"@tsed/core": "8.3.1",
|
|
60
|
+
"@tsed/di": "8.3.1",
|
|
61
|
+
"@tsed/json-mapper": "8.3.1",
|
|
62
|
+
"@tsed/schema": "8.3.1"
|
|
63
63
|
},
|
|
64
64
|
"keywords": [
|
|
65
65
|
"TypeScript",
|
package/readme.md
CHANGED
|
@@ -32,8 +32,6 @@ See our [documentation](https://tsed.dev/tutorials/prisma.html) for more informa
|
|
|
32
32
|
|
|
33
33
|
## Contributors
|
|
34
34
|
|
|
35
|
-
Please read [contributing guidelines here](https://tsed.dev/contributing.html)
|
|
36
|
-
|
|
37
35
|
<a href="https://github.com/tsedio/tsed/graphs/contributors"><img src="https://opencollective.com/tsed/contributors.svg?width=890" /></a>
|
|
38
36
|
|
|
39
37
|
## Backers
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../.schema";
|
|
1
|
+
export * from "../.schema/index.js";
|
package/src/generator.ts
CHANGED