@freshworks/shiftleft-tools 1.1.20 → 1.1.21
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": "@freshworks/shiftleft-tools",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.21",
|
|
4
4
|
"description": "CLI for managing Cursor rules/skills and Postman test infrastructure across Java Spring Boot and Node.js/Express projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -147,6 +147,12 @@ CONSOLIDATED_HTML="$REPORTS_DIR/consolidated-${ENV}-${TIMESTAMP}.html"
|
|
|
147
147
|
STATUS=$([ "$TEST_RESULT" -eq 0 ] && echo 'PASSED' || echo 'FAILED')
|
|
148
148
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
149
149
|
|
|
150
|
+
# Ensure boto3 is available for health publishing (gated by SHIFTLEFT_PUBLISH_METRICS)
|
|
151
|
+
if [ "${SHIFTLEFT_PUBLISH_METRICS:-}" = "true" ]; then
|
|
152
|
+
python3 -c "import boto3" 2>/dev/null || \
|
|
153
|
+
python3 -m pip install "boto3>=1.28.0" --quiet --user 2>/dev/null || true
|
|
154
|
+
fi
|
|
155
|
+
|
|
150
156
|
python3 "$SCRIPT_DIR/../lib/report_generator.py" consolidated "$CONSOLIDATED_HTML" \
|
|
151
157
|
--env "$ENV" \
|
|
152
158
|
--timestamp "$TIMESTAMP" \
|