@metasession.co/devaudit-cli 0.1.67 → 0.1.68

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metasession.co/devaudit-cli",
3
- "version": "0.1.67",
3
+ "version": "0.1.68",
4
4
  "description": "DevAudit CLI — installs, syncs, and operates the Metasession SDLC across consumer projects.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@clack/prompts": "^0.8.2",
36
- "@metasession.co/devaudit-plugin-sdk": "file:../plugin-sdk",
36
+ "@metasession.co/devaudit-plugin-sdk": "^0.1.68",
37
37
  "ajv": "^8.20.0",
38
38
  "commander": "^12.1.0",
39
39
  "consola": "^3.2.3",
@@ -32,6 +32,8 @@ devaudit install ../path/to/this-project
32
32
 
33
33
  The CLI ships the framework templates inside the package, so no DevAudit-Installer checkout is needed. If `sdlc-config.json` already exists in the target, `install` runs non-interactively from it and preserves your customisations (`app_env`, `build_env`, `e2e_*`, etc.). See [`docs/onboarding.md` in DevAudit-Installer](https://github.com/metasession-dev/DevAudit-Installer/blob/main/docs/onboarding.md) for the full walkthrough.
34
34
 
35
+ > **Version checks use npm, not GitHub releases.** The CLI is published to npm as `@metasession.co/devaudit-cli`. Check your installed version with `devaudit --version` and the latest published version with `npm view @metasession.co/devaudit-cli version`. Upgrade with `npm install -g @metasession.co/devaudit-cli@latest`. The `npx @metasession.co/devaudit-cli@latest` invocation always pulls the latest from npm — no global install needed for one-off or CI use.
36
+
35
37
  If you take the fast path, skip to Step 6 (Tier 1 docs reference) — Steps 1–5 are handled automatically. The remaining manual steps in this guide are still relevant: project-specific customisation of `INSTRUCTIONS.md` and `CLAUDE.md`, optional UAT-environment configuration, and verifying the first end-to-end release walks through Stages 1–5 cleanly.
36
38
 
37
39
  The steps below are the **manual reference** — useful for understanding what the CLI does, or for environments where it can't run. Where a step produces a framework file (CI workflows, hooks, scripts), **copy the canonical template from the DevAudit-Installer repo (`sdlc/files/…`) and fill its placeholders** rather than authoring it by hand — a hand-written `ci.yml` routinely omits the DevAudit `register-release` / `upload-evidence` jobs and leaves releases unable to pass the compliance gates.
@@ -55,6 +55,30 @@ npm install -g @metasession.co/devaudit-cli
55
55
  devaudit --version # ≥ 0.1.23 — earlier versions don't have the dev-mode safety net
56
56
  ```
57
57
 
58
+ #### Checking for updates
59
+
60
+ The CLI is distributed via **npm** — not GitHub releases. To check your current version against the latest published on npm:
61
+
62
+ ```bash
63
+ # Your installed version:
64
+ devaudit --version
65
+
66
+ # Latest version on npm:
67
+ npm view @metasession.co/devaudit-cli version
68
+
69
+ # All published versions (if you need to pin to a specific one):
70
+ npm view @metasession.co/devaudit-cli versions --json
71
+ ```
72
+
73
+ If your installed version is behind `npm view` output, upgrade:
74
+
75
+ ```bash
76
+ npm install -g @metasession.co/devaudit-cli@latest
77
+ devaudit --version # confirm the bump
78
+ ```
79
+
80
+ The `npx @metasession.co/devaudit-cli@latest` invocation always pulls the latest npm version on first run — no global install needed. Use this for CI or one-off commands to guarantee you're on the current release.
81
+
58
82
  ### 2. Issue + paste a personal access token
59
83
 
60
84
  Visit `https://devaudit.metasession.co/settings/tokens`, create a token (it starts with `mctok_`), then:
@@ -1,11 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "Bash(git init:*)",
5
- "Bash(git add:*)",
6
- "Bash(git branch:*)",
7
- "Bash(git commit:*)",
8
- "Bash(gh repo:*)"
9
- ]
10
- }
11
- }