@optique/env 1.4.0-dev.2622 → 1.4.0-dev.2625
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
|
@@ -444,6 +444,7 @@ function bindEnv(parser, options) {
|
|
|
444
444
|
return parser.getDocFragments(state, defaultValue);
|
|
445
445
|
}
|
|
446
446
|
};
|
|
447
|
+
(0, __optique_core_extension.inheritOptionScope)(boundParser, parser);
|
|
447
448
|
(0, __optique_core_extension.defineTraits)(boundParser, {
|
|
448
449
|
inheritsAnnotations: true,
|
|
449
450
|
completesFromSource: true
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { readFileSync } from "node:fs";
|
|
2
2
|
import { resolve } from "node:path";
|
|
3
3
|
import { getAnnotations } from "@optique/core/annotations";
|
|
4
|
-
import { defineTraits, delegateSuggestNodes, dispatchByMode, getTraits, inheritAnnotations, injectAnnotations, isInjectedAnnotationState, mapModeValue, mapSourceMetadata, wrapForMode } from "@optique/core/extension";
|
|
4
|
+
import { defineTraits, delegateSuggestNodes, dispatchByMode, getTraits, inheritAnnotations, inheritOptionScope, injectAnnotations, isInjectedAnnotationState, mapModeValue, mapSourceMetadata, wrapForMode } from "@optique/core/extension";
|
|
5
5
|
import { fluent } from "@optique/core/fluent";
|
|
6
6
|
import { envVar, message, valueSet } from "@optique/core/message";
|
|
7
7
|
import { ensureNonEmptyString, isValueParser } from "@optique/core/valueparser";
|
|
@@ -421,6 +421,7 @@ function bindEnv(parser, options) {
|
|
|
421
421
|
return parser.getDocFragments(state, defaultValue);
|
|
422
422
|
}
|
|
423
423
|
};
|
|
424
|
+
inheritOptionScope(boundParser, parser);
|
|
424
425
|
defineTraits(boundParser, {
|
|
425
426
|
inheritsAnnotations: true,
|
|
426
427
|
completesFromSource: true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optique/env",
|
|
3
|
-
"version": "1.4.0-dev.
|
|
3
|
+
"version": "1.4.0-dev.2625",
|
|
4
4
|
"description": "Environment variable support for Optique",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CLI",
|
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
},
|
|
61
61
|
"sideEffects": false,
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@optique/core": "1.4.0-dev.
|
|
63
|
+
"@optique/core": "1.4.0-dev.2625+cf50e959"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@optique/config": "1.4.0-dev.
|
|
66
|
+
"@optique/config": "1.4.0-dev.2625+cf50e959",
|
|
67
67
|
"@types/node": "^24.0.0",
|
|
68
68
|
"fast-check": "^4.7.0",
|
|
69
69
|
"tsdown": "^0.13.0",
|