@visulima/prisma-dmmf-transformer 2.0.9 → 2.0.11

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/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## @visulima/prisma-dmmf-transformer [2.0.11](https://github.com/visulima/visulima/compare/@visulima/prisma-dmmf-transformer@2.0.10...@visulima/prisma-dmmf-transformer@2.0.11) (2023-12-06)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * removed @prisma/internals from dependencies because it was no needed ([e996bb3](https://github.com/visulima/visulima/commit/e996bb3622f1a61aa217b343f7ee4da96896252f))
7
+
8
+ ## @visulima/prisma-dmmf-transformer [2.0.10](https://github.com/visulima/visulima/compare/@visulima/prisma-dmmf-transformer@2.0.9...@visulima/prisma-dmmf-transformer@2.0.10) (2023-11-30)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * updated dep versions ([ed70375](https://github.com/visulima/visulima/commit/ed7037584477dbda4a8a6405a1104876e8a6c703))
14
+
1
15
  ## @visulima/prisma-dmmf-transformer [2.0.9](https://github.com/visulima/visulima/compare/@visulima/prisma-dmmf-transformer@2.0.8...@visulima/prisma-dmmf-transformer@2.0.9) (2023-11-30)
2
16
 
3
17
 
package/dist/index.d.mts CHANGED
@@ -26,4 +26,4 @@ declare const getJSONSchemaProperty: (modelMetaData: ModelMetaData, transformOpt
26
26
 
27
27
  declare const transformDmmf: (dmmf: DMMF.Document, transformOptions?: TransformOptions) => JSONSchema7;
28
28
 
29
- export { DefinitionMap, ModelMetaData, PropertyMap, PropertyMetaData, TransformOptions, getJSONSchemaProperty, transformDmmf as transformDMMF };
29
+ export { type DefinitionMap, type ModelMetaData, type PropertyMap, type PropertyMetaData, type TransformOptions, getJSONSchemaProperty, transformDmmf as transformDMMF };
package/dist/index.d.ts CHANGED
@@ -26,4 +26,4 @@ declare const getJSONSchemaProperty: (modelMetaData: ModelMetaData, transformOpt
26
26
 
27
27
  declare const transformDmmf: (dmmf: DMMF.Document, transformOptions?: TransformOptions) => JSONSchema7;
28
28
 
29
- export { DefinitionMap, ModelMetaData, PropertyMap, PropertyMetaData, TransformOptions, getJSONSchemaProperty, transformDmmf as transformDMMF };
29
+ export { type DefinitionMap, type ModelMetaData, type PropertyMap, type PropertyMetaData, type TransformOptions, getJSONSchemaProperty, transformDmmf as transformDMMF };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/prisma-dmmf-transformer",
3
- "version": "2.0.9",
3
+ "version": "2.0.11",
4
4
  "description": "A generator for Prisma to generate a valid JSON Schema v7.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -63,7 +63,6 @@
63
63
  "build": "cross-env NODE_ENV=development tsup",
64
64
  "build:prod": "cross-env NODE_ENV=production tsup",
65
65
  "clean": "rimraf node_modules dist .eslintcache",
66
- "coverage": "vitest run --coverage",
67
66
  "dev": "pnpm run build --watch",
68
67
  "lint:eslint": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.js",
69
68
  "lint:eslint:fix": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.js --fix",
@@ -72,27 +71,29 @@
72
71
  "lint:prettier:fix": "prettier --config=.prettierrc.js --write .",
73
72
  "lint:types": "tsc --noEmit",
74
73
  "test": "vitest run",
74
+ "test:coverage": "vitest run --coverage",
75
+ "test:ui": "vitest --ui --coverage.enabled=true",
75
76
  "test:watch": "vitest"
76
77
  },
77
78
  "dependencies": {
78
- "@prisma/generator-helper": "5.6.0",
79
- "@prisma/internals": "5.6.0"
79
+ "@prisma/generator-helper": "5.7.0"
80
80
  },
81
81
  "devDependencies": {
82
82
  "@anolilab/eslint-config": "^15.0.2",
83
83
  "@anolilab/prettier-config": "^5.0.13",
84
84
  "@anolilab/semantic-release-preset": "^8.0.2",
85
- "@babel/core": "^7.23.3",
85
+ "@babel/core": "^7.23.5",
86
86
  "@prisma/client": "4.16.2",
87
+ "@prisma/internals": "5.7.0",
87
88
  "@rushstack/eslint-plugin-security": "^0.7.1",
88
89
  "@types/json-schema": "7.0.15",
89
90
  "@types/micromatch": "4.0.6",
90
91
  "@types/node": "18.18.8",
91
- "@vitest/coverage-v8": "0.34.6",
92
+ "@vitest/coverage-v8": "1.0.1",
92
93
  "ajv": "8.12.0",
93
94
  "ajv-formats": "2.1.1",
94
95
  "cross-env": "7.0.3",
95
- "eslint": "^8.54.0",
96
+ "eslint": "^8.55.0",
96
97
  "eslint-plugin-deprecation": "^2.0.0",
97
98
  "eslint-plugin-etc": "^2.0.3",
98
99
  "eslint-plugin-import": "npm:eslint-plugin-i@^2.29.0",
@@ -102,11 +103,11 @@
102
103
  "prettier": "3.1.0",
103
104
  "prisma": "4.16.2",
104
105
  "rimraf": "5.0.5",
105
- "semantic-release": "22.0.8",
106
+ "semantic-release": "22.0.10",
106
107
  "sort-package-json": "^2.6.0",
107
108
  "tsup": "8.0.1",
108
109
  "typescript": "5.3.2",
109
- "vitest": "0.34.6"
110
+ "vitest": "1.0.1"
110
111
  },
111
112
  "peerDependencies": {
112
113
  "@prisma/client": "3.* || 4.*",