env-drift-check 0.1.6 → 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 +7 -0
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -62,12 +62,19 @@ npx env-drift-check --base .env.production
|
|
|
62
62
|
|
|
63
63
|
### 3. Interactive Sync (The "Magic" Feature)
|
|
64
64
|
If missing variables are found, launch the interactive wizard to fill them in without leaving your IDE.
|
|
65
|
+
|
|
65
66
|
```bash
|
|
66
67
|
npx env-drift-check --interactive
|
|
67
68
|
# OR
|
|
68
69
|
npx env-drift-check -i
|
|
69
70
|
```
|
|
70
71
|
|
|
72
|
+

|
|
73
|
+
|
|
74
|
+
Once completed, your `.env` file is automatically updated!
|
|
75
|
+
|
|
76
|
+

|
|
77
|
+
|
|
71
78
|
### 4. CI/CD & Strict Mode
|
|
72
79
|
Fail your build or test suite if environment variables are out of sync.
|
|
73
80
|
```bash
|
package/dist/cli.js
CHANGED
|
@@ -16,7 +16,7 @@ const program = new commander_1.Command();
|
|
|
16
16
|
program
|
|
17
17
|
.name("env-drift-check")
|
|
18
18
|
.description("Interactive .env synchronizer and validator")
|
|
19
|
-
.version("0.1.
|
|
19
|
+
.version("0.1.7");
|
|
20
20
|
program
|
|
21
21
|
.command("check", { isDefault: true })
|
|
22
22
|
.description("Check for environment drift (default command)")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "env-drift-check",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "Interactive .env synchronizer and validator. Detect environment drift, sync missing variables, and enforce schema validation for seamless developer onboarding.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"env",
|