Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ web_modules/
# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
# Environment variable files
.env
.env.development.local
.env.test.local
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ You can pass the following options via CLI arguments. You can also use `--config
| Set the IP/CIDR value for `trustProxy` (2nd precedence) | | `--trust-proxy-ips` | `FASTIFY_TRUST_PROXY_IPS` |
| Set the nth hop value for `trustProxy` (3rd precedence) | | `--trust-proxy-hop` | `FASTIFY_TRUST_PROXY_HOP` |

By default, `fastify-cli` runs [`dotenv`](https://www.npmjs.com/package/dotenv), so it will load all the env variables stored in `.env` in your current working directory.
By default, `fastify-cli` loads environment variables from `.env` in your current working directory using Node.js's built-in `process.loadEnvFile()` (requires Node.js >= 20.6.0).

The default value for `--plugin-timeout` is 10 seconds.
By default,`--ignore-watch` flag is set to ignore `node_modules build dist .git bower_components logs .swp' files.
Expand Down
2 changes: 1 addition & 1 deletion templates/plugin/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ typings/
# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
# Environment variable files
.env
.env.test

Expand Down