sysprom 1.10.0 → 1.10.2

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.
@@ -1,4 +1,5 @@
1
1
  import { Command } from "commander";
2
+ import packageJson from "../../package.json" with { type: "json" };
2
3
  import { buildCommander } from "./define-command.js";
3
4
  import { validateCommand } from "./commands/validate.js";
4
5
  import { statsCommand } from "./commands/stats.js";
@@ -17,12 +18,11 @@ import { speckitCommand } from "./commands/speckit.js";
17
18
  import { taskCommand } from "./commands/task.js";
18
19
  import { planCommand } from "./commands/plan.js";
19
20
  import { syncCommandDef } from "./commands/sync.js";
20
- const VERSION = "1.0.0";
21
21
  export const program = new Command();
22
22
  program
23
23
  .name("sysprom")
24
24
  .description("System Provenance Model CLI — record where every part of a system came from")
25
- .version(VERSION)
25
+ .version(packageJson.version)
26
26
  .showHelpAfterError(true);
27
27
  export const commands = [
28
28
  validateCommand,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sysprom",
3
- "version": "1.10.0",
3
+ "version": "1.10.2",
4
4
  "description": "SysProM — System Provenance Model CLI and library",
5
5
  "author": "ExaDev",
6
6
  "homepage": "https://exadev.github.io/SysProM",
@@ -45,7 +45,7 @@
45
45
  "schema": "turbo run _schema",
46
46
  "test": "turbo run _test",
47
47
  "test:coverage": "turbo run _test:coverage",
48
- "docs": "turbo run _docs:cli _docs:api",
48
+ "docs": "turbo run _docs:cli _docs:api:html",
49
49
  "docs:serve": "typedoc --watch --serve",
50
50
  "lint": "turbo run _lint",
51
51
  "spm": "tsx src/cli/index.ts",
@@ -57,6 +57,7 @@
57
57
  "_test:coverage": "c8 --src src --exclude 'src/cli/**' --exclude 'src/generate-schema.ts' tsx --test tests/*.test.ts",
58
58
  "_docs:cli": "tsx scripts/generate-cli-docs.ts",
59
59
  "_docs:api": "typedoc",
60
+ "_docs:api:html": "typedoc",
60
61
  "prepare": "husky"
61
62
  },
62
63
  "dependencies": {