repo-do 1.3.0 → 1.3.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.
package/dist/cli.js CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { Command } from 'commander';
3
+ import { createRequire } from 'module';
3
4
  import { initCommand } from './commands/init.js';
4
5
  import { addCommand } from './commands/add.js';
5
6
  import { listCommand } from './commands/list.js';
@@ -8,11 +9,13 @@ import { removeCommand } from './commands/remove.js';
8
9
  import { configCommand } from './commands/config.js';
9
10
  import { scanCommand } from './commands/scan.js';
10
11
 
12
+ const require$1 = createRequire(import.meta.url);
13
+ const packageJson = require$1('../package.json');
11
14
  const program = new Command();
12
15
  program
13
16
  .name('repo-do')
14
17
  .description('Unified git repository management tool')
15
- .version('1.0.0');
18
+ .version(packageJson.version);
16
19
  program
17
20
  .command('init')
18
21
  .description('Initialize configuration')
package/dist/cli.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sources":["../src/cli.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;AAWA,MAAM,OAAO,GAAG,IAAI,OAAO,EAAE;AAE7B;KACG,IAAI,CAAC,SAAS;KACd,WAAW,CAAC,wCAAwC;KACpD,OAAO,CAAC,OAAO,CAAC;AAEnB;KACG,OAAO,CAAC,MAAM;KACd,WAAW,CAAC,0BAA0B;KACtC,MAAM,CAAC,WAAW,CAAC;AAEtB;KACG,OAAO,CAAC,WAAW;KACnB,WAAW,CAAC,wBAAwB;AACpC,KAAA,MAAM,CAAC,QAAQ,EAAE,uBAAuB;AACxC,KAAA,MAAM,CAAC,eAAe,EAAE,wEAAwE;AAChG,KAAA,MAAM,CAAC,gBAAgB,EAAE,oEAAoE;AAC7F,KAAA,kBAAkB;KAClB,MAAM,CAAC,CAAC,GAAW,EAAE,OAAY,EAAE,OAAgB,KAAI;IACtD,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,KAA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kC;KAC9C,MAAM,CAAC,WAAW,CAAC;AAEtB;KACG,OAAO,CAAC,qBAAqB;KAC7B,WAAW,CAAC,uDAAuD;KACnE,MAAM,CAAC,aAAa,CAAC;AAExB;KACG,OAAO,CAAC,iBAAiB;KACzB,WAAW,CAAC,gEAAgE;AAC5E,KAAA,MAAM,CAAC,CAAC,KAAe,KAAI;IAC1B,WAAW,CAAC,KAAK,CAAC;AACpB,CAAC,CAAC;AAEJ;KACG,OAAO,CAAC,QAAQ;KAChB,WAAW,CAAC,8BAA8B;AAC1C,KAAA,MAAM,CAAC,aAAa,EAAE,yBAAyB;AAC/C,KAAA,MAAM,CAAC,aAAa,EAAE,uBAAuB;AAC7C,KAAA,MAAM,CAAC,iBAAiB,EAAE,4BAA4B;AACtD,KAAA,MAAM,CAAC,CAAC,OAAO,KAAI;AAClB,IAAA,aAAa,CAAC;QACZ,GAAG,EAAE,OAAO,CAAC,GAAG;QAChB,GAAG,EAAE,OAAO,CAAC,GAAG;QAChB,KAAK,EAAE,OAAO,CAAC,KAAK;AACrB,KAAA,CAAC;AACJ,CAAC,CAAC;AAEJ,OAAO,CAAC,KAAK,EAAE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repo-do",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Unified git repository management tool",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",