@theholocron/kyber 5.0.0-alpha.421 → 5.0.0-alpha.423

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.
@@ -89,7 +89,7 @@ interface OptionPrompt {
89
89
  }
90
90
  /**
91
91
  * One of a command's mutually exclusive workflows (holocron#1052 follow-up)
92
- * — `package publish`'s steady-state publish, `--initial` bootstrap, and
92
+ * — `publish package`'s steady-state publish, `--initial` bootstrap, and
93
93
  * `--sync-trust` maintenance mode are three different things to do, not
94
94
  * three independent flags. The mode picked first decides which options are
95
95
  * even offered, so nothing contingent on another mode is ever shown.
@@ -135,7 +135,7 @@ interface ResolvedOptions {
135
135
  }
136
136
  /** The part of a command that {@link promptForOptions} needs: its name and the options (or modes) to offer. */
137
137
  interface OptionsCommand {
138
- /** Full command name as typed at the CLI, e.g. `"package publish"`. */
138
+ /** Full command name as typed at the CLI, e.g. `"publish package"`. */
139
139
  name: string;
140
140
  /** Declared options, in order. Undefined/empty means nothing to offer — no prompt at all. Ignored when `modes` is set. */
141
141
  options?: OptionPrompt[];
package/dist/menu.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { c as OptionPrompt, p as MenuItem, r as PositionalPrompt, s as OptionMode, u as ResolvedOptions } from "./index-DpXxO_wH.mjs";
1
+ import { c as OptionPrompt, p as MenuItem, r as PositionalPrompt, s as OptionMode, u as ResolvedOptions } from "./index-CNNt_B3Y.mjs";
2
2
  /**
3
3
  * One command in an interactive menu: how it is named, listed, prompted for and spawned. A CLI declares its
4
4
  * whole surface as a list of these and hands it to {@link launchMenu}; kyber never knows which commands exist.
@@ -25,7 +25,7 @@ interface MenuEntry {
25
25
  * own options are then offered, so nothing contingent on a different
26
26
  * mode is ever shown. Use this only when `options` would otherwise
27
27
  * need `when` to express a real either/or relationship between them
28
- * (`package publish`'s steady-state / `--initial` / `--sync-trust`);
28
+ * (`publish package`'s steady-state / `--initial` / `--sync-trust`);
29
29
  * plain `options` stays the simpler default for everything else.
30
30
  */
31
31
  modes?: OptionMode[];
@@ -1,2 +1,2 @@
1
- import { a as promptForOptions, c as OptionPrompt, d as pickMenuItem, f as searchChoices, i as promptForDeferredOptions, l as OptionsCommand, n as PositionalCommand, o as OptionAnswer, p as MenuItem, r as PositionalPrompt, s as OptionMode, t as promptForPositionals, u as ResolvedOptions } from "./index-DpXxO_wH.mjs";
1
+ import { a as promptForOptions, c as OptionPrompt, d as pickMenuItem, f as searchChoices, i as promptForDeferredOptions, l as OptionsCommand, n as PositionalCommand, o as OptionAnswer, p as MenuItem, r as PositionalPrompt, s as OptionMode, t as promptForPositionals, u as ResolvedOptions } from "./index-CNNt_B3Y.mjs";
2
2
  export { type MenuItem, type OptionAnswer, type OptionMode, type OptionPrompt, type OptionsCommand, type PositionalCommand, type PositionalPrompt, type ResolvedOptions, pickMenuItem, promptForDeferredOptions, promptForOptions, promptForPositionals, searchChoices };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/kyber",
3
- "version": "5.0.0-alpha.421",
3
+ "version": "5.0.0-alpha.423",
4
4
  "description": "The reusable parts of a command-line tool: terminal output, prompts, the interactive menu, the update notifier, safe handling of tokens, a test harness and the global flags.",
5
5
  "keywords": [
6
6
  "cli",
@@ -105,12 +105,12 @@
105
105
  "typescript": "^5.9.3",
106
106
  "vitest": "^5.1.0",
107
107
  "yargs": "^18.1.0",
108
- "@theholocron/datapad": "5.0.0-alpha.421",
108
+ "@theholocron/datapad": "5.0.0-alpha.423",
109
+ "@theholocron/tsconfig": "^8.9.0-alpha.17",
109
110
  "@theholocron/observability": "0.7.0-alpha.4",
110
- "@theholocron/tsconfig": "^8.9.0-alpha.16",
111
- "@theholocron/eslint-config": "^8.9.0-alpha.16",
112
- "@theholocron/vitest-config": "^8.9.0-alpha.16",
113
- "@theholocron/tsdown-config": "^8.9.0-alpha.16"
111
+ "@theholocron/vitest-config": "^8.9.0-alpha.17",
112
+ "@theholocron/tsdown-config": "^8.9.0-alpha.17",
113
+ "@theholocron/eslint-config": "^8.9.0-alpha.17"
114
114
  },
115
115
  "peerDependencies": {
116
116
  "@inquirer/prompts": "^8.0.0",
@@ -121,7 +121,7 @@
121
121
  "dotenv": "^17.0.0",
122
122
  "ora": "^9.0.0",
123
123
  "yargs": "^18.0.0",
124
- "@theholocron/datapad": "^5.0.0-alpha.421",
124
+ "@theholocron/datapad": "^5.0.0-alpha.423",
125
125
  "@theholocron/observability": "^0.7.0-alpha.4"
126
126
  },
127
127
  "peerDependenciesMeta": {