@visulima/prisma-dmmf-transformer 3.0.0-alpha.1 → 3.0.0-alpha.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 +98 -0
- package/LICENSE.md +1 -1
- package/README.md +31 -16
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/packem_shared/{transformDMMF-D2pok2ta.mjs → transformDMMF-Bx_Dy2Xx.mjs} +1 -1
- package/dist/packem_shared/{transformDMMF-e7c5Igd0.cjs → transformDMMF-IIKTTKE3.cjs} +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,101 @@
|
|
|
1
|
+
## @visulima/prisma-dmmf-transformer [3.0.0-alpha.11](https://github.com/visulima/visulima/compare/@visulima/prisma-dmmf-transformer@3.0.0-alpha.10...@visulima/prisma-dmmf-transformer@3.0.0-alpha.11) (2026-04-21)
|
|
2
|
+
|
|
3
|
+
### Miscellaneous Chores
|
|
4
|
+
|
|
5
|
+
* update the jsr.json ([864ab7e](https://github.com/visulima/visulima/commit/864ab7e71c4b5ae82f64792d1ae8debfea2c539b))
|
|
6
|
+
|
|
7
|
+
## @visulima/prisma-dmmf-transformer [3.0.0-alpha.10](https://github.com/visulima/visulima/compare/@visulima/prisma-dmmf-transformer@3.0.0-alpha.9...@visulima/prisma-dmmf-transformer@3.0.0-alpha.10) (2026-04-21)
|
|
8
|
+
|
|
9
|
+
### Miscellaneous Chores
|
|
10
|
+
|
|
11
|
+
* bump engines.node to ^22.14.0 || >=24.10.0 ([c3d0931](https://github.com/visulima/visulima/commit/c3d0931d1504e4f21ebf50ea680cfa7ce4ba15ce))
|
|
12
|
+
* fixed jsr.json ([5d85e51](https://github.com/visulima/visulima/commit/5d85e5179de38e284ec433b14d77c71a1619c8d6))
|
|
13
|
+
|
|
14
|
+
## @visulima/prisma-dmmf-transformer [3.0.0-alpha.9](https://github.com/visulima/visulima/compare/@visulima/prisma-dmmf-transformer@3.0.0-alpha.8...@visulima/prisma-dmmf-transformer@3.0.0-alpha.9) (2026-04-15)
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **prisma-dmmf-transformer:** add node types for assert global ([55b9c4a](https://github.com/visulima/visulima/commit/55b9c4a81531734d448bec8c860f96c3d5d94602))
|
|
19
|
+
|
|
20
|
+
## @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)
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* **prisma-dmmf-transformer:** suppress eslint rules for intentional type patterns ([6e929af](https://github.com/visulima/visulima/commit/6e929af84a7b1b3483b03a120680af9a7badf36f))
|
|
25
|
+
|
|
26
|
+
### Miscellaneous Chores
|
|
27
|
+
|
|
28
|
+
* **prisma-dmmf-transformer:** add tsconfig.eslint.json for type-aware linting ([e0d54f4](https://github.com/visulima/visulima/commit/e0d54f4400889bde8d8809946f43de4454a0fea0))
|
|
29
|
+
* **prisma-dmmf-transformer:** apply prettier formatting ([e5e36c3](https://github.com/visulima/visulima/commit/e5e36c3025b1de0191d8569b568acfb60131013e))
|
|
30
|
+
* **prisma-dmmf-transformer:** migrate .prettierrc.cjs to prettier.config.js ([130bb18](https://github.com/visulima/visulima/commit/130bb18cd5953a9c457f9b0917927095e36a1b12))
|
|
31
|
+
* **tooling:** remove empty dependency objects from package.json ([dc52a23](https://github.com/visulima/visulima/commit/dc52a23bc1e2d36f4ec71ca67506bf6861a02929))
|
|
32
|
+
|
|
33
|
+
## @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)
|
|
34
|
+
|
|
35
|
+
### Features
|
|
36
|
+
|
|
37
|
+
* **web:** auto-generate packages page from workspace metadata ([623e520](https://github.com/visulima/visulima/commit/623e5207693a7fe720f5f2f179593a3654c880e3))
|
|
38
|
+
|
|
39
|
+
### Miscellaneous Chores
|
|
40
|
+
|
|
41
|
+
* update homepage URLs to visulima.com/packages/ format ([be42968](https://github.com/visulima/visulima/commit/be42968129df85fb074224435e33135ff44cab91))
|
|
42
|
+
|
|
43
|
+
## @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)
|
|
44
|
+
|
|
45
|
+
### Bug Fixes
|
|
46
|
+
|
|
47
|
+
* **web:** improve build setup with incremental stats caching and prod install ([fe33e75](https://github.com/visulima/visulima/commit/fe33e75827586779b4b3a0c6d57b39f889ee6207))
|
|
48
|
+
|
|
49
|
+
### Miscellaneous Chores
|
|
50
|
+
|
|
51
|
+
* **prisma-dmmf-transformer:** migrate deps to pnpm catalogs ([1935571](https://github.com/visulima/visulima/commit/1935571714ad77f4e788576471aad33129e872d3))
|
|
52
|
+
* **prisma-dmmf-transformer:** update dependencies ([b593097](https://github.com/visulima/visulima/commit/b5930970ddb1f88a0bf8524ce660700e054c5da9))
|
|
53
|
+
* visulima website ([#591](https://github.com/visulima/visulima/issues/591)) ([59ab2e2](https://github.com/visulima/visulima/commit/59ab2e2befb03e51cd2088956f83d9b87de6d033))
|
|
54
|
+
|
|
55
|
+
## @visulima/prisma-dmmf-transformer [3.0.0-alpha.5](https://github.com/visulima/visulima/compare/@visulima/prisma-dmmf-transformer@3.0.0-alpha.4...@visulima/prisma-dmmf-transformer@3.0.0-alpha.5) (2026-03-06)
|
|
56
|
+
|
|
57
|
+
### Bug Fixes
|
|
58
|
+
|
|
59
|
+
* **prisma-dmmf-transformer:** update packem to 2.0.0-alpha.54 ([334cd5e](https://github.com/visulima/visulima/commit/334cd5ed90092fd43c517138bc2df7f9a24c0e76))
|
|
60
|
+
|
|
61
|
+
### Documentation
|
|
62
|
+
|
|
63
|
+
* **cerebro,prisma-dmmf-transformer,jsdoc-open-api:** add comprehensive Fumadocs documentation ([891b308](https://github.com/visulima/visulima/commit/891b308a34bca2765a4a97ea450648d20d90e0cf))
|
|
64
|
+
|
|
65
|
+
### Miscellaneous Chores
|
|
66
|
+
|
|
67
|
+
* **prisma-dmmf-transformer:** update dependencies ([c8fbc33](https://github.com/visulima/visulima/commit/c8fbc33f44f8404fae6acaa75503d83e1f2dd8da))
|
|
68
|
+
* **prisma-dmmf-transformer:** update dependencies ([7f26f35](https://github.com/visulima/visulima/commit/7f26f35539c936903d85d791acd95574ac242112))
|
|
69
|
+
* **tooling:** update dependencies ([7f6f9d3](https://github.com/visulima/visulima/commit/7f6f9d3c41b170c53659ab34b79ceb23e4e9660a))
|
|
70
|
+
* update lock file maintenance ([d83e716](https://github.com/visulima/visulima/commit/d83e71697b75d24704185b66bb521a934d2db02d))
|
|
71
|
+
* year update ([47f4105](https://github.com/visulima/visulima/commit/47f410596ce7190cfea36a073db32e0cec50bbcd))
|
|
72
|
+
|
|
73
|
+
## @visulima/prisma-dmmf-transformer [3.0.0-alpha.4](https://github.com/visulima/visulima/compare/@visulima/prisma-dmmf-transformer@3.0.0-alpha.3...@visulima/prisma-dmmf-transformer@3.0.0-alpha.4) (2025-12-27)
|
|
74
|
+
|
|
75
|
+
### Bug Fixes
|
|
76
|
+
|
|
77
|
+
* **prisma-dmmf-transformer:** update package files ([997673b](https://github.com/visulima/visulima/commit/997673bfc116148ba3d1f5ac6d6d0210fb576c45))
|
|
78
|
+
|
|
79
|
+
### Miscellaneous Chores
|
|
80
|
+
|
|
81
|
+
* fixed project.json names and schema path ([964722f](https://github.com/visulima/visulima/commit/964722f691db205c7edb9aa6db29e849a647500b))
|
|
82
|
+
|
|
83
|
+
## @visulima/prisma-dmmf-transformer [3.0.0-alpha.3](https://github.com/visulima/visulima/compare/@visulima/prisma-dmmf-transformer@3.0.0-alpha.2...@visulima/prisma-dmmf-transformer@3.0.0-alpha.3) (2025-12-11)
|
|
84
|
+
|
|
85
|
+
### Bug Fixes
|
|
86
|
+
|
|
87
|
+
* update package OG images across multiple packages ([f08e4dd](https://github.com/visulima/visulima/commit/f08e4dd2b105ccb29c8412020a9c2be36d6c1e9e))
|
|
88
|
+
|
|
89
|
+
## @visulima/prisma-dmmf-transformer [3.0.0-alpha.2](https://github.com/visulima/visulima/compare/@visulima/prisma-dmmf-transformer@3.0.0-alpha.1...@visulima/prisma-dmmf-transformer@3.0.0-alpha.2) (2025-12-06)
|
|
90
|
+
|
|
91
|
+
### Bug Fixes
|
|
92
|
+
|
|
93
|
+
* add new package image, fixed readme rendering on npm, fixed building of packages ([b790ba2](https://github.com/visulima/visulima/commit/b790ba253ea07fef83528fd822a678facf021b5f))
|
|
94
|
+
|
|
95
|
+
### Miscellaneous Chores
|
|
96
|
+
|
|
97
|
+
* update @anolilab/semantic-release-pnpm and @anolilab/semantic-release-preset to versions 3.2.2 and 12.1.2 across multiple package.json files for improved compatibility ([3921626](https://github.com/visulima/visulima/commit/3921626141fe5da398749bf0ba675f1596f18afb))
|
|
98
|
+
|
|
1
99
|
## @visulima/prisma-dmmf-transformer [3.0.0-alpha.1](https://github.com/visulima/visulima/compare/@visulima/prisma-dmmf-transformer@2.0.37...@visulima/prisma-dmmf-transformer@3.0.0-alpha.1) (2025-12-04)
|
|
2
100
|
|
|
3
101
|
### ⚠ BREAKING CHANGES
|
package/LICENSE.md
CHANGED
package/README.md
CHANGED
|
@@ -1,16 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
<h3>Visulima prisma-dmmf-transformer</h3>
|
|
3
|
-
<p>
|
|
4
|
-
Visulima prisma-dmmf-transformer is a generator for <a href="https://www.prisma.io/" title="Prisma">Prisma</a> to generate a valid <a href="https://json-schema.org/specification.html" title="JSON Schema">JSON Schema v7</a>.
|
|
1
|
+
<!-- START_PACKAGE_OG_IMAGE_PLACEHOLDER -->
|
|
5
2
|
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
<a href="https://www.anolilab.com/open-source" align="center">
|
|
4
|
+
|
|
5
|
+
<img src="__assets__/package-og.svg" alt="prisma-dmmf-transformer" />
|
|
6
|
+
|
|
7
|
+
</a>
|
|
8
|
+
|
|
9
|
+
<h3 align="center">A generator for Prisma to generate a valid JSON Schema v7.</h3>
|
|
10
|
+
|
|
11
|
+
<!-- END_PACKAGE_OG_IMAGE_PLACEHOLDER -->
|
|
8
12
|
|
|
9
13
|
<br />
|
|
10
14
|
|
|
11
15
|
<div align="center">
|
|
12
16
|
|
|
13
|
-
[![typescript-image]
|
|
17
|
+
[![typescript-image][typescript-badge]][typescript-url]
|
|
18
|
+
[![mit licence][license-badge]][license]
|
|
19
|
+
[![npm downloads][npm-downloads-badge]][npm-downloads]
|
|
20
|
+
[![Chat][chat-badge]][chat]
|
|
21
|
+
[![PRs Welcome][prs-welcome-badge]][prs-welcome]
|
|
14
22
|
|
|
15
23
|
</div>
|
|
16
24
|
|
|
@@ -26,8 +34,6 @@
|
|
|
26
34
|
|
|
27
35
|
---
|
|
28
36
|
|
|
29
|
-
## Features
|
|
30
|
-
|
|
31
37
|
## Installation
|
|
32
38
|
|
|
33
39
|
```sh
|
|
@@ -248,14 +254,23 @@ If you would like to help take a look at the [list of issues](https://github.com
|
|
|
248
254
|
- [Daniel Bannert](https://github.com/prisis)
|
|
249
255
|
- [All Contributors](https://github.com/visulima/visulima/graphs/contributors)
|
|
250
256
|
|
|
257
|
+
## Made with ❤️ at Anolilab
|
|
258
|
+
|
|
259
|
+
This is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. [Anolilab](https://www.anolilab.com/open-source) is a Development and AI Studio. Contact us at [hello@anolilab.com](mailto:hello@anolilab.com) if you need any help with these technologies or just want to say hi!
|
|
260
|
+
|
|
251
261
|
## License
|
|
252
262
|
|
|
253
|
-
The visulima prisma-dmmf-transformer is open-sourced software licensed under the [MIT][license
|
|
263
|
+
The visulima prisma-dmmf-transformer is open-sourced software licensed under the [MIT][license]
|
|
254
264
|
|
|
255
|
-
|
|
265
|
+
<!-- badges -->
|
|
256
266
|
|
|
257
|
-
[
|
|
258
|
-
[license
|
|
259
|
-
[
|
|
260
|
-
[npm-
|
|
261
|
-
[
|
|
267
|
+
[license-badge]: https://img.shields.io/npm/l/@visulima/prisma-dmmf-transformer?style=for-the-badge
|
|
268
|
+
[license]: https://github.com/visulima/visulima/blob/main/LICENSE
|
|
269
|
+
[npm-downloads-badge]: https://img.shields.io/npm/dm/@visulima/prisma-dmmf-transformer?style=for-the-badge
|
|
270
|
+
[npm-downloads]: https://www.npmjs.com/package/@visulima/prisma-dmmf-transformer
|
|
271
|
+
[prs-welcome-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge
|
|
272
|
+
[prs-welcome]: https://github.com/visulima/visulima/blob/main/.github/CONTRIBUTING.md
|
|
273
|
+
[chat-badge]: https://img.shields.io/discord/932323359193186354.svg?style=for-the-badge
|
|
274
|
+
[chat]: https://discord.gg/TtFJY8xkFK
|
|
275
|
+
[typescript-badge]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
|
|
276
|
+
[typescript-url]: https://www.typescriptlang.org/
|
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.11",
|
|
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",
|
|
@@ -66,15 +66,15 @@
|
|
|
66
66
|
"LICENSE.md"
|
|
67
67
|
],
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@prisma/generator-helper": "6.19.
|
|
70
|
-
"type-fest": "5.
|
|
69
|
+
"@prisma/generator-helper": "6.19.2",
|
|
70
|
+
"type-fest": "5.6.0"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"@prisma/client": "3.* || 4.* || 5.* || 6.*",
|
|
74
74
|
"prisma": "3.* || 4.* || 5.* || 6.*"
|
|
75
75
|
},
|
|
76
76
|
"engines": {
|
|
77
|
-
"node": "
|
|
77
|
+
"node": "^22.14.0 || >=24.10.0"
|
|
78
78
|
},
|
|
79
79
|
"os": [
|
|
80
80
|
"darwin",
|