detect-environment
Version:
Detect environments in JavaScript similar to the way Laravel does
62 lines (35 loc) • 1.16 kB
Markdown
# Changelog
## 1.0.0-alpha13
* Updates `dependencies`.
* Adds `CHANGELOG.md`.
## 1.0.0-alpha12
* Adds `guides/**` to `.npmignore`.
## 1.0.0-alpha11
* Adds environment file stamping using [Lo-Dash's `_.template`](https://lodash.com/docs#template)
function.
* Call signature of `lib/isBase.js` changed to `(baseEnv, envName)`.
## 1.0.0-alpha10
* Adds tests for detecting travis.
## 1.0.0-alpha9
* `lib/makeEnvObj.js` now extends the response from `lib/readEnvFile.js`.
## 1.0.0-alpha8
* `lib/getEnvObj.js` now returns `envName` and `envData`.
## 1.0.0-alpha7
* The `lib/**` files are now only executed once.
* Updates the location of the `lcov.info` report.
## 1.0.0-alpha6
* Adds extra tests for `lin/parseEnvFile.js`.
## 1.0.0-alpha5
* Adds the `lcov` reporter.
* Implements `options.strict`.
* Adds the [guides](/guides).
## 1.0.0-alpha4
* Adds `lib/isBase.js`.
* `lib/readEnvFile.js` now returns the contents of `.env` files as Strings.
## 1.0.0-alpha3
* Removes `engines` from `package.json`.
* Adds unit tests.
## 1.0.0-alpha2
* Changes license to `MIT` from `PROPRIETARY`.
## 1.0.0-alpha1
* Initial release.