@optique/core 1.0.0-dev.1903 → 1.0.0-dev.1972

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.
Files changed (79) hide show
  1. package/dist/annotation-state.cjs +66 -31
  2. package/dist/annotation-state.d.cts +24 -0
  3. package/dist/annotation-state.d.ts +24 -0
  4. package/dist/annotation-state.js +65 -31
  5. package/dist/annotations.cjs +2 -267
  6. package/dist/annotations.d.cts +2 -152
  7. package/dist/annotations.d.ts +2 -152
  8. package/dist/annotations.js +2 -256
  9. package/dist/completion.cjs +1 -1
  10. package/dist/completion.d.cts +1 -1
  11. package/dist/completion.d.ts +1 -1
  12. package/dist/completion.js +1 -1
  13. package/dist/constructs.cjs +206 -238
  14. package/dist/constructs.d.cts +1 -1
  15. package/dist/constructs.d.ts +1 -1
  16. package/dist/constructs.js +96 -128
  17. package/dist/context.d.cts +1 -1
  18. package/dist/context.d.ts +1 -1
  19. package/dist/dependency-metadata.cjs +1 -1
  20. package/dist/dependency-metadata.d.cts +1 -1
  21. package/dist/dependency-metadata.d.ts +1 -1
  22. package/dist/dependency-metadata.js +1 -1
  23. package/dist/dependency-runtime.cjs +2 -2
  24. package/dist/dependency-runtime.js +2 -2
  25. package/dist/dependency.cjs +7 -1111
  26. package/dist/dependency.d.cts +2 -838
  27. package/dist/dependency.d.ts +2 -838
  28. package/dist/dependency.js +2 -1078
  29. package/dist/execution-context.cjs +56 -0
  30. package/dist/execution-context.js +53 -0
  31. package/dist/extension.cjs +87 -0
  32. package/dist/extension.d.cts +97 -0
  33. package/dist/extension.d.ts +97 -0
  34. package/dist/extension.js +76 -0
  35. package/dist/facade.cjs +19 -19
  36. package/dist/facade.d.cts +1 -1
  37. package/dist/facade.d.ts +1 -1
  38. package/dist/facade.js +19 -19
  39. package/dist/index.cjs +4 -41
  40. package/dist/index.d.cts +7 -7
  41. package/dist/index.d.ts +7 -7
  42. package/dist/index.js +5 -5
  43. package/dist/internal/annotations.cjs +316 -0
  44. package/dist/internal/annotations.d.cts +140 -0
  45. package/dist/internal/annotations.d.ts +140 -0
  46. package/dist/internal/annotations.js +306 -0
  47. package/dist/internal/dependency.cjs +984 -0
  48. package/dist/internal/dependency.d.cts +539 -0
  49. package/dist/internal/dependency.d.ts +539 -0
  50. package/dist/internal/dependency.js +964 -0
  51. package/dist/{mode-dispatch.cjs → internal/mode-dispatch.cjs} +1 -3
  52. package/dist/{mode-dispatch.d.cts → internal/mode-dispatch.d.cts} +3 -7
  53. package/dist/{mode-dispatch.d.ts → internal/mode-dispatch.d.ts} +3 -7
  54. package/dist/{mode-dispatch.js → internal/mode-dispatch.js} +1 -3
  55. package/dist/internal/parser.cjs +728 -0
  56. package/dist/internal/parser.d.cts +947 -0
  57. package/dist/internal/parser.d.ts +947 -0
  58. package/dist/internal/parser.js +711 -0
  59. package/dist/modifiers.cjs +67 -95
  60. package/dist/modifiers.d.cts +1 -1
  61. package/dist/modifiers.d.ts +1 -1
  62. package/dist/modifiers.js +51 -79
  63. package/dist/parser.cjs +11 -743
  64. package/dist/parser.d.cts +3 -991
  65. package/dist/parser.d.ts +3 -991
  66. package/dist/parser.js +2 -704
  67. package/dist/phase2-seed.cjs +4 -4
  68. package/dist/phase2-seed.js +4 -4
  69. package/dist/primitives.cjs +40 -75
  70. package/dist/primitives.d.cts +1 -1
  71. package/dist/primitives.d.ts +1 -1
  72. package/dist/primitives.js +27 -62
  73. package/dist/program.d.cts +1 -1
  74. package/dist/program.d.ts +1 -1
  75. package/dist/valueparser.cjs +23 -23
  76. package/dist/valueparser.d.cts +3 -3
  77. package/dist/valueparser.d.ts +3 -3
  78. package/dist/valueparser.js +23 -23
  79. package/package.json +9 -9
@@ -1,4 +1,4 @@
1
- import { Annotations } from "./annotations.cjs";
1
+ import { Annotations } from "./internal/annotations.cjs";
2
2
 
3
3
  //#region src/context.d.ts
4
4
 
package/dist/context.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Annotations } from "./annotations.js";
1
+ import { Annotations } from "./internal/annotations.js";
2
2
 
3
3
  //#region src/context.d.ts
4
4
 
@@ -1,4 +1,4 @@
1
- const require_dependency = require('./dependency.cjs');
1
+ const require_dependency = require('./internal/dependency.cjs');
2
2
 
3
3
  //#region src/dependency-metadata.ts
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { ValueParserResult } from "./valueparser.cjs";
2
- import { Suggestion } from "./parser.cjs";
2
+ import { Suggestion } from "./internal/parser.cjs";
3
3
 
4
4
  //#region src/dependency-metadata.d.ts
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { ValueParserResult } from "./valueparser.js";
2
- import { Suggestion } from "./parser.js";
2
+ import { Suggestion } from "./internal/parser.js";
3
3
 
4
4
  //#region src/dependency-metadata.d.ts
5
5
 
@@ -1,4 +1,4 @@
1
- import { defaultValues, dependencyId, dependencyIds, isDependencySource, isDependencySourceState, isDerivedValueParser, parseWithDependency, singleDefaultValue, suggestWithDependency } from "./dependency.js";
1
+ import { defaultValues, dependencyId, dependencyIds, isDependencySource, isDependencySourceState, isDerivedValueParser, parseWithDependency, singleDefaultValue, suggestWithDependency } from "./internal/dependency.js";
2
2
 
3
3
  //#region src/dependency-metadata.ts
4
4
  /**
@@ -1,6 +1,6 @@
1
1
  const require_message = require('./message.cjs');
2
- const require_dependency = require('./dependency.cjs');
3
- const require_parser = require('./parser.cjs');
2
+ const require_dependency = require('./internal/dependency.cjs');
3
+ const require_parser = require('./internal/parser.cjs');
4
4
 
5
5
  //#region src/dependency-runtime.ts
6
6
  const symbolIds = /* @__PURE__ */ new WeakMap();
@@ -1,6 +1,6 @@
1
1
  import { message } from "./message.js";
2
- import { dependencyId, isDeferredParseState, isDependencySourceState, isPendingDependencySourceState, parseWithDependency } from "./dependency.js";
3
- import { unmatchedNonCliDependencySourceStateMarker } from "./parser.js";
2
+ import { dependencyId, isDeferredParseState, isDependencySourceState, isPendingDependencySourceState, parseWithDependency } from "./internal/dependency.js";
3
+ import { unmatchedNonCliDependencySourceStateMarker } from "./internal/parser.js";
4
4
 
5
5
  //#region src/dependency-runtime.ts
6
6
  const symbolIds = /* @__PURE__ */ new WeakMap();