@neuralconfig/nrepo 0.0.5 → 0.0.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 +5 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1550,7 +1550,11 @@ async function updateSkillFile() {
1550
1550
  }
1551
1551
 
1552
1552
  // src/index.ts
1553
- var VERSION = "0.0.4";
1553
+ import { readFileSync as readFileSync2 } from "fs";
1554
+ import { fileURLToPath as fileURLToPath2 } from "url";
1555
+ import { dirname as dirname2, join as join4 } from "path";
1556
+ var __dirname = dirname2(fileURLToPath2(import.meta.url));
1557
+ var VERSION = JSON.parse(readFileSync2(join4(__dirname, "..", "package.json"), "utf8")).version;
1554
1558
  var program = new Command();
1555
1559
  program.name("nrepo").description("NeuralRepo \u2014 capture and manage ideas from the terminal").version(VERSION);
1556
1560
  program.command("login").description("Authenticate with NeuralRepo").option("--api-key", "Login with an API key instead of browser OAuth").action(wrap(loginCommand));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neuralconfig/nrepo",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "NeuralRepo CLI — capture and manage ideas from the terminal",
5
5
  "type": "module",
6
6
  "bin": {