@optique/core 1.2.0-dev.2202 → 1.2.0-dev.2229

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.
@@ -2,6 +2,7 @@ const require_internal_annotations = require('./internal/annotations.cjs');
2
2
  const require_mode_dispatch = require('./internal/mode-dispatch.cjs');
3
3
  const require_internal_parser = require('./internal/parser.cjs');
4
4
  const require_annotation_state = require('./annotation-state.cjs');
5
+ const require_phase2_seed = require('./phase2-seed.cjs');
5
6
 
6
7
  //#region src/extension.ts
7
8
  const emptyTraits = Object.freeze({});
@@ -76,6 +77,7 @@ function mapSourceMetadata(parser, mapSource) {
76
77
  exports.defineTraits = defineTraits;
77
78
  exports.delegateSuggestNodes = delegateSuggestNodes;
78
79
  exports.dispatchByMode = require_mode_dispatch.dispatchByMode;
80
+ exports.extractPhase2SeedKey = require_phase2_seed.extractPhase2SeedKey;
79
81
  exports.getTraits = getTraits;
80
82
  exports.inheritAnnotations = require_internal_annotations.inheritAnnotations;
81
83
  exports.injectAnnotations = require_internal_annotations.injectAnnotations;
@@ -2,6 +2,7 @@ import { inheritAnnotations, injectAnnotations, isInjectedAnnotationState, unwra
2
2
  import { Mode, Parser } from "./internal/parser.cjs";
3
3
  import { withAnnotationView } from "./annotation-state.cjs";
4
4
  import { dispatchByMode, mapModeValue, wrapForMode } from "./internal/mode-dispatch.cjs";
5
+ import { extractPhase2SeedKey } from "./phase2-seed.cjs";
5
6
 
6
7
  //#region src/extension.d.ts
7
8
 
@@ -94,4 +95,4 @@ declare function delegateSuggestNodes<TInnerState>(innerParser: Parser<Mode, unk
94
95
  */
95
96
  declare function mapSourceMetadata<M extends Mode, TValue, TState>(parser: Pick<Parser<M, TValue, TState>, "dependencyMetadata">, mapSource: (source: ParserSourceMetadata<M, TValue, TState>) => ParserSourceMetadata<M, TValue, TState>): Parser<M, TValue, TState>["dependencyMetadata"] | undefined;
96
97
  //#endregion
97
- export { ParserSourceMetadata, ParserTraits, SuggestNode, defineTraits, delegateSuggestNodes, dispatchByMode, getTraits, inheritAnnotations, injectAnnotations, isInjectedAnnotationState, mapModeValue, mapSourceMetadata, unwrapInjectedAnnotationState, withAnnotationView, wrapForMode };
98
+ export { ParserSourceMetadata, ParserTraits, SuggestNode, defineTraits, delegateSuggestNodes, dispatchByMode, extractPhase2SeedKey, getTraits, inheritAnnotations, injectAnnotations, isInjectedAnnotationState, mapModeValue, mapSourceMetadata, unwrapInjectedAnnotationState, withAnnotationView, wrapForMode };
@@ -2,6 +2,7 @@ import { inheritAnnotations, injectAnnotations, isInjectedAnnotationState, unwra
2
2
  import { Mode, Parser } from "./internal/parser.js";
3
3
  import { withAnnotationView } from "./annotation-state.js";
4
4
  import { dispatchByMode, mapModeValue, wrapForMode } from "./internal/mode-dispatch.js";
5
+ import { extractPhase2SeedKey } from "./phase2-seed.js";
5
6
 
6
7
  //#region src/extension.d.ts
7
8
 
@@ -94,4 +95,4 @@ declare function delegateSuggestNodes<TInnerState>(innerParser: Parser<Mode, unk
94
95
  */
95
96
  declare function mapSourceMetadata<M extends Mode, TValue, TState>(parser: Pick<Parser<M, TValue, TState>, "dependencyMetadata">, mapSource: (source: ParserSourceMetadata<M, TValue, TState>) => ParserSourceMetadata<M, TValue, TState>): Parser<M, TValue, TState>["dependencyMetadata"] | undefined;
96
97
  //#endregion
97
- export { ParserSourceMetadata, ParserTraits, SuggestNode, defineTraits, delegateSuggestNodes, dispatchByMode, getTraits, inheritAnnotations, injectAnnotations, isInjectedAnnotationState, mapModeValue, mapSourceMetadata, unwrapInjectedAnnotationState, withAnnotationView, wrapForMode };
98
+ export { ParserSourceMetadata, ParserTraits, SuggestNode, defineTraits, delegateSuggestNodes, dispatchByMode, extractPhase2SeedKey, getTraits, inheritAnnotations, injectAnnotations, isInjectedAnnotationState, mapModeValue, mapSourceMetadata, unwrapInjectedAnnotationState, withAnnotationView, wrapForMode };
package/dist/extension.js CHANGED
@@ -2,6 +2,7 @@ import { inheritAnnotations, injectAnnotations, isInjectedAnnotationState, unwra
2
2
  import { dispatchByMode, mapModeValue, wrapForMode } from "./internal/mode-dispatch.js";
3
3
  import { annotationWrapperRequiresSourceBindingKey, composeWrappedSourceMetadata, defineInheritedAnnotationParser, getDelegatingSuggestRuntimeNodes, inheritParentAnnotationsKey, unmatchedNonCliDependencySourceStateMarker } from "./internal/parser.js";
4
4
  import { withAnnotationView } from "./annotation-state.js";
5
+ import { extractPhase2SeedKey } from "./phase2-seed.js";
5
6
 
6
7
  //#region src/extension.ts
7
8
  const emptyTraits = Object.freeze({});
@@ -73,4 +74,4 @@ function mapSourceMetadata(parser, mapSource) {
73
74
  }
74
75
 
75
76
  //#endregion
76
- export { defineTraits, delegateSuggestNodes, dispatchByMode, getTraits, inheritAnnotations, injectAnnotations, isInjectedAnnotationState, mapModeValue, mapSourceMetadata, unwrapInjectedAnnotationState, withAnnotationView, wrapForMode };
77
+ export { defineTraits, delegateSuggestNodes, dispatchByMode, extractPhase2SeedKey, getTraits, inheritAnnotations, injectAnnotations, isInjectedAnnotationState, mapModeValue, mapSourceMetadata, unwrapInjectedAnnotationState, withAnnotationView, wrapForMode };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optique/core",
3
- "version": "1.2.0-dev.2202",
3
+ "version": "1.2.0-dev.2229",
4
4
  "description": "Type-safe combinatorial command-line interface parser",
5
5
  "keywords": [
6
6
  "CLI",
@@ -208,7 +208,7 @@
208
208
  "fast-check": "^4.7.0",
209
209
  "tsdown": "^0.13.0",
210
210
  "typescript": "^5.8.3",
211
- "@optique/env": "1.2.0-dev.2202+21df79aa"
211
+ "@optique/env": "1.2.0-dev.2229+c0eb0d92"
212
212
  },
213
213
  "scripts": {
214
214
  "build": "tsdown",