@toolbaux/guardian 0.1.19 → 0.1.20

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/cli.js +4 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1,4 +1,7 @@
1
1
  #!/usr/bin/env node
2
+ import { createRequire } from "node:module";
3
+ const _require = createRequire(import.meta.url);
4
+ const { version } = _require("../package.json");
2
5
  import { Command } from "commander";
3
6
  import { runExtract } from "./commands/extract.js";
4
7
  import { runDrift } from "./commands/drift.js";
@@ -24,7 +27,7 @@ const program = new Command();
24
27
  program
25
28
  .name("guardian")
26
29
  .description("Guardian — Architectural intelligence for codebases (by Toolbaux)")
27
- .version("0.1.0");
30
+ .version(version);
28
31
  program
29
32
  .command("generate")
30
33
  .description("Generate compact AI-ready architecture context")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toolbaux/guardian",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "type": "module",
5
5
  "description": "Architectural intelligence for codebases. Verify that AI-generated code matches your architectural intent.",
6
6
  "keywords": [