env-creator 1.1.0 → 1.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.
Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -64,7 +64,7 @@ pnpx env-creator create
64
64
  ```bash
65
65
  pnpx env-creator create PORT=3000 NODE_ENV=development
66
66
  # or short version
67
- pnpx env c PORT=3000 NODE_ENV=development
67
+ pnpm exec env c PORT=3000 NODE_ENV=development
68
68
  ```
69
69
 
70
70
  **Resulting `.env`:**
@@ -184,10 +184,10 @@ pnpx env-creator generate-constants [file] [--out <filename>]
184
184
 
185
185
  **Examples:**
186
186
  ```bash
187
- pnpx env gc # Generates envConstants.js from .env by default
188
- pnpx env gc .env.production # Generates envConstants.js from .env.production
189
- pnpx env gc --out myConfig.js # Generates myConfig.js from .env
190
- pnpx env gc .env.production --out config/env.js # Generates config/env.js from .env.production
187
+ pnpm exec env gc # Generates envConstants.js from .env by default
188
+ pnpm exec env gc .env.production # Generates envConstants.js from .env.production
189
+ pnpm exec env gc --out myConfig.js # Generates myConfig.js from .env
190
+ pnpm exec env gc .env.production --out config/env.js # Generates config/env.js from .env.production
191
191
  ```
192
192
 
193
193
  **Resulting `envConstants.js`:**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "env-creator",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "A fast, lightweight CLI tool for managing and generating custom environment (`.env`) files",
5
5
  "type": "module",
6
6
  "bin": {