@optique/discover 1.3.0-dev.2536 → 1.3.0-dev.2540

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/cli.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  const require_chunk = require('./chunk-CUT6urMc.cjs');
3
3
  require('./command-CfkGTUEa.cjs');
4
- require('./src-DbaTtwIl.cjs');
5
- const require_generator = require('./generator-CNhp71NK.cjs');
4
+ require('./src-Dx_NHm02.cjs');
5
+ const require_generator = require('./generator-Buy6jb5c.cjs');
6
6
  const require_main_check = require('./main-check-CwunSNpK.cjs');
7
7
  const __optique_core_constructs = require_chunk.__toESM(require("@optique/core/constructs"));
8
8
  const __optique_core_message = require_chunk.__toESM(require("@optique/core/message"));
@@ -15,7 +15,7 @@ const node_process = require_chunk.__toESM(require("node:process"));
15
15
 
16
16
  //#region deno.json
17
17
  var name = "@optique/discover";
18
- var version = "1.3.0-dev.2536+22f9c880";
18
+ var version = "1.3.0-dev.2540+a24fec00";
19
19
  var license = "MIT";
20
20
  var exports$1 = {
21
21
  ".": "./src/index.ts",
package/dist/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import "./command-CfQmeg9P.js";
3
- import "./src-BSEAgsAL.js";
4
- import { watchCommandsModule, writeCommandsModule } from "./generator-BIhI-TjS.js";
3
+ import "./src-8iU4rOLF.js";
4
+ import { watchCommandsModule, writeCommandsModule } from "./generator-ZAT7FsJn.js";
5
5
  import { isMainModuleUrl } from "./main-check-mMnKfUZs.js";
6
6
  import { object } from "@optique/core/constructs";
7
7
  import { message } from "@optique/core/message";
@@ -14,7 +14,7 @@ import process from "node:process";
14
14
 
15
15
  //#region deno.json
16
16
  var name = "@optique/discover";
17
- var version = "1.3.0-dev.2536+22f9c880";
17
+ var version = "1.3.0-dev.2540+a24fec00";
18
18
  var license = "MIT";
19
19
  var exports = {
20
20
  ".": "./src/index.ts",
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require('./chunk-CUT6urMc.cjs');
2
- const require_src = require('./src-DbaTtwIl.cjs');
2
+ const require_src = require('./src-Dx_NHm02.cjs');
3
3
  const node_fs_promises = require_chunk.__toESM(require("node:fs/promises"));
4
4
  const node_path = require_chunk.__toESM(require("node:path"));
5
5
  const node_url = require_chunk.__toESM(require("node:url"));
@@ -1,4 +1,4 @@
1
- import { getDefaultExtensions } from "./src-BSEAgsAL.js";
1
+ import { getDefaultExtensions } from "./src-8iU4rOLF.js";
2
2
  import { mkdir, readdir, realpath, stat, writeFile } from "node:fs/promises";
3
3
  import { dirname, posix, relative, resolve } from "node:path";
4
4
  import { fileURLToPath } from "node:url";
@@ -1,6 +1,6 @@
1
1
  require('./command-CfkGTUEa.cjs');
2
- require('./src-DbaTtwIl.cjs');
3
- const require_generator = require('./generator-CNhp71NK.cjs');
2
+ require('./src-Dx_NHm02.cjs');
3
+ const require_generator = require('./generator-Buy6jb5c.cjs');
4
4
 
5
5
  exports.generateCommandsModule = require_generator.generateCommandsModule;
6
6
  exports.watchCommandsModule = require_generator.watchCommandsModule;
package/dist/generator.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./command-CfQmeg9P.js";
2
- import "./src-BSEAgsAL.js";
3
- import { generateCommandsModule, watchCommandsModule, writeCommandsModule } from "./generator-BIhI-TjS.js";
2
+ import "./src-8iU4rOLF.js";
3
+ import { generateCommandsModule, watchCommandsModule, writeCommandsModule } from "./generator-ZAT7FsJn.js";
4
4
 
5
5
  export { generateCommandsModule, watchCommandsModule, writeCommandsModule };
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  const require_command = require('./command-CfkGTUEa.cjs');
2
- const require_src = require('./src-DbaTtwIl.cjs');
2
+ const require_src = require('./src-Dx_NHm02.cjs');
3
3
 
4
4
  exports.commandsFromModules = require_src.commandsFromModules;
5
5
  exports.createProgramParser = require_src.createProgramParser;
package/dist/index.d.cts CHANGED
@@ -325,6 +325,8 @@ declare function createProgramParser(commands: readonly CommandEntry[], options?
325
325
  *
326
326
  * @template R The resource made available by program-level lifecycle hooks.
327
327
  * @param options Program options.
328
+ * @throws {RangeError} If rendering help or errors encounters an invalid theme
329
+ * color, even when colors are disabled.
328
330
  * @returns A promise that resolves after the selected command handler
329
331
  * completes.
330
332
  * @throws {TypeError} If discovery or command loading fails, or `hooks` is
package/dist/index.d.ts CHANGED
@@ -325,6 +325,8 @@ declare function createProgramParser(commands: readonly CommandEntry[], options?
325
325
  *
326
326
  * @template R The resource made available by program-level lifecycle hooks.
327
327
  * @param options Program options.
328
+ * @throws {RangeError} If rendering help or errors encounters an invalid theme
329
+ * color, even when colors are disabled.
328
330
  * @returns A promise that resolves after the selected command handler
329
331
  * completes.
330
332
  * @throws {TypeError} If discovery or command loading fails, or `hooks` is
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { defineCommand, isCommand } from "./command-CfQmeg9P.js";
2
- import { commandsFromModules, createProgramParser, discoverCommands, getDefaultExtensions, runProgram } from "./src-BSEAgsAL.js";
2
+ import { commandsFromModules, createProgramParser, discoverCommands, getDefaultExtensions, runProgram } from "./src-8iU4rOLF.js";
3
3
 
4
4
  export { commandsFromModules, createProgramParser, defineCommand, discoverCommands, getDefaultExtensions, isCommand, runProgram };
@@ -148,6 +148,8 @@ function createProgramParser(commands, options = {}) {
148
148
  *
149
149
  * @template R The resource made available by program-level lifecycle hooks.
150
150
  * @param options Program options.
151
+ * @throws {RangeError} If rendering help or errors encounters an invalid theme
152
+ * color, even when colors are disabled.
151
153
  * @returns A promise that resolves after the selected command handler
152
154
  * completes.
153
155
  * @throws {TypeError} If discovery or command loading fails, or `hooks` is
@@ -149,6 +149,8 @@ function createProgramParser(commands, options = {}) {
149
149
  *
150
150
  * @template R The resource made available by program-level lifecycle hooks.
151
151
  * @param options Program options.
152
+ * @throws {RangeError} If rendering help or errors encounters an invalid theme
153
+ * color, even when colors are disabled.
152
154
  * @returns A promise that resolves after the selected command handler
153
155
  * completes.
154
156
  * @throws {TypeError} If discovery or command loading fails, or `hooks` is
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optique/discover",
3
- "version": "1.3.0-dev.2536",
3
+ "version": "1.3.0-dev.2540",
4
4
  "description": "Runtime-aware command discovery for Optique CLI programs",
5
5
  "keywords": [
6
6
  "CLI",
@@ -83,11 +83,11 @@
83
83
  "optique-discover": "./dist/cli.js"
84
84
  },
85
85
  "dependencies": {
86
- "@optique/core": "1.3.0-dev.2536+22f9c880",
87
- "@optique/run": "1.3.0-dev.2536+22f9c880"
86
+ "@optique/core": "1.3.0-dev.2540+a24fec00",
87
+ "@optique/run": "1.3.0-dev.2540+a24fec00"
88
88
  },
89
89
  "devDependencies": {
90
- "@optique/testing": "1.3.0-dev.2536+22f9c880",
90
+ "@optique/testing": "1.3.0-dev.2540+a24fec00",
91
91
  "@types/node": "^24.0.0",
92
92
  "tsdown": "^0.13.0",
93
93
  "typescript": "^5.8.3"