@tsed/prisma 8.2.0 → 8.3.0

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.
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ts-node
2
- import * as helpers from "@prisma/generator-helper";
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
@@ -1 +1 @@
1
- {"version":3,"file":"generator.js","sourceRoot":"","sources":["../../src/generator.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,OAAO,MAAM,0BAA0B,CAAC;AACpD,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"}
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/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.2.0",
5
+ "version": "8.3.0",
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": "^5.20.0",
34
- "@prisma/internals": "^5.20.0",
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": "^5.20.0",
43
- "@tsed/barrels": "8.2.0",
44
- "@tsed/core": "8.2.0",
45
- "@tsed/di": "8.2.0",
46
- "@tsed/json-mapper": "8.2.0",
42
+ "@prisma/client": "^6.0.1",
43
+ "@tsed/barrels": "8.3.0",
44
+ "@tsed/core": "8.3.0",
45
+ "@tsed/di": "8.3.0",
46
+ "@tsed/json-mapper": "8.3.0",
47
47
  "@tsed/monorepo-utils": "2.3.9",
48
- "@tsed/schema": "8.2.0",
49
- "@tsed/typescript": "8.2.0",
48
+ "@tsed/schema": "8.3.0",
49
+ "@tsed/typescript": "8.3.0",
50
50
  "@types/change-case": "^2.3.1",
51
51
  "@types/pluralize": "0.0.33",
52
52
  "eslint": "9.12.0",
53
- "prisma": "^4.16.2",
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": ">=5.0.0",
59
- "@tsed/core": "8.2.0",
60
- "@tsed/di": "8.2.0",
61
- "@tsed/json-mapper": "8.2.0",
62
- "@tsed/schema": "8.2.0"
58
+ "@prisma/client": ">=6.0.0",
59
+ "@tsed/core": "8.3.0",
60
+ "@tsed/di": "8.3.0",
61
+ "@tsed/json-mapper": "8.3.0",
62
+ "@tsed/schema": "8.3.0"
63
63
  },
64
64
  "keywords": [
65
65
  "TypeScript",
package/src/generator.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ts-node
2
- import * as helpers from "@prisma/generator-helper";
2
+ import helpers from "@prisma/generator-helper";
3
3
  import {join} from "path";
4
4
 
5
5
  import {generate} from "./cli/prismaGenerator.js";