@visulima/prisma-dmmf-transformer 3.0.0-alpha.6 → 3.0.0-alpha.8
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,26 @@
|
|
|
1
|
+
## @visulima/prisma-dmmf-transformer [3.0.0-alpha.8](https://github.com/visulima/visulima/compare/@visulima/prisma-dmmf-transformer@3.0.0-alpha.7...@visulima/prisma-dmmf-transformer@3.0.0-alpha.8) (2026-04-08)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **prisma-dmmf-transformer:** suppress eslint rules for intentional type patterns ([6e929af](https://github.com/visulima/visulima/commit/6e929af84a7b1b3483b03a120680af9a7badf36f))
|
|
6
|
+
|
|
7
|
+
### Miscellaneous Chores
|
|
8
|
+
|
|
9
|
+
* **prisma-dmmf-transformer:** add tsconfig.eslint.json for type-aware linting ([e0d54f4](https://github.com/visulima/visulima/commit/e0d54f4400889bde8d8809946f43de4454a0fea0))
|
|
10
|
+
* **prisma-dmmf-transformer:** apply prettier formatting ([e5e36c3](https://github.com/visulima/visulima/commit/e5e36c3025b1de0191d8569b568acfb60131013e))
|
|
11
|
+
* **prisma-dmmf-transformer:** migrate .prettierrc.cjs to prettier.config.js ([130bb18](https://github.com/visulima/visulima/commit/130bb18cd5953a9c457f9b0917927095e36a1b12))
|
|
12
|
+
* **tooling:** remove empty dependency objects from package.json ([dc52a23](https://github.com/visulima/visulima/commit/dc52a23bc1e2d36f4ec71ca67506bf6861a02929))
|
|
13
|
+
|
|
14
|
+
## @visulima/prisma-dmmf-transformer [3.0.0-alpha.7](https://github.com/visulima/visulima/compare/@visulima/prisma-dmmf-transformer@3.0.0-alpha.6...@visulima/prisma-dmmf-transformer@3.0.0-alpha.7) (2026-03-26)
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **web:** auto-generate packages page from workspace metadata ([623e520](https://github.com/visulima/visulima/commit/623e5207693a7fe720f5f2f179593a3654c880e3))
|
|
19
|
+
|
|
20
|
+
### Miscellaneous Chores
|
|
21
|
+
|
|
22
|
+
* update homepage URLs to visulima.com/packages/ format ([be42968](https://github.com/visulima/visulima/commit/be42968129df85fb074224435e33135ff44cab91))
|
|
23
|
+
|
|
1
24
|
## @visulima/prisma-dmmf-transformer [3.0.0-alpha.6](https://github.com/visulima/visulima/compare/@visulima/prisma-dmmf-transformer@3.0.0-alpha.5...@visulima/prisma-dmmf-transformer@3.0.0-alpha.6) (2026-03-26)
|
|
2
25
|
|
|
3
26
|
### Bug Fixes
|
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
4
|
|
|
5
5
|
const getJSONSchemaProperty = require('./packem_shared/getJSONSchemaProperty-DyREsKli.cjs');
|
|
6
|
-
const transformDMMF = require('./packem_shared/transformDMMF-
|
|
6
|
+
const transformDMMF = require('./packem_shared/transformDMMF-IIKTTKE3.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as getJSONSchemaProperty } from './packem_shared/getJSONSchemaProperty-ChH8N6gd.mjs';
|
|
2
|
-
export { default as transformDMMF } from './packem_shared/transformDMMF-
|
|
2
|
+
export { default as transformDMMF } from './packem_shared/transformDMMF-Bx_Dy2Xx.mjs';
|
|
@@ -33,7 +33,7 @@ const getPropertyDefinition = ({ schemaId }) => (model) => {
|
|
|
33
33
|
];
|
|
34
34
|
};
|
|
35
35
|
const transformDmmf = (dmmf, transformOptions = {}) => {
|
|
36
|
-
const { enums
|
|
36
|
+
const { enums, models, types } = dmmf.datamodel;
|
|
37
37
|
const initialJSON = {
|
|
38
38
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
39
39
|
definitions: {},
|
|
@@ -35,7 +35,7 @@ const getPropertyDefinition = ({ schemaId }) => (model) => {
|
|
|
35
35
|
];
|
|
36
36
|
};
|
|
37
37
|
const transformDmmf = (dmmf, transformOptions = {}) => {
|
|
38
|
-
const { enums
|
|
38
|
+
const { enums, models, types } = dmmf.datamodel;
|
|
39
39
|
const initialJSON = {
|
|
40
40
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
41
41
|
definitions: {},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visulima/prisma-dmmf-transformer",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.8",
|
|
4
4
|
"description": "A generator for Prisma to generate a valid JSON Schema v7.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"anolilab",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"transformer",
|
|
15
15
|
"json-schema"
|
|
16
16
|
],
|
|
17
|
-
"homepage": "https://
|
|
17
|
+
"homepage": "https://visulima.com/packages/prisma-dmmf-transformer/",
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
20
|
"url": "https://github.com/visulima/visulima.git",
|
|
@@ -73,7 +73,6 @@
|
|
|
73
73
|
"@prisma/client": "3.* || 4.* || 5.* || 6.*",
|
|
74
74
|
"prisma": "3.* || 4.* || 5.* || 6.*"
|
|
75
75
|
},
|
|
76
|
-
"optionalDependencies": {},
|
|
77
76
|
"engines": {
|
|
78
77
|
"node": ">=22.13 <=25.x"
|
|
79
78
|
},
|