bridgepreflight 1.0.1 → 1.0.2
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/README.md +27 -24
- package/dist/cli.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -86,13 +86,13 @@ Current analyzers include:
|
|
|
86
86
|
Installation
|
|
87
87
|
|
|
88
88
|
Global Installation (Recommended)
|
|
89
|
-
|
|
89
|
+
npm install -g bridgepreflight
|
|
90
90
|
|
|
91
91
|
Run:
|
|
92
|
-
|
|
92
|
+
bridgepreflight scan
|
|
93
93
|
|
|
94
94
|
Or without global install:
|
|
95
|
-
|
|
95
|
+
npx bridgepreflight scan
|
|
96
96
|
<!------------------------------ ------------------------------------>
|
|
97
97
|
|
|
98
98
|
|
|
@@ -157,27 +157,30 @@ Upcoming native integrations:
|
|
|
157
157
|
|
|
158
158
|
<!------------------------------ ------------------------------------>
|
|
159
159
|
Roadmap
|
|
160
|
-
BridgePreflight is evolving into a
|
|
161
|
-
|
|
162
|
-
Phase 1 (Current)
|
|
163
|
-
• Local
|
|
164
|
-
• Weighted
|
|
165
|
-
•
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
•
|
|
170
|
-
• CI
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
•
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
•
|
|
179
|
-
|
|
180
|
-
|
|
160
|
+
BridgePreflight is evolving into a comprehensive Deployment Risk Intelligence Platform.
|
|
161
|
+
|
|
162
|
+
Phase 1 - Deterministic CLI (Current)
|
|
163
|
+
• Local development risk scanning
|
|
164
|
+
• Weighted analyzer scoring
|
|
165
|
+
• JSON output for CI integration
|
|
166
|
+
• Structured severity classification
|
|
167
|
+
|
|
168
|
+
Phase 2 - Policy & Enforcement
|
|
169
|
+
• Configurable scoring thresholds
|
|
170
|
+
• Strict CI mode (--strict, --ci)
|
|
171
|
+
• COnfigurable analyzer toggling
|
|
172
|
+
• Exit-code enforcement policies
|
|
173
|
+
|
|
174
|
+
Phase 3 - Ecosystem Integration
|
|
175
|
+
• Native GitHub Action
|
|
176
|
+
• Pull request risk annotations
|
|
177
|
+
• Historical score comparison
|
|
178
|
+
• Team-level threshold configuration
|
|
179
|
+
|
|
180
|
+
Phase 4 - Platform Expansion
|
|
181
|
+
• Risk history tracking
|
|
182
|
+
• Deployment trend analysis
|
|
183
|
+
• Team dashboards
|
|
181
184
|
• Enterprise compliance modules
|
|
182
185
|
<!------------------------------ ------------------------------------>
|
|
183
186
|
|
package/dist/cli.js
CHANGED
|
@@ -62,7 +62,7 @@ program
|
|
|
62
62
|
.option("--json", "Output results as JSON (for CI pipelines)")
|
|
63
63
|
.description("Run production safety checks")
|
|
64
64
|
.action(async (options) => {
|
|
65
|
-
console.log(chalk_1.default.blue("\nWelcome to BridgePreflight —
|
|
65
|
+
console.log(chalk_1.default.blue("\nWelcome to BridgePreflight — The Deployment Risk Intelligence Platform \n"));
|
|
66
66
|
const ciMode = (0, ci_1.isCI)();
|
|
67
67
|
if (!ciMode) {
|
|
68
68
|
const accessGranted = await (0, projectUtils_1.askProjectAccess)();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bridgepreflight",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Deployment Risk Intelligence CLI for Node.js projects. Detect build, runtime, and configuration risks before production.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"bridgepreflight": "dist/cli.js"
|
|
@@ -43,6 +43,6 @@
|
|
|
43
43
|
"typescript": "^5.9.3"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
|
46
|
-
"node": ">=
|
|
46
|
+
"node": ">=20"
|
|
47
47
|
}
|
|
48
48
|
}
|