@metasession.co/devaudit-cli 0.3.2 → 0.3.3

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.3.2",
3
+ "version": "0.3.3",
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": "^0.3.2",
36
+ "@metasession.co/devaudit-plugin-sdk": "^0.3.3",
37
37
  "ajv": "^8.20.0",
38
38
  "commander": "^12.1.0",
39
39
  "consola": "^3.2.3",
@@ -258,10 +258,21 @@ npm audit --help
258
258
 
259
259
  ### 5b. Playwright
260
260
 
261
+ `devaudit install` / `devaudit update` automatically adds a `postinstall` script to `package.json` that runs `playwright install chromium` after `npm ci` / `npm install`. No manual browser install step is needed.
262
+
263
+ If you prefer to install browsers manually, or the `postinstall` was skipped:
264
+
261
265
  ```bash
262
266
  npx playwright install chromium
263
267
  ```
264
268
 
269
+ > **`devaudit install` / `devaudit update` automates this.** When `@playwright/test`
270
+ > is in the stack's `required_dev_dependencies`, the CLI automatically adds a
271
+ > `postinstall` script (`"playwright install chromium"`) to your `package.json`.
272
+ > This ensures `npx playwright test` works without prompting to install browsers
273
+ > after a fresh `npm ci`. If a `postinstall` script already exists, it is never
274
+ > overwritten — a warning is logged instead.
275
+
265
276
  ### 5c. Git hooks (required — enforces commit conventions and pre-push gates)
266
277
 
267
278
  Install husky, commitlint, and lint-staged:
package/sdlc/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metasession.co/devaudit-sdlc",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "DevAudit SDLC CLI Engine — cross-agent terminal-driven SDLC orchestrator.",
5
5
  "bin": {
6
6
  "devaudit-sdlc": "./src/bin/devaudit-sdlc.js"