@shubhammaji1/envparity 0.1.0 → 0.1.1
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 +27 -16
package/README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# EnvParity
|
|
2
|
+
|
|
3
|
+
Offline CLI checks for missing, empty, invalid, and undocumented environment
|
|
4
|
+
variables. Reports include key names without printing dotenv values.
|
|
5
|
+
|
|
6
|
+
Requires Node.js 22.15 or later. Git enables repository-aware discovery.
|
|
7
|
+
|
|
8
|
+
```sh
|
|
9
|
+
npm install -g @shubhammaji1/envparity@0.1.1
|
|
10
|
+
envparity --version
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
In your project, add a required key to .env.example, such as PORT=, then run:
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
envparity init
|
|
17
|
+
envparity doctor
|
|
18
|
+
envparity validate --json
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Run init once per project. If PORT is missing, set it in your local .env and
|
|
22
|
+
rerun the check. Use envparity --help for commands and exit codes.
|
package/package.json
CHANGED
|
@@ -1,16 +1,27 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@shubhammaji1/envparity",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Offline environment configuration checks for Git repositories",
|
|
5
|
-
"engines": {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@shubhammaji1/envparity",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Offline environment configuration checks for Git repositories",
|
|
5
|
+
"engines": {
|
|
6
|
+
"node": ">=22.15.0"
|
|
7
|
+
},
|
|
8
|
+
"bin": {
|
|
9
|
+
"envparity": "./dist/cli.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist"
|
|
13
|
+
],
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "tsc",
|
|
16
|
+
"typecheck": "tsc --noEmit",
|
|
17
|
+
"lint": "tsc --noEmit --noUnusedLocals --noUnusedParameters",
|
|
18
|
+
"test": "node --test"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"typescript": "5.9.3",
|
|
22
|
+
"yaml": "2.8.0"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@types/node": "22.18.11"
|
|
26
|
+
}
|
|
27
|
+
}
|