@seguelac/aca-cli 0.6.0 → 0.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.
- package/CHANGELOG.md +5 -0
- package/dist/index.js +6 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `aca-cli` are documented here. Format loosely follows [Keep a Changelog](https://keepachangelog.com/).
|
|
4
4
|
|
|
5
|
+
## [0.6.1] - 2026-09-02
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
- `aca --version` reported `0.5.0` on the 0.6.0 build — a `VERSION` constant hardcoded in `index.ts` had drifted from `package.json` (the same class of bug called out in 0.4.0's changelog). Now read from `package.json` at runtime so the two can't diverge again.
|
|
9
|
+
|
|
5
10
|
## [0.6.0] - 2026-09-02
|
|
6
11
|
|
|
7
12
|
### Fixed
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import { readFileSync } from 'node:fs';
|
|
3
|
+
import { fileURLToPath } from 'node:url';
|
|
4
|
+
import { dirname, join } from 'node:path';
|
|
2
5
|
import { Command } from 'commander';
|
|
3
6
|
import { registerAuth } from './commands/auth.js';
|
|
4
7
|
import { registerOrg } from './commands/org.js';
|
|
@@ -15,7 +18,9 @@ import { registerAutopilot } from './commands/autopilot.js';
|
|
|
15
18
|
import { registerConfig } from './commands/config.js';
|
|
16
19
|
import { registerCompletion } from './commands/completion.js';
|
|
17
20
|
import { maybeCheckForUpdate } from './update-check.js';
|
|
18
|
-
const
|
|
21
|
+
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
22
|
+
const pkg = JSON.parse(readFileSync(join(__dirname, '../package.json'), 'utf8'));
|
|
23
|
+
const VERSION = pkg.version;
|
|
19
24
|
const program = new Command();
|
|
20
25
|
program
|
|
21
26
|
.name('aca')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seguelac/aca-cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Command-line interface for ACA (Automated Client Acquisition) — push leads to campaigns, triage replies, manage contacts, all from your terminal.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|