premise-commander 0.1.0 → 0.1.1

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 (2) hide show
  1. package/dist/index.js +9 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bun
2
2
  // @bun
3
3
 
4
- // ../node_modules/commander/lib/error.js
4
+ // ../../node_modules/commander/lib/error.js
5
5
  class CommanderError extends Error {
6
6
  constructor(exitCode, code, message) {
7
7
  super(message);
@@ -21,7 +21,7 @@ class InvalidArgumentError extends CommanderError {
21
21
  }
22
22
  }
23
23
 
24
- // ../node_modules/commander/lib/argument.js
24
+ // ../../node_modules/commander/lib/argument.js
25
25
  class Argument {
26
26
  constructor(name, description) {
27
27
  this.description = description || "";
@@ -95,7 +95,7 @@ function humanReadableArgName(arg) {
95
95
  return arg.required ? "<" + nameOutput + ">" : "[" + nameOutput + "]";
96
96
  }
97
97
 
98
- // ../node_modules/commander/lib/command.js
98
+ // ../../node_modules/commander/lib/command.js
99
99
  import { EventEmitter } from "events";
100
100
  import childProcess from "child_process";
101
101
  import path from "path";
@@ -103,7 +103,7 @@ import fs from "fs";
103
103
  import process2 from "process";
104
104
  import { stripVTControlCharacters as stripVTControlCharacters2 } from "util";
105
105
 
106
- // ../node_modules/commander/lib/help.js
106
+ // ../../node_modules/commander/lib/help.js
107
107
  import { stripVTControlCharacters } from "util";
108
108
 
109
109
  class Help {
@@ -452,7 +452,7 @@ ${itemIndentStr}`);
452
452
  }
453
453
  }
454
454
 
455
- // ../node_modules/commander/lib/option.js
455
+ // ../../node_modules/commander/lib/option.js
456
456
  class Option {
457
457
  constructor(flags, description) {
458
458
  this.flags = flags;
@@ -630,7 +630,7 @@ function splitOptionFlags(flags) {
630
630
  return { shortFlag, longFlag };
631
631
  }
632
632
 
633
- // ../node_modules/commander/lib/suggestSimilar.js
633
+ // ../../node_modules/commander/lib/suggestSimilar.js
634
634
  var maxDistance = 3;
635
635
  function editDistance(a, b) {
636
636
  if (Math.abs(a.length - b.length) > maxDistance)
@@ -700,7 +700,7 @@ function suggestSimilar(word, candidates) {
700
700
  return "";
701
701
  }
702
702
 
703
- // ../node_modules/commander/lib/command.js
703
+ // ../../node_modules/commander/lib/command.js
704
704
  class Command extends EventEmitter {
705
705
  constructor(name) {
706
706
  super();
@@ -2042,7 +2042,7 @@ function useColor() {
2042
2042
  return;
2043
2043
  }
2044
2044
 
2045
- // ../node_modules/commander/index.js
2045
+ // ../../node_modules/commander/index.js
2046
2046
  var program = new Command;
2047
2047
 
2048
2048
  // src/cli.ts
@@ -2054,5 +2054,5 @@ function createProgram(write = console.log, version = "0.1.0") {
2054
2054
  }
2055
2055
 
2056
2056
  // src/index.ts
2057
- var version = "0.1.0";
2057
+ var version = "0.1.1";
2058
2058
  await createProgram(console.log, version).parseAsync(process.argv);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "premise-commander",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "private": false,
5
5
  "description": "A minimal Bun CLI starter built with Commander",
6
6
  "license": "MIT",