@optique/inquirer 1.0.0-dev.1692 → 1.0.0-dev.1693

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 CHANGED
@@ -320,6 +320,7 @@ function prompt(parser, config) {
320
320
  $stateType: parser.$stateType,
321
321
  priority: parser.priority,
322
322
  [__optique_core_parser.inheritParentAnnotationsKey]: true,
323
+ [Symbol.for("@optique/core/optionalStyleWrapper")]: true,
323
324
  usage: parser.usage.length === 1 && parser.usage[0].type === "optional" ? parser.usage : [{
324
325
  type: "optional",
325
326
  terms: parser.usage
@@ -353,6 +354,7 @@ function prompt(parser, config) {
353
354
  };
354
355
  return {
355
356
  success: true,
357
+ ...result$1.provisional ? { provisional: true } : {},
356
358
  next: {
357
359
  ...result$1.next,
358
360
  state: nextState$1
package/dist/index.js CHANGED
@@ -297,6 +297,7 @@ function prompt(parser, config) {
297
297
  $stateType: parser.$stateType,
298
298
  priority: parser.priority,
299
299
  [inheritParentAnnotationsKey]: true,
300
+ [Symbol.for("@optique/core/optionalStyleWrapper")]: true,
300
301
  usage: parser.usage.length === 1 && parser.usage[0].type === "optional" ? parser.usage : [{
301
302
  type: "optional",
302
303
  terms: parser.usage
@@ -330,6 +331,7 @@ function prompt(parser, config) {
330
331
  };
331
332
  return {
332
333
  success: true,
334
+ ...result$1.provisional ? { provisional: true } : {},
333
335
  next: {
334
336
  ...result$1.next,
335
337
  state: nextState$1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optique/inquirer",
3
- "version": "1.0.0-dev.1692+5c265bd4",
3
+ "version": "1.0.0-dev.1693+e2748d7a",
4
4
  "description": "Interactive prompt support for Optique via Inquirer.js",
5
5
  "keywords": [
6
6
  "CLI",
@@ -56,13 +56,13 @@
56
56
  "sideEffects": false,
57
57
  "dependencies": {
58
58
  "@inquirer/prompts": "^8.3.0",
59
- "@optique/core": "1.0.0-dev.1692+5c265bd4"
59
+ "@optique/core": "1.0.0-dev.1693+e2748d7a"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@types/node": "^20.19.9",
63
63
  "tsdown": "^0.13.0",
64
64
  "typescript": "^5.8.3",
65
- "@optique/env": "1.0.0-dev.1692+5c265bd4"
65
+ "@optique/env": "1.0.0-dev.1693+e2748d7a"
66
66
  },
67
67
  "scripts": {
68
68
  "build": "tsdown",