cdk-insights 0.2.0-beta.2 → 0.2.0-beta.3
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 +30 -0
- package/package.json +14 -2
package/README.md
CHANGED
|
@@ -53,6 +53,36 @@ npm install --save-dev cdk-insights
|
|
|
53
53
|
}
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
+
**Using NPM Scripts (Recommended):**
|
|
57
|
+
|
|
58
|
+
After installing, you can use convenient npm scripts:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
# Basic analysis
|
|
62
|
+
npm run cdk-insights analyze
|
|
63
|
+
|
|
64
|
+
# Analyze all stacks
|
|
65
|
+
npm run analyze:all
|
|
66
|
+
|
|
67
|
+
# Different output formats
|
|
68
|
+
npm run analyze:json
|
|
69
|
+
npm run analyze:markdown
|
|
70
|
+
npm run analyze:summary
|
|
71
|
+
|
|
72
|
+
# Setup CDK Nag integration
|
|
73
|
+
npm run setup
|
|
74
|
+
|
|
75
|
+
# Install Git pre-commit hooks
|
|
76
|
+
npm run hook
|
|
77
|
+
|
|
78
|
+
# Cache management
|
|
79
|
+
npm run cache:clear
|
|
80
|
+
npm run cache:status
|
|
81
|
+
|
|
82
|
+
# Configuration
|
|
83
|
+
npm run config:list
|
|
84
|
+
```
|
|
85
|
+
|
|
56
86
|
**For Personal Use:**
|
|
57
87
|
|
|
58
88
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cdk-insights",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.3",
|
|
4
4
|
"description": "AWS CDK security and cost analysis tool with AI-powered insights",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -53,7 +53,19 @@
|
|
|
53
53
|
"publish:latest": "npm run build && npm publish --tag latest",
|
|
54
54
|
"version:beta": "npm version prerelease --preid=beta",
|
|
55
55
|
"version:alpha": "npm version prerelease --preid=alpha",
|
|
56
|
-
"version:rc": "npm version prerelease --preid=rc"
|
|
56
|
+
"version:rc": "npm version prerelease --preid=rc",
|
|
57
|
+
"cdk-insights": "cdk-insights",
|
|
58
|
+
"analyze": "cdk-insights analyze",
|
|
59
|
+
"analyze:all": "cdk-insights analyze --all",
|
|
60
|
+
"analyze:json": "cdk-insights analyze --output json",
|
|
61
|
+
"analyze:markdown": "cdk-insights analyze --output markdown",
|
|
62
|
+
"analyze:summary": "cdk-insights analyze --output summary",
|
|
63
|
+
"setup": "cdk-insights setup-cdk-nag",
|
|
64
|
+
"hook": "cdk-insights hook",
|
|
65
|
+
"cache:clear": "cdk-insights clear-cache",
|
|
66
|
+
"cache:status": "cdk-insights cache-status",
|
|
67
|
+
"config:list": "cdk-insights config list",
|
|
68
|
+
"synth": "cdk-insights synth"
|
|
57
69
|
},
|
|
58
70
|
"publishConfig": {
|
|
59
71
|
"access": "public"
|