@deveko/devguard 0.1.5 → 0.1.7

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 CHANGED
@@ -17,6 +17,7 @@ Built with Rust. Fast by default.
17
17
  - ❌ Validates `NODE_ENV` values
18
18
  - ⚠️ Warns about empty, malformed, or missing variables
19
19
  - ✅ Priority-based rule engine
20
+ - ✅ Auto-generates `.env.example` from `.env`
20
21
  - ✅ Clean, readable CLI output
21
22
 
22
23
  ---
@@ -41,6 +42,9 @@ npx @deveko/devguard check
41
42
 
42
43
  # Scan a custom path
43
44
  npx @deveko/devguard check --path ./apps/backend/.env
45
+
46
+ # Generate .env.example from .env
47
+ npx @deveko/devguard init
44
48
  ```
45
49
 
46
50
  ### Example `.env`
@@ -117,6 +121,8 @@ No config needed. Just run it.
117
121
  - [x] Improved error summary
118
122
  - [x] New validation rules
119
123
  - [x] Priority system
124
+ - [x] `devguard init` -> auto-generate `.env.example`
125
+ - [ ] Missing required keys detection
120
126
  - [ ] Custom rules via `devguard.config.toml`
121
127
  - [ ] CI/CD integration
122
128
  - [ ] GitHub Action
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deveko/devguard",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "A fast .env scanner for Node.js projects",
5
5
  "bin": {
6
6
  "devguard": "cli.js"