env-checklist 1.1.1 → 1.1.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 +22 -0
- package/package.json +8 -8
package/README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ✈️ env-checklist
|
|
2
|
+
|
|
3
|
+
A lightweight, color-coded CLI tool to ensure your local environment variables match your `.env.example` before you launch your app.
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/env-checklist)
|
|
6
|
+
[](https://github.com/YOUR_GITHUB_USERNAME/env-checklist)
|
|
7
|
+
|
|
8
|
+
## 🚀 Why use this?
|
|
9
|
+
How many times has your app crashed because you forgot to add a new API key to your `.env` file? `env-checklist` prevents that by comparing your active `.env` against your template.
|
|
10
|
+
|
|
11
|
+
- **🎨 Beautiful Terminal Output**: Uses Chalk for high-contrast success/error messages.
|
|
12
|
+
- **🛡️ Robust Parsing**: Automatically ignores comments and empty lines.
|
|
13
|
+
- **📦 Zero Config**: Works out of the box with any Node.js project.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## 🛠 Usage
|
|
18
|
+
|
|
19
|
+
### Run once (Recommended)
|
|
20
|
+
You don't even need to install it. Just run this in your project root:
|
|
21
|
+
```bash
|
|
22
|
+
npx env-checklist@latest
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "env-checklist",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Ensure your environment variables are flight-ready before takeoff.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"dist"
|
|
14
14
|
],
|
|
15
15
|
"scripts": {
|
|
16
|
-
"start": "
|
|
16
|
+
"start": "node ./dist/cli.js && node dist/index.js",
|
|
17
17
|
"build": "tsup src/index.ts src/cli.ts --format cjs,esm --dts --clean --minify",
|
|
18
18
|
"dev": "tsup src/index.ts --watch",
|
|
19
19
|
"test": "vitest run",
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
"author": "Rishi Joshi",
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@types/node": "^20.
|
|
34
|
+
"@types/node": "^20.11.0",
|
|
35
35
|
"tsup": "^8.5.1",
|
|
36
|
-
"typescript": "^5.
|
|
37
|
-
"vitest": "^
|
|
36
|
+
"typescript": "^5.0.0",
|
|
37
|
+
"vitest": "^1.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"chalk": "^5.
|
|
41
|
-
"dotenv": "^
|
|
40
|
+
"chalk": "^5.3.0",
|
|
41
|
+
"dotenv": "^16.4.5"
|
|
42
42
|
}
|
|
43
|
-
}
|
|
43
|
+
}
|