@visulima/prisma-dmmf-transformer 3.0.0-alpha.1 → 3.0.0-alpha.10

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,95 @@
1
+ ## @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)
2
+
3
+ ### Miscellaneous Chores
4
+
5
+ * bump engines.node to ^22.14.0 || >=24.10.0 ([c3d0931](https://github.com/visulima/visulima/commit/c3d0931d1504e4f21ebf50ea680cfa7ce4ba15ce))
6
+ * fixed jsr.json ([5d85e51](https://github.com/visulima/visulima/commit/5d85e5179de38e284ec433b14d77c71a1619c8d6))
7
+
8
+ ## @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)
9
+
10
+ ### Bug Fixes
11
+
12
+ * **prisma-dmmf-transformer:** add node types for assert global ([55b9c4a](https://github.com/visulima/visulima/commit/55b9c4a81531734d448bec8c860f96c3d5d94602))
13
+
14
+ ## @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)
15
+
16
+ ### Bug Fixes
17
+
18
+ * **prisma-dmmf-transformer:** suppress eslint rules for intentional type patterns ([6e929af](https://github.com/visulima/visulima/commit/6e929af84a7b1b3483b03a120680af9a7badf36f))
19
+
20
+ ### Miscellaneous Chores
21
+
22
+ * **prisma-dmmf-transformer:** add tsconfig.eslint.json for type-aware linting ([e0d54f4](https://github.com/visulima/visulima/commit/e0d54f4400889bde8d8809946f43de4454a0fea0))
23
+ * **prisma-dmmf-transformer:** apply prettier formatting ([e5e36c3](https://github.com/visulima/visulima/commit/e5e36c3025b1de0191d8569b568acfb60131013e))
24
+ * **prisma-dmmf-transformer:** migrate .prettierrc.cjs to prettier.config.js ([130bb18](https://github.com/visulima/visulima/commit/130bb18cd5953a9c457f9b0917927095e36a1b12))
25
+ * **tooling:** remove empty dependency objects from package.json ([dc52a23](https://github.com/visulima/visulima/commit/dc52a23bc1e2d36f4ec71ca67506bf6861a02929))
26
+
27
+ ## @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)
28
+
29
+ ### Features
30
+
31
+ * **web:** auto-generate packages page from workspace metadata ([623e520](https://github.com/visulima/visulima/commit/623e5207693a7fe720f5f2f179593a3654c880e3))
32
+
33
+ ### Miscellaneous Chores
34
+
35
+ * update homepage URLs to visulima.com/packages/ format ([be42968](https://github.com/visulima/visulima/commit/be42968129df85fb074224435e33135ff44cab91))
36
+
37
+ ## @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)
38
+
39
+ ### Bug Fixes
40
+
41
+ * **web:** improve build setup with incremental stats caching and prod install ([fe33e75](https://github.com/visulima/visulima/commit/fe33e75827586779b4b3a0c6d57b39f889ee6207))
42
+
43
+ ### Miscellaneous Chores
44
+
45
+ * **prisma-dmmf-transformer:** migrate deps to pnpm catalogs ([1935571](https://github.com/visulima/visulima/commit/1935571714ad77f4e788576471aad33129e872d3))
46
+ * **prisma-dmmf-transformer:** update dependencies ([b593097](https://github.com/visulima/visulima/commit/b5930970ddb1f88a0bf8524ce660700e054c5da9))
47
+ * visulima website ([#591](https://github.com/visulima/visulima/issues/591)) ([59ab2e2](https://github.com/visulima/visulima/commit/59ab2e2befb03e51cd2088956f83d9b87de6d033))
48
+
49
+ ## @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)
50
+
51
+ ### Bug Fixes
52
+
53
+ * **prisma-dmmf-transformer:** update packem to 2.0.0-alpha.54 ([334cd5e](https://github.com/visulima/visulima/commit/334cd5ed90092fd43c517138bc2df7f9a24c0e76))
54
+
55
+ ### Documentation
56
+
57
+ * **cerebro,prisma-dmmf-transformer,jsdoc-open-api:** add comprehensive Fumadocs documentation ([891b308](https://github.com/visulima/visulima/commit/891b308a34bca2765a4a97ea450648d20d90e0cf))
58
+
59
+ ### Miscellaneous Chores
60
+
61
+ * **prisma-dmmf-transformer:** update dependencies ([c8fbc33](https://github.com/visulima/visulima/commit/c8fbc33f44f8404fae6acaa75503d83e1f2dd8da))
62
+ * **prisma-dmmf-transformer:** update dependencies ([7f26f35](https://github.com/visulima/visulima/commit/7f26f35539c936903d85d791acd95574ac242112))
63
+ * **tooling:** update dependencies ([7f6f9d3](https://github.com/visulima/visulima/commit/7f6f9d3c41b170c53659ab34b79ceb23e4e9660a))
64
+ * update lock file maintenance ([d83e716](https://github.com/visulima/visulima/commit/d83e71697b75d24704185b66bb521a934d2db02d))
65
+ * year update ([47f4105](https://github.com/visulima/visulima/commit/47f410596ce7190cfea36a073db32e0cec50bbcd))
66
+
67
+ ## @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)
68
+
69
+ ### Bug Fixes
70
+
71
+ * **prisma-dmmf-transformer:** update package files ([997673b](https://github.com/visulima/visulima/commit/997673bfc116148ba3d1f5ac6d6d0210fb576c45))
72
+
73
+ ### Miscellaneous Chores
74
+
75
+ * fixed project.json names and schema path ([964722f](https://github.com/visulima/visulima/commit/964722f691db205c7edb9aa6db29e849a647500b))
76
+
77
+ ## @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)
78
+
79
+ ### Bug Fixes
80
+
81
+ * update package OG images across multiple packages ([f08e4dd](https://github.com/visulima/visulima/commit/f08e4dd2b105ccb29c8412020a9c2be36d6c1e9e))
82
+
83
+ ## @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)
84
+
85
+ ### Bug Fixes
86
+
87
+ * add new package image, fixed readme rendering on npm, fixed building of packages ([b790ba2](https://github.com/visulima/visulima/commit/b790ba253ea07fef83528fd822a678facf021b5f))
88
+
89
+ ### Miscellaneous Chores
90
+
91
+ * 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))
92
+
1
93
  ## @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
94
 
3
95
  ### ⚠ BREAKING CHANGES
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 visulima
3
+ Copyright (c) 2026 visulima
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,16 +1,24 @@
1
- <div align="center">
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
- </p>
7
- </div>
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]][typescript-url] [![npm-image]][npm-url] [![license-image]][license-url]
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-url]
263
+ The visulima prisma-dmmf-transformer is open-sourced software licensed under the [MIT][license]
254
264
 
255
- [typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
265
+ <!-- badges -->
256
266
 
257
- [typescript-url]: https://www.typescriptlang.org/ "TypeScript" "typescript"
258
- [license-image]: https://img.shields.io/npm/l/@visulima/prisma-dmmf-transformer?color=blueviolet&style=for-the-badge
259
- [license-url]: LICENSE.md "license"
260
- [npm-image]: https://img.shields.io/npm/v/@visulima/prisma-dmmf-transformer/latest.svg?style=for-the-badge&logo=npm
261
- [npm-url]: https://www.npmjs.com/package/@visulima/prisma-dmmf-transformer/v/latest "npm"
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-e7c5Igd0.cjs');
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-D2pok2ta.mjs';
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 = [], models = [], types = [] } = dmmf.datamodel;
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 = [], models = [], types = [] } = dmmf.datamodel;
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.1",
3
+ "version": "3.0.0-alpha.10",
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://www.visulima.com/docs/package/prisma-dmmf-transformer",
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.0",
70
- "type-fest": "5.3.0"
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": ">=22.13 <=25.x"
77
+ "node": "^22.14.0 || >=24.10.0"
78
78
  },
79
79
  "os": [
80
80
  "darwin",