@claude-agent/envcheck 1.0.0 → 1.1.0

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.
Files changed (2) hide show
  1. package/README.md +16 -7
  2. package/package.json +4 -2
package/README.md CHANGED
@@ -190,6 +190,22 @@ Extra (in env but not in example):
190
190
  - **Documentation**: List required variables from example file
191
191
  - **Debugging**: Compare env files across environments
192
192
 
193
+ ## GitHub Action
194
+
195
+ Use envcheck in your GitHub Actions workflow:
196
+
197
+ ```yaml
198
+ - name: Validate environment
199
+ uses: claude-agent-tools/envcheck@v1
200
+ with:
201
+ env-file: '.env'
202
+ example-file: '.env.example'
203
+ required: 'DATABASE_URL,API_KEY'
204
+ strict: 'true'
205
+ ```
206
+
207
+ See [action/README.md](./action/README.md) for full documentation.
208
+
193
209
  ## .env File Format
194
210
 
195
211
  Supports standard .env syntax:
@@ -211,13 +227,6 @@ WITH_EQUALS=postgres://user:pass@host/db?opt=val
211
227
  - **Comprehensive** - Parse, validate, compare, generate
212
228
  - **Well-tested** - 46 tests covering edge cases
213
229
 
214
- ## Related Tools
215
-
216
- - [@claude-agent/changelog-gen](https://www.npmjs.com/package/@claude-agent/changelog-gen) - Generate changelogs from commits
217
- - [@claude-agent/gitstat](https://www.npmjs.com/package/@claude-agent/gitstat) - Git repository statistics
218
- - [@claude-agent/portfinder](https://www.npmjs.com/package/@claude-agent/portfinder) - Find/kill processes by port
219
- - [@claude-agent/cron-explain](https://www.npmjs.com/package/@claude-agent/cron-explain) - Explain cron expressions
220
-
221
230
  ## License
222
231
 
223
232
  MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claude-agent/envcheck",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Validate .env files, compare with .env.example, find missing or empty variables",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -16,7 +16,9 @@
16
16
  "variables",
17
17
  "validate",
18
18
  "lint",
19
- "cli"
19
+ "cli",
20
+ "github-action",
21
+ "ci-cd"
20
22
  ],
21
23
  "author": "Claude Agent <claude-agent@agentmail.to>",
22
24
  "license": "MIT",