@glion/config 0.14.1 → 0.15.1
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/package.json +10 -5
- package/schema.json +5 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glion/config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"description": "Configuration schema and loader for hl7v2",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"config",
|
|
@@ -15,7 +15,11 @@
|
|
|
15
15
|
"name": "Melek Somai",
|
|
16
16
|
"email": "melek@rethinkhealth.io"
|
|
17
17
|
},
|
|
18
|
-
"repository":
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/rethinkhealth/glion.git",
|
|
21
|
+
"directory": "packages/config"
|
|
22
|
+
},
|
|
19
23
|
"files": [
|
|
20
24
|
"dist",
|
|
21
25
|
"schema.json"
|
|
@@ -33,7 +37,7 @@
|
|
|
33
37
|
"cosmiconfig": "9.0.1",
|
|
34
38
|
"unified": "11.0.5",
|
|
35
39
|
"zod": "3.25.76",
|
|
36
|
-
"@glion/utils": "0.
|
|
40
|
+
"@glion/utils": "0.15.1"
|
|
37
41
|
},
|
|
38
42
|
"devDependencies": {
|
|
39
43
|
"@types/node": "^25.5.0",
|
|
@@ -42,12 +46,13 @@
|
|
|
42
46
|
"typescript": "^5.9.3",
|
|
43
47
|
"vitest": "4.1.2",
|
|
44
48
|
"zod-to-json-schema": "3.25.0",
|
|
45
|
-
"@glion/tsconfig": "0.
|
|
46
|
-
"@glion/testing": "0.
|
|
49
|
+
"@glion/tsconfig": "0.15.1",
|
|
50
|
+
"@glion/testing": "0.15.1"
|
|
47
51
|
},
|
|
48
52
|
"engines": {
|
|
49
53
|
"node": ">=18"
|
|
50
54
|
},
|
|
55
|
+
"packageManager": "pnpm@10.14.0",
|
|
51
56
|
"scripts": {
|
|
52
57
|
"build": "tsdown && tsc --emitDeclarationOnly && pnpm build:schema",
|
|
53
58
|
"build:schema": "node --input-type=module -e \"import{writeFileSync}from'fs';import{jsonSchema}from'./dist/json-schema.js';writeFileSync('schema.json',JSON.stringify(jsonSchema,null,2));\"",
|
package/schema.json
CHANGED
|
@@ -77,7 +77,10 @@
|
|
|
77
77
|
"properties": {
|
|
78
78
|
"emptyMode": {
|
|
79
79
|
"type": "string",
|
|
80
|
-
"enum": [
|
|
80
|
+
"enum": [
|
|
81
|
+
"legacy",
|
|
82
|
+
"empty"
|
|
83
|
+
],
|
|
81
84
|
"default": "legacy",
|
|
82
85
|
"description": "Control how empty values are represented in the parser. 'legacy' creates full structure with empty strings, 'empty' creates empty children arrays."
|
|
83
86
|
}
|
|
@@ -96,4 +99,4 @@
|
|
|
96
99
|
}
|
|
97
100
|
},
|
|
98
101
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
99
|
-
}
|
|
102
|
+
}
|