gangtise-openapi-cli 0.7.2 → 0.7.3

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/src/cli.js CHANGED
@@ -187,8 +187,8 @@ function addTimeFilters(command) {
187
187
  .option("--end-time <datetime>", "End time")
188
188
  .option("--keyword <keyword>", "Keyword");
189
189
  }
190
+ import { CLI_VERSION } from "./version.js";
190
191
  const program = new Command();
191
- const CLI_VERSION = "0.7.1";
192
192
  program.name("gangtise").description("Gangtise OpenAPI CLI").version(CLI_VERSION);
193
193
  program
194
194
  .command("auth")
@@ -0,0 +1,2 @@
1
+ // Auto-generated by scripts/version.ts — DO NOT EDIT
2
+ export const CLI_VERSION = "0.7.3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gangtise-openapi-cli",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "CLI for Gangtise OpenAPI",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -23,7 +23,7 @@
23
23
  "build": "tsc -p tsconfig.json",
24
24
  "dev": "tsx src/cli.ts",
25
25
  "test": "vitest run",
26
- "prepare": "npm run build"
26
+ "prepare": "tsx scripts/version.ts && npm run build"
27
27
  },
28
28
  "engines": {
29
29
  "node": ">=20"