@metasession.co/devaudit-cli 0.3.29 → 0.3.30
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.
|
|
3
|
+
"version": "0.3.30",
|
|
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.
|
|
36
|
+
"@metasession.co/devaudit-plugin-sdk": "^0.3.30",
|
|
37
37
|
"ajv": "^8.20.0",
|
|
38
38
|
"commander": "^12.1.0",
|
|
39
39
|
"consola": "^3.2.3",
|
|
@@ -445,6 +445,10 @@ jobs:
|
|
|
445
445
|
VERSION=$(echo "$RESP" | jq -r '.latest.version // empty')
|
|
446
446
|
[ -z "$VERSION" ] && VERSION="${PREFIX}"
|
|
447
447
|
RELEASE_ID=$(echo "$RESP" | jq -r '.latest.id // empty')
|
|
448
|
+
EVIDENCE_SCOPE="${VERSION}"
|
|
449
|
+
if [ -n "${STANDALONE_DECLARATION:-}" ] && [ "$VERSION" = "${REQS}" ]; then
|
|
450
|
+
EVIDENCE_SCOPE="_compliance-docs"
|
|
451
|
+
fi
|
|
448
452
|
REQ_FAILURES=0
|
|
449
453
|
LINEAGE_FLAGS=(--test-execution "${CI_RUN}")
|
|
450
454
|
EXECUTION_OUT="$(mktemp)"
|
|
@@ -472,7 +476,7 @@ jobs:
|
|
|
472
476
|
# Production smoke evidence (whole-app health) attached to this release.
|
|
473
477
|
if [ -f prod-smoke-results.json ]; then
|
|
474
478
|
bash scripts/upload-evidence.sh \
|
|
475
|
-
"${PROJECT_SLUG}" "${
|
|
479
|
+
"${PROJECT_SLUG}" "${EVIDENCE_SCOPE}" smoke_test prod-smoke-results.json \
|
|
476
480
|
--release "${VERSION}" --create-release-if-missing --environment production \
|
|
477
481
|
--category smoke_test --sdlc-stage 5 --git-sha "${GIT_SHA}" --ci-run-id "${CI_RUN}" --branch main \
|
|
478
482
|
"${LINEAGE_FLAGS[@]}" \
|
|
@@ -491,7 +495,7 @@ jobs:
|
|
|
491
495
|
done
|
|
492
496
|
if [ -n "$TICKET" ]; then
|
|
493
497
|
bash scripts/upload-evidence.sh \
|
|
494
|
-
"${PROJECT_SLUG}" "${
|
|
498
|
+
"${PROJECT_SLUG}" "${EVIDENCE_SCOPE}" release_ticket "$TICKET" \
|
|
495
499
|
--release "${VERSION}" --create-release-if-missing --environment production \
|
|
496
500
|
--category release_artifact --sdlc-stage 5 --git-sha "${GIT_SHA}" --ci-run-id "${CI_RUN}" --branch main \
|
|
497
501
|
|| { echo "Warning: ticket upload failed for ${VERSION}"; REQ_FAILURES=$((REQ_FAILURES + 1)); }
|
package/sdlc/package.json
CHANGED