@opsrev/acculynx-cli 1.6.0 → 1.6.1

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 +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  // src/index.ts
4
+ import { createRequire } from "module";
4
5
  import { Command } from "commander";
5
6
 
6
7
  // src/config.ts
@@ -1028,8 +1029,10 @@ function registerUnofficialCommands(parentCmd) {
1028
1029
  }
1029
1030
 
1030
1031
  // src/index.ts
1032
+ var require2 = createRequire(import.meta.url);
1033
+ var { version } = require2("../package.json");
1031
1034
  var program = new Command();
1032
- program.name("acculynx").description("AccuLynx CRM CLI for AI agents").version("0.1.0").exitOverride().configureOutput({
1035
+ program.name("acculynx").description("AccuLynx CRM CLI for AI agents").version(version).exitOverride().configureOutput({
1033
1036
  writeOut: (str) => process.stdout.write(str),
1034
1037
  writeErr: (str) => {
1035
1038
  const trimmed = str.trim();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opsrev/acculynx-cli",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "CLI for the AccuLynx roofing CRM API",
5
5
  "type": "module",
6
6
  "bin": {