145 Commits

Author SHA1 Message Date
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
Todd Bluhm
d45e1e97c3 Minor tweaks for coveralls parallel building and travisci
- Fixed minor README file issue
2016-08-18 04:47:44 -05:00
Todd Bluhm
0d1841c1e1 Added version number shield and fixed changelog formatting 2.0.0 2016-08-17 16:34:16 -05:00
Todd Bluhm
c81fb43183 Merge pull request #1 from toddbluhm/2.0.0
Removed -e/--env flags, allow # comment lines in env file, bug fixes
2016-08-17 16:30:14 -05:00
Todd Bluhm
39616b70b1 Removed -e/--env flags, allow # comment lines in env file, bug fixes
- Removed the -e/--env flags in favor of just requiring the first arg to
env-cmd to be the relative path to the env file
- Comments are now valid in env files using the #
- Empty lines in env file are now ignored
- Fixed bug env file no longer needs to end on a newline
2016-08-17 16:24:01 -05:00
Todd Bluhm
a2777a636c Fix test coverage 1.0.1 2016-08-17 01:09:58 -05:00
Todd Bluhm
39c0760630 Added help text, handle uncaught errors, added .npmignore 2016-08-17 00:55:16 -05:00
Todd Bluhm
56d10fa34f Fix npm badges 2016-08-17 00:08:32 -05:00
Todd Bluhm
11c1765192 Use more standardized npm /bin folder for executable
- Updated Readme
- Add Changelog
- Fix usage as npm .bin file
1.0.0
2016-08-16 23:56:47 -05:00
Todd Bluhm
516d6ba4ad Add in coveralls devDependency 2016-08-16 23:37:23 -05:00
Todd Bluhm
f0bcce1441 Travis tweaks, make compatible with node v4 2016-08-16 21:50:21 -05:00
Todd Bluhm
afc512c641 Initial code commit 2016-08-16 21:34:05 -05:00
Todd Bluhm
81073d0867 Initial commit 2016-08-16 20:00:47 -05:00