@athsra/cli 1.1.6 → 1.1.7
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/package.json +1 -1
- package/src/index.ts +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@athsra/cli",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"description": "athsra CLI — E2EE secret manager on Cloudflare edge. Doppler-style dev UX + zero-knowledge encryption + soft-delete + version history. MIT.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
package/src/index.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
|
+
import pkg from '../package.json';
|
|
2
3
|
import { projectCmd, roleCmd, usersCmd } from './commands/admin.ts';
|
|
3
4
|
import { adoptCmd } from './commands/adopt.ts';
|
|
4
5
|
import { auditCmd } from './commands/audit.ts';
|
|
@@ -29,7 +30,8 @@ import { setCmd } from './commands/set.ts';
|
|
|
29
30
|
import { unsetCmd } from './commands/unset.ts';
|
|
30
31
|
import { versionsCmd } from './commands/versions.ts';
|
|
31
32
|
|
|
32
|
-
|
|
33
|
+
// package.json 단일 출처 — 하드코딩 desync 방지(1.1.3 이후 bump 누락으로 --version 이 stale 했던 버그 근본 수정).
|
|
34
|
+
const VERSION = pkg.version;
|
|
33
35
|
|
|
34
36
|
const commands: Record<string, (args: string[]) => Promise<number>> = {
|
|
35
37
|
login: loginCmd,
|