dotenv-expand
Advanced tools
Comparing version 8.0.0 to 8.0.1
@@ -5,4 +5,10 @@ # Changelog | ||
## [Unreleased](https://github.com/motdotla/dotenv-expand/compare/v8.0.0...master) | ||
## [Unreleased](https://github.com/motdotla/dotenv-expand/compare/v8.0.1...master) | ||
## [8.0.1](https://github.com/motdotla/dotenv-expand/compare/v8.0.0...v8.0.1) (2022-02-03) | ||
### Added | ||
- Added config.js to package.json lookups | ||
## [8.0.0](https://github.com/motdotla/dotenv-expand/compare/v7.0.0...v8.0.0) (2022-02-03) | ||
@@ -9,0 +15,0 @@ |
{ | ||
"name": "dotenv-expand", | ||
"version": "8.0.0", | ||
"version": "8.0.1", | ||
"description": "Expand environment variables using dotenv", | ||
@@ -13,2 +13,4 @@ "main": "lib/main.js", | ||
}, | ||
"./config": "./config.js", | ||
"./config.js": "./config.js", | ||
"./package.json": "./package.json" | ||
@@ -15,0 +17,0 @@ }, |
@@ -53,6 +53,7 @@ <p align="center"> | ||
You can use the `--require` (`-r`) [command line option](https://nodejs.org/api/cli.html#cli_r_require_module) to preload dotenv & dotenv-extend. By doing this, you do not need to require and load dotenv or dotenv-extend in your application code. This is the preferred approach when using `import` instead of `require`. | ||
You can use the `--require` (`-r`) [command line option](https://nodejs.org/api/cli.html#cli_r_require_module) to preload dotenv & dotenv- | ||
. By doing this, you do not need to require and load dotenv or dotenv-expand in your application code. This is the preferred approach when using `import` instead of `require`. | ||
```bash | ||
$ node -r dotenv-extend/config your_script.js | ||
$ node -r dotenv-expand/config your_script.js | ||
``` | ||
@@ -63,3 +64,3 @@ | ||
```bash | ||
$ node -r dotenv-extend/config your_script.js dotenv_config_path=/custom/path/to/your/env/vars | ||
$ node -r dotenv-expand/config your_script.js dotenv_config_path=/custom/path/to/your/env/vars | ||
``` | ||
@@ -70,7 +71,7 @@ | ||
```bash | ||
$ DOTENV_CONFIG_<OPTION>=value node -r dotenv-extend/config your_script.js | ||
$ DOTENV_CONFIG_<OPTION>=value node -r dotenv-expand/config your_script.js | ||
``` | ||
```bash | ||
$ DOTENV_CONFIG_ENCODING=latin1 node -r dotenv-extend/config your_script.js dotenv_config_path=/custom/path/to/.env | ||
$ DOTENV_CONFIG_ENCODING=latin1 node -r dotenv-expand/config your_script.js dotenv_config_path=/custom/path/to/.env | ||
``` | ||
@@ -77,0 +78,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10827
150