@optique/config 1.4.0-dev.2622 → 1.4.0-dev.2623
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/dist/index.cjs +1 -0
- package/dist/index.js +2 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -401,6 +401,7 @@ function bindConfig(parser, options) {
|
|
|
401
401
|
return parser.getDocFragments(state, defaultValue);
|
|
402
402
|
}
|
|
403
403
|
};
|
|
404
|
+
(0, __optique_core_extension.inheritOptionScope)(boundParser, parser);
|
|
404
405
|
(0, __optique_core_extension.defineTraits)(boundParser, {
|
|
405
406
|
inheritsAnnotations: true,
|
|
406
407
|
completesFromSource: true
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { readFileSync } from "node:fs";
|
|
|
2
2
|
import { homedir } from "node:os";
|
|
3
3
|
import { dirname, join, resolve, sep } from "node:path";
|
|
4
4
|
import { getAnnotations } from "@optique/core/annotations";
|
|
5
|
-
import { defineTraits, delegateSuggestNodes, inheritAnnotations, injectAnnotations, mapModeValue, mapSourceMetadata, withAnnotationView, wrapForMode } from "@optique/core/extension";
|
|
5
|
+
import { defineTraits, delegateSuggestNodes, inheritAnnotations, inheritOptionScope, injectAnnotations, mapModeValue, mapSourceMetadata, withAnnotationView, wrapForMode } from "@optique/core/extension";
|
|
6
6
|
import { fluent } from "@optique/core/fluent";
|
|
7
7
|
import { message } from "@optique/core/message";
|
|
8
8
|
|
|
@@ -378,6 +378,7 @@ function bindConfig(parser, options) {
|
|
|
378
378
|
return parser.getDocFragments(state, defaultValue);
|
|
379
379
|
}
|
|
380
380
|
};
|
|
381
|
+
inheritOptionScope(boundParser, parser);
|
|
381
382
|
defineTraits(boundParser, {
|
|
382
383
|
inheritsAnnotations: true,
|
|
383
384
|
completesFromSource: true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optique/config",
|
|
3
|
-
"version": "1.4.0-dev.
|
|
3
|
+
"version": "1.4.0-dev.2623",
|
|
4
4
|
"description": "Configuration file support for Optique with Standard Schema validation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CLI",
|
|
@@ -65,10 +65,10 @@
|
|
|
65
65
|
"@standard-schema/spec": "^1.1.0"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@optique/core": "1.4.0-dev.
|
|
68
|
+
"@optique/core": "1.4.0-dev.2623+c24ee8fb"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@optique/env": "1.4.0-dev.
|
|
71
|
+
"@optique/env": "1.4.0-dev.2623+c24ee8fb",
|
|
72
72
|
"@standard-schema/spec": "^1.1.0",
|
|
73
73
|
"@types/node": "^24.0.0",
|
|
74
74
|
"fast-check": "^4.7.0",
|