@metasession.co/devaudit-cli 0.1.72 → 0.1.73

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.72",
3
+ "version": "0.1.73",
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.1.72",
36
+ "@metasession.co/devaudit-plugin-sdk": "^0.1.73",
37
37
  "ajv": "^8.20.0",
38
38
  "commander": "^12.1.0",
39
39
  "consola": "^3.2.3",
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env bash
1
+ #!/bin/sh
2
2
  # Husky pre-push hook — fast gates + E2E evidence + skill-invocation sentinel + compliance validator.
3
3
  #
4
4
  # Runs four checks before allowing a push:
@@ -13,7 +13,7 @@
13
13
  #
14
14
  # Install: cp this file to .husky/pre-push && chmod +x .husky/pre-push
15
15
 
16
- set -euo pipefail
16
+ set -eu
17
17
 
18
18
  # ── 1. TypeScript check ──────────────────────────────────────────────
19
19
  echo "Pre-push: running TypeScript check..."
@@ -35,9 +35,10 @@ INTEGRATION_BRANCH=$(jq -r '.integration_branch // "develop"' sdlc-config.json 2
35
35
  # Read stdin to get the pushed refs (husky pre-push protocol)
36
36
  while read -r local_ref local_sha remote_ref remote_sha; do
37
37
  # Check if pushing to the integration branch
38
- if [[ "$remote_ref" != *"refs/heads/$INTEGRATION_BRANCH" ]]; then
39
- continue
40
- fi
38
+ case "$remote_ref" in
39
+ *"refs/heads/$INTEGRATION_BRANCH") ;;
40
+ *) continue ;;
41
+ esac
41
42
 
42
43
  # Determine the commit range being pushed
43
44
  if [ "$remote_sha" = "0000000000000000000000000000000000000000" ]; then
@@ -79,9 +80,10 @@ TRACKED_TYPES='^(feat|fix|refactor|perf)(\(.+\))?!?:'
79
80
  HAS_TRACKED=false
80
81
 
81
82
  while read -r local_ref local_sha remote_ref remote_sha; do
82
- if [[ "$remote_ref" != *"refs/heads/$INTEGRATION_BRANCH" ]]; then
83
- continue
84
- fi
83
+ case "$remote_ref" in
84
+ *"refs/heads/$INTEGRATION_BRANCH") ;;
85
+ *) continue ;;
86
+ esac
85
87
  if [ "$remote_sha" = "0000000000000000000000000000000000000000" ]; then
86
88
  RANGE="$local_sha"
87
89
  else