@metasession.co/devaudit-cli 0.1.54 → 0.1.55
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/README.md +14 -6
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/sdlc/CLAUDE.md +1 -3
- package/sdlc/files/_common/skills/adr-author/SKILL.md +1 -1
- package/sdlc/article.md +0 -219
package/README.md
CHANGED
|
@@ -6,9 +6,21 @@ This is the source of `@metasession.co/devaudit-cli` (binary name: `devaudit`).
|
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
|
+
`npx` is the canonical zero-install invocation — pulls the latest version on first run:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx @metasession.co/devaudit-cli@latest --help
|
|
13
|
+
npx @metasession.co/devaudit-cli@latest install ../path/to/your-project
|
|
14
|
+
npx @metasession.co/devaudit-cli@latest update
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Prefer a permanent install? Run once, then the short forms work everywhere:
|
|
18
|
+
|
|
9
19
|
```bash
|
|
10
20
|
npm install -g @metasession.co/devaudit-cli
|
|
11
21
|
devaudit --help
|
|
22
|
+
devaudit install ../path/to/your-project
|
|
23
|
+
devaudit update
|
|
12
24
|
```
|
|
13
25
|
|
|
14
26
|
Requires Node ≥ 22. Native binaries (no Node runtime needed) are on the roadmap.
|
|
@@ -71,15 +83,11 @@ cli/
|
|
|
71
83
|
└── version.ts # CLI version constant
|
|
72
84
|
```
|
|
73
85
|
|
|
74
|
-
Future structure (per [build-plan.md](../docs/devaudit-cli/build-plan.md)): `src/commands/{install,update,push,auth/*,org/*,plugin/*,config/*,status,upgrade}.ts` and `src/lib/{adapter,devaudit-api,sdlc-config,auth,git-provider,policy,plugin,report,prompts,paths,stack-detect}.ts`.
|
|
75
|
-
|
|
76
86
|
## Why a CLI (it replaced the original bash scripts)
|
|
77
87
|
|
|
78
88
|
- Cross-platform native (Linux/macOS/Windows; no WSL requirement)
|
|
79
89
|
- JSON output mode on every command for CI
|
|
80
90
|
- Interactive UX comparable to Vercel/Supabase/Firebase/GH/Railway CLIs
|
|
81
|
-
-
|
|
82
|
-
- Plugin extensibility
|
|
91
|
+
- Plugin extensibility (`@metasession.co/devaudit-plugin-sdk` defines the contract; `@metasession.co/devaudit-plugin-prisma` + `@metasession.co/devaudit-plugin-evidence-export` are first-party reference implementations)
|
|
83
92
|
- Organisation-level features: policy-as-code, RBAC, centralised reporting
|
|
84
|
-
|
|
85
|
-
The full motivation lives in [`../docs/devaudit-cli/README.md`](../docs/devaudit-cli/README.md).
|
|
93
|
+
- Single-binary distribution via Node SEA (no Node runtime required on the user's machine) — on the roadmap
|
package/dist/index.js
CHANGED
|
@@ -55,7 +55,7 @@ function emitJsonResult(payload) {
|
|
|
55
55
|
|
|
56
56
|
// package.json
|
|
57
57
|
var package_default = {
|
|
58
|
-
version: "0.1.
|
|
58
|
+
version: "0.1.55"};
|
|
59
59
|
|
|
60
60
|
// src/lib/version.ts
|
|
61
61
|
var CLI_VERSION = package_default.version;
|
|
@@ -2556,7 +2556,9 @@ function makeStub(info) {
|
|
|
2556
2556
|
if (info.trackedIn) {
|
|
2557
2557
|
log.info(`Tracked in: ${info.trackedIn}`);
|
|
2558
2558
|
}
|
|
2559
|
-
log.info(
|
|
2559
|
+
log.info(
|
|
2560
|
+
"File an issue at https://github.com/metasession-dev/DevAudit-Installer/issues if you need this command."
|
|
2561
|
+
);
|
|
2560
2562
|
process.exit(1);
|
|
2561
2563
|
};
|
|
2562
2564
|
}
|