configsentry 0.0.22 → 0.0.23

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.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -69,13 +69,13 @@ node dist/cli.js --target ./docker-compose.yml
69
69
  ### JSON output (CI / tooling)
70
70
 
71
71
  ```bash
72
- node dist/cli.js --target ./docker-compose.yml --json
72
+ node dist/cli.js --target ./docker-compose.yml --format json
73
73
  ```
74
74
 
75
75
  ### SARIF output (GitHub Code Scanning)
76
76
 
77
77
  ```bash
78
- node dist/cli.js --target ./docker-compose.yml --sarif > configsentry.sarif.json
78
+ node dist/cli.js --target ./docker-compose.yml --format sarif > configsentry.sarif.json
79
79
  ```
80
80
 
81
81
  ## Baselines (incremental adoption)
@@ -92,6 +92,8 @@ Then suppress baseline findings in CI:
92
92
  node dist/cli.js --target ./docker-compose.yml --baseline .configsentry-baseline.json
93
93
  ```
94
94
 
95
+ Tip: for machine output use `--format json` / `--format sarif`.
96
+
95
97
  ## Docs
96
98
 
97
99
  - GitHub Action usage examples: [`docs/action-usage.md`](docs/action-usage.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "configsentry",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
4
4
  "description": "Developer-first guardrails for docker-compose.yml (security + ops footguns).",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -26,7 +26,7 @@
26
26
  "node": ">=18"
27
27
  },
28
28
  "scripts": {
29
- "test": "node --test dist/**/*.test.js",
29
+ "test": "node scripts/run-tests.mjs",
30
30
  "build": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.json",
31
31
  "prepack": "npm run build",
32
32
  "start": "node dist/cli.js",