@arvoretech/hub 0.7.5 → 0.7.6

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 +11 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2762,10 +2762,10 @@ import { fileURLToPath } from "url";
2762
2762
  import chalk16 from "chalk";
2763
2763
  var PACKAGE_NAME = "@arvoretech/hub";
2764
2764
  function getCurrentVersion() {
2765
- const __dirname = dirname(fileURLToPath(import.meta.url));
2766
- const pkgPath = join16(__dirname, "..", "package.json");
2767
- const pkg = JSON.parse(readFileSync(pkgPath, "utf-8"));
2768
- return pkg.version;
2765
+ const __dirname2 = dirname(fileURLToPath(import.meta.url));
2766
+ const pkgPath = join16(__dirname2, "..", "package.json");
2767
+ const pkg2 = JSON.parse(readFileSync(pkgPath, "utf-8"));
2768
+ return pkg2.version;
2769
2769
  }
2770
2770
  async function getLatestVersion() {
2771
2771
  const res = await fetch(`https://registry.npmjs.org/${PACKAGE_NAME}/latest`);
@@ -3169,10 +3169,16 @@ Run ${chalk18.bold("hub generate")} to update editor configs.
3169
3169
  });
3170
3170
 
3171
3171
  // src/index.ts
3172
+ import { readFileSync as readFileSync2 } from "fs";
3173
+ import { fileURLToPath as fileURLToPath2 } from "url";
3174
+ import { dirname as dirname2, join as join18 } from "path";
3175
+ var __filename = fileURLToPath2(import.meta.url);
3176
+ var __dirname = dirname2(__filename);
3177
+ var pkg = JSON.parse(readFileSync2(join18(__dirname, "..", "package.json"), "utf-8"));
3172
3178
  var program = new Command19();
3173
3179
  program.name("hub").description(
3174
3180
  "Give your AI coding assistant the full picture. Multi-repo context, agent orchestration, and end-to-end workflows."
3175
- ).version("0.7.3").enablePositionalOptions();
3181
+ ).version(pkg.version).enablePositionalOptions();
3176
3182
  program.addCommand(initCommand);
3177
3183
  program.addCommand(addRepoCommand);
3178
3184
  program.addCommand(setupCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arvoretech/hub",
3
- "version": "0.7.5",
3
+ "version": "0.7.6",
4
4
  "description": "CLI for managing AI-aware multi-repository workspaces",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",