@vlandoss/run-run 0.6.0 → 0.6.1-git-48e9b28.0

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.
@@ -1,7 +1,7 @@
1
1
  // @generated by @usage-spec/commander from Commander.js metadata
2
2
  name rr
3
3
  bin rr
4
- version "0.6.0"
4
+ version "0.6.1-git-48e9b28.0"
5
5
  usage "[options] <command...>"
6
6
  flag --usage help="print KDL spec for this CLI (https://kdl.dev)"
7
7
  cmd completion help="print shell completion script 🐚 (usage)" {
package/dist/run.mjs CHANGED
@@ -414,7 +414,7 @@ function createToolCommand(bin, shell) {
414
414
  });
415
415
  }
416
416
  function createToolsCommand(ctx) {
417
- return createCommand("tools").description("expose the internal tools 🛠️").addCommand(createToolCommand("biome", ctx.shell)).addCommand(createToolCommand("oxfmt", ctx.shell)).addCommand(createToolCommand("oxlint", ctx.shell)).addCommand(createToolCommand("tsdown", ctx.shell));
417
+ return createCommand("tools").description("expose the internal tools 🛠️").passThroughOptions().addCommand(createToolCommand("biome", ctx.shell)).addCommand(createToolCommand("oxfmt", ctx.shell)).addCommand(createToolCommand("oxlint", ctx.shell)).addCommand(createToolCommand("tsdown", ctx.shell));
418
418
  }
419
419
  //#endregion
420
420
  //#region src/services/tsc.ts
@@ -520,7 +520,7 @@ async function createProgram(options) {
520
520
  const ctx = await createContext(options.binDir);
521
521
  const version = ctx.binPkg.version;
522
522
  return {
523
- program: addUsage(createCommand("rr").usage("[options] <command...>").version(version, "-v, --version").addHelpText("before", getBannerText(version)).addHelpText("after", CREDITS_TEXT).addCommand(createCompletionCommand()).addCommand(createBuildLibCommand(ctx)).addCommand(createJsCheckCommand(ctx)).addCommand(createTsCheckCommand(ctx)).addCommand(createLintCommand(ctx)).addCommand(createFormatCommand(ctx)).addCommand(createCheckCommand(ctx)).addCommand(createCleanCommand()).addCommand(createPkgsCommand(ctx)).addCommand(createXCommand(ctx)).addCommand(createConfigCommand(ctx)).addCommand(createToolsCommand(ctx), { hidden: true })),
523
+ program: addUsage(createCommand("rr").usage("[options] <command...>").enablePositionalOptions().version(version, "-v, --version").addHelpText("before", getBannerText(version)).addHelpText("after", CREDITS_TEXT).addCommand(createCompletionCommand()).addCommand(createBuildLibCommand(ctx)).addCommand(createJsCheckCommand(ctx)).addCommand(createTsCheckCommand(ctx)).addCommand(createLintCommand(ctx)).addCommand(createFormatCommand(ctx)).addCommand(createCheckCommand(ctx)).addCommand(createCleanCommand()).addCommand(createPkgsCommand(ctx)).addCommand(createXCommand(ctx)).addCommand(createConfigCommand(ctx)).addCommand(createToolsCommand(ctx), { hidden: true })),
524
524
  ctx
525
525
  };
526
526
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vlandoss/run-run",
3
- "version": "0.6.0",
3
+ "version": "0.6.1-git-48e9b28.0",
4
4
  "description": "The CLI toolbox to fullstack common scripts in Variable Land",
5
5
  "homepage": "https://github.com/variableland/dx/tree/main/packages/run-run#readme",
6
6
  "bugs": {
@@ -42,6 +42,7 @@ function createToolCommand(bin: string, shell: ShellService) {
42
42
  export function createToolsCommand(ctx: Context) {
43
43
  return createCommand("tools")
44
44
  .description("expose the internal tools 🛠️")
45
+ .passThroughOptions()
45
46
  .addCommand(createToolCommand("biome", ctx.shell))
46
47
  .addCommand(createToolCommand("oxfmt", ctx.shell))
47
48
  .addCommand(createToolCommand("oxlint", ctx.shell))
@@ -26,6 +26,7 @@ export async function createProgram(options: Options) {
26
26
  const program = addUsage(
27
27
  createCommand("rr")
28
28
  .usage("[options] <command...>")
29
+ .enablePositionalOptions()
29
30
  .version(version, "-v, --version")
30
31
  .addHelpText("before", getBannerText(version))
31
32
  .addHelpText("after", CREDITS_TEXT)