@visulima/prisma-dmmf-transformer 3.0.0-alpha.7 → 3.0.0-alpha.9

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,22 @@
1
+ ## @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)
2
+
3
+ ### Bug Fixes
4
+
5
+ * **prisma-dmmf-transformer:** add node types for assert global ([55b9c4a](https://github.com/visulima/visulima/commit/55b9c4a81531734d448bec8c860f96c3d5d94602))
6
+
7
+ ## @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)
8
+
9
+ ### Bug Fixes
10
+
11
+ * **prisma-dmmf-transformer:** suppress eslint rules for intentional type patterns ([6e929af](https://github.com/visulima/visulima/commit/6e929af84a7b1b3483b03a120680af9a7badf36f))
12
+
13
+ ### Miscellaneous Chores
14
+
15
+ * **prisma-dmmf-transformer:** add tsconfig.eslint.json for type-aware linting ([e0d54f4](https://github.com/visulima/visulima/commit/e0d54f4400889bde8d8809946f43de4454a0fea0))
16
+ * **prisma-dmmf-transformer:** apply prettier formatting ([e5e36c3](https://github.com/visulima/visulima/commit/e5e36c3025b1de0191d8569b568acfb60131013e))
17
+ * **prisma-dmmf-transformer:** migrate .prettierrc.cjs to prettier.config.js ([130bb18](https://github.com/visulima/visulima/commit/130bb18cd5953a9c457f9b0917927095e36a1b12))
18
+ * **tooling:** remove empty dependency objects from package.json ([dc52a23](https://github.com/visulima/visulima/commit/dc52a23bc1e2d36f4ec71ca67506bf6861a02929))
19
+
1
20
  ## @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)
2
21
 
3
22
  ### Features
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.7",
3
+ "version": "3.0.0-alpha.9",
4
4
  "description": "A generator for Prisma to generate a valid JSON Schema v7.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -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
  },