Todd Bluhm
a4b21438a1
8.0 release
8.0.0
2018-04-22 13:07:32 -05:00
Todd Bluhm
569b5a9e6b
Fix bugs in parent and spawn process termination ( #36 )
...
* Fix spawn and parent process killing
- Implemented a broader solution to killing the parent/spawned process
that includes hooks for certain specific signals and then the generic
node exit event
- Added test cases to support the new termination solution
* Updated a bunch of node dependencies
* Updated change log
2018-03-21 03:02:20 -05:00
Todd Bluhm
1bf9451ae0
Stripe spaces out around equal sign when parsing an env file. ( #35 )
...
* Stripe spaces out around both key and value when parsing an env file.
2018-03-21 01:07:38 -05:00
Marcus R. Brown
7829a6c5a0
Add support for escaping double and single quoted values. ( #34 )
...
* Add support for escaping double and single quoted values.
* Add test cases for escaping quotes of values with embedded quotes.
2018-03-03 03:56:39 -06:00
Todd Bluhm
5987f82065
Update package.json to 7.0.0 and add entry to change log
7.0.0
2017-09-25 13:46:03 -05:00
Todd Bluhm
28bd3845e7
Allow for using absolute pathing, ~ pathing, and relative pathing ( #30 )
...
* Allow for using absolute pathing, ~ pathing, and relative pathing
* Add test cases for `./` and `../` pathing
* Update Readme file with new path rules
2017-09-25 13:39:06 -05:00
Todd Bluhm
26d8eaad9e
Update package.json and changelog with version 6.0.0
6.0.0
2017-09-21 17:45:58 -05:00
Todd Bluhm
bff0958576
Refactor fallback behavior to require a --fallback flag ( #28 )
...
* Refactored fallback behavior to require a --fallback flag
- By default env-cmd will no longer crash if .env or .env-cmdrc files
are not found
- In order to use the old default .env file fallback functionality a
--fallback flag must be passed
* Update minimum nodejs version and update Readme file
* Fix coverage
* Reduce minimum nodejs version down to v4
* Minor readme tweaks
2017-09-21 17:44:35 -05:00
Todd Bluhm
a73616073f
Fixed coverage and updated Readme file
2017-09-21 17:12:18 -05:00
zhrren
e4947984b9
Support multiple environment name. ( #16 )
2017-09-21 14:38:48 -05:00
Todd Bluhm
51359195d9
Updated package to 5.1.0
...
- Added new contributor
- Updated changelog
5.1.0
2017-04-18 12:44:13 -04:00
Anton Versal
7e29082fa7
fixes according to amendments
2017-04-18 12:29:50 -04:00
Anton Versal
494cddb9cd
add —no-override option
2017-04-18 12:29:50 -04:00
Todd Bluhm
74d76986ae
Merge pull request #22 from toddbluhm/greenkeeper-standard-10.0.0
...
Update standard to version 10.0.0 🚀
2017-04-09 13:37:40 -04:00
greenkeeperio-bot
b153cedced
chore(package): update standard to version 10.0.0
...
https://greenkeeper.io/
2017-04-04 21:26:22 -04:00
Todd Bluhm
7a26c4297f
Update README.md
...
Minor readme fixes
2017-03-31 11:53:31 -04:00
Todd Bluhm
bbb01d679f
Merge pull request #20 from toddbluhm/greenkeeper-sinon-2.0.0
...
Update sinon to version 2.0.0 🚀
2017-03-22 15:22:58 -04:00
greenkeeperio-bot
adb0d2e246
chore(package): update sinon to version 2.0.0
...
https://greenkeeper.io/
2017-03-15 02:35:48 -04:00
Todd Bluhm
ea9d858e4a
5.0 release
...
- Updated Changelog
- Updated package.json
- Updated License file for new year
5.0.0
2017-03-03 01:43:56 -05:00
Todd Bluhm
3c965639a2
Merge pull request #19 from toddbluhm/comment_fixes
...
Fix the # comment in env var name issue, other major changes
2017-03-03 01:31:45 -05:00
Todd Bluhm
909df18ddb
Fix the # comment in env var name issue
2017-03-03 01:26:05 -05:00
Todd Bluhm
907bf640d9
Merge pull request #18 from toddbluhm/greenkeeper-standard-9.0.0
...
Update standard to version 9.0.0 🚀
2017-03-02 17:48:22 -05:00
Todd Bluhm
8d88f6164b
Fix files after js standard linter update
2017-03-02 17:42:26 -05:00
greenkeeperio-bot
90a1d94763
chore(package): update standard to version 9.0.0
...
https://greenkeeper.io/
2017-03-02 17:33:39 -05:00
Todd Bluhm
437258f287
Merge pull request #17 from serapath-contribution/master
...
ADD default .env file as a fallback
2017-03-02 17:30:01 -05:00
serapath
956b0efa8e
UPDATE testing
2017-02-21 10:30:10 +01:00
Alexander Praetorius
fa24b79ca8
UPDATE readme describe .env fallback option
2017-02-21 10:00:17 +01:00
Alexander Praetorius
1dff4fa2a3
ADD default .env file as a fallback
...
If a repository contains a `.env` example file or - in case of a private repository - a `.env` file with production values,
a developer can add a local (e.g. `.env.local` file to `.gitignore`) and feed it to `env-cmd`.
So in development a custom local configuration can be used, but in production, `env-cmd` falls back to `.env`
2017-02-21 09:51:36 +01:00
Todd Bluhm
104475c11d
Minor README tweaks
2016-12-06 21:52:00 -08:00
Todd Bluhm
71e9c85e78
Update version to 4.0 due to double quotes breaking change
4.0.0
2016-12-06 21:46:39 -08:00
Todd Bluhm
1f02ee0640
Merge pull request #15 from toddbluhm/fix-add-system-envs
...
Add system env vars back into the env list
2016-12-06 21:38:27 -08:00
Todd Bluhm
d97c317ff9
Merge pull request #14 from toddbluhm/pound-symbol-fix
...
Fix bug when including a # in the env value
2016-12-06 21:34:00 -08:00
Todd Bluhm
fbbbf13e49
Add system env vars back into the env list
...
- After retrieving user set envs from a file, add the system envs back
into the envs object so that envs like PATH, etc… will exist for the
spawned command
2016-12-06 21:32:09 -08:00
Todd Bluhm
6b60e3c27f
Fix bug when including a # in the env value
...
- Fixed a bug that caused a # symbol in the env value to be interpreted
as an inline comment
- When you want to include a # in you value, you need to wrap it in
double quotes: ENV=“some#symbol value”
2016-12-06 21:29:26 -08:00
Todd Bluhm
f37249e467
Added in support for .env-cmdrc file and updated to 3.0.0
3.0.0
2016-12-03 01:44:39 -06:00
Todd Bluhm
4bb8233bec
Merge pull request #9 from toddbluhm/greenkeeper-cross-spawn-5.0.1
...
Update cross-spawn to version 5.0.1 🚀
2016-12-02 15:17:37 -06:00
Todd Bluhm
1dbf3e2f62
Merge pull request #11 from jonscheiding/master
...
Support .js env files
2016-12-02 15:09:20 -06:00
Jon Scheiding
a43365e787
Putting my name all over it ( toddbluhm/env-cmd#10 )
2016-11-21 15:17:40 -05:00
Jon Scheiding
c3805e79b0
Updated README ( toddbluhm/env-cmd#10 )
2016-11-15 14:42:21 -05:00
Jon Scheiding
148d2ab000
Implemented handling for JavaScript files ( toddbluhm/env-cmd#10 )
2016-11-15 14:40:21 -05:00
greenkeeperio-bot
eb09fe4ad5
chore(package): update cross-spawn to version 5.0.1
...
https://greenkeeper.io/
2016-11-04 19:50:32 -04:00
Todd Bluhm
6eb62a16de
Update README.md
...
Update badge's maxAge to tailor it more appropriately for each badge
2016-11-01 00:45:58 -04:00
Todd Bluhm
288b5a506c
Publish version 2.2.0
...
- Update changelog
- Update package.json
2.2.0
2016-09-23 02:00:49 -04:00
Todd Bluhm
d46740c56d
Merge pull request #5 from sparkartgroup/json-env
...
Add support for JSON format
2016-09-23 01:45:03 -04:00
Eric Lanehart
0d2f0452a2
Credit contributors
2016-09-22 08:25:00 -04:00
Eric Lanehart
5c77fc195f
Add support for JSON format
...
Short circuits custom parser with node’s module loader when given file has a .json extension
2016-09-15 13:01:59 -04:00
Todd Bluhm
8fd41397d6
Merge pull request #3 from toddbluhm/2.1.0
...
Regex for parsing, support inline comments, support `key value` format
2.1.0
2016-08-18 16:55:11 -05:00
Todd Bluhm
fbb5ac6d68
Regex for parsing, support inline comments, support key value format
...
- Moved over to using regex for parsing the env file
- Added support for inline comments
- Added support for `key value` pairing file format
- Will now ignore invalid lines in env file, instead of throwing an error
- Removed old test cases
- Added more specific test cases
2016-08-18 16:48:40 -05:00
Todd Bluhm
48fe54450d
Merge pull request #2 from toddbluhm/readme-related-projects
...
Add Related Projects section to README
2016-08-18 13:44:31 -05:00
Todd Bluhm
be7f727d0c
Add Related Projects section to README
...
- Adds a related projects section to README
- Add cross-env to related projects section
2016-08-18 13:40:57 -05:00