Todd Bluhm
27a2705706
feat(flags): add silent flag to ignore errors
...
- add silent flag to ignore env-cmd errors and missing file errors, but still terminate on signals and child process failures
2020-02-09 21:34:52 -06:00
Todd Bluhm
500cf6ab5f
chore: rebuild ts files
2020-02-09 21:03:24 -06:00
Todd Bluhm
9a6ff595d0
Merge pull request #110 from elliottsj/version-fix
...
fix: print correct package version
2020-02-09 20:43:58 -06:00
Todd Bluhm
a253a62232
chore(package): update devDependencies
...
- fix new lint errors
- fix missing code coverage
- update ignore files
2020-02-09 20:40:20 -06:00
Spencer Elliott
1b39ca114b
fix: print correct package version
2020-01-22 14:15:22 -05:00
Todd Bluhm
f92f8b51ff
feat(signal-termination): handle error codes in the signal value
...
- fix improper test case termination due to signal termination listener leakage
2019-12-29 02:40:32 -06:00
Todd Bluhm
fda25184a6
chore(package): update dependencies
...
- fixed lint errors
2019-12-28 23:41:14 -06:00
Todd Bluhm
d15248b48f
Merge pull request #103 from omeid/master
...
feat(expand-envs): support env vars expansion in cmd and args
2019-12-28 23:08:34 -06:00
omeid matten
8318637c48
feat: Support env vars expansion in cmd and args
...
This pull request adds support for expanding environment variable
expansion support. Closes #91
Since the user controls the call site of cmd-env, it only supports
basic UNIX style $var format. `%var%` (windows) or `${var}` is not
supported. However, you can escape variable expansion by escaping
the dollar sign like so `\$`.
Signed-off-by: omeid matten <public@omeid.me>
2019-11-28 16:20:42 +11:00
Todd Bluhm
bd090e7c6b
Merge pull request #101 from toddbluhm/add-verbos-flag
...
feat(flags): add --verbose flag and option
2019-11-16 00:46:27 -06:00
Todd Bluhm
3656bb0752
chore(package): update commander dependency
2019-11-16 00:43:02 -06:00
Todd Bluhm
5d685b67ff
feat(flags): add --verbose flag and option
2019-11-15 12:40:37 -06:00
greenkeeper[bot]
0ff6bad57b
chore(package): update ts-standard to version 3.0.0 ( #102 )
2019-11-15 12:39:31 -06:00
Sean McPherson
27afb757fe
Fix typo ( #100 )
2019-11-14 14:44:44 -06:00
Todd Bluhm
f7929ce8f0
chore(package): update ts-standard to v2
2019-11-01 00:27:16 -05:00
Todd Bluhm
c00dd73531
chore(readme): reference ts-standard instead of js-standard
2019-11-01 00:26:45 -05:00
greenkeeper[bot]
19148b613e
fix(package): update cross-spawn to version 7.0.0 ( #90 )
2019-09-06 02:16:39 -05:00
Todd Bluhm
1cd2feb837
Fixed bug causing env-cmd to fail when no failure had occurred
10.0.1
2019-08-30 01:29:52 -05:00
Todd Bluhm
0106295dd8
Update changelog
10.0.0
2019-08-30 00:05:45 -05:00
Todd Bluhm
bbc4b78ad2
Convert over to using ts-standard
...
- Removed all the various eslint dependencies and added ts-standard
- Updated Readme file with some minor changes
- Updated dist folder to have one level again
2019-08-29 23:39:32 -05:00
Todd Bluhm
f5e2e33939
Updated typescript-eslint packages and fixed lint errors
...
- Updated commander
- Brought coverage back up to 100%
- Updated tsconfig to adhere to linter parser update
2019-08-28 03:13:50 -05:00
Gregory Waxman
ae7981691e
Added Env default locations ( #81 )
...
* Added env default locations to match rc file locations
* Updated README to clarify all supported files and their formats
* Added new test to verify all env files are searched for
2019-08-28 02:25:15 -05:00
Gregory Waxman
29dcda819a
Fixes #79 ( #80 )
...
* Fixes #79
* Updated tests to properly reject rather than throw and fixed another missing await
2019-08-28 02:21:53 -05:00
greenkeeper[bot]
ff03fc75f0
chore(package): update eslint-config-standard-with-typescript to version 8.0.0 ( #84 )
2019-08-08 04:38:45 -05:00
purificant
45847ec834
fix small typo ( #78 )
2019-07-26 15:57:32 -05:00
Todd Bluhm
727f429a7e
Remove package-lock file, update npm keywords, fix badges in Readme
2019-06-06 20:43:05 -05:00
Todd Bluhm
5eaff2cb5a
Fix regex when parsing and preserving newline characters in env values
9.0.3
2019-06-05 16:05:32 -05:00
Todd Bluhm
bec00aa094
Update package.json to be more permissive with minor/patch versions
...
- Fix lint/tsc errors
2019-05-30 19:46:04 -05:00
Simone Busoli
5d8fae4c75
Detail the expected format of async env file ( #67 )
...
Clarify in README file the export format for synchronous or asynchronous `.js` files
2019-05-30 01:07:12 -05:00
Todd Bluhm
09ffda4abf
Publish v9.0.2
...
- Updated test cases to bring coverage back to 100%
- Updated package.json version number
- Update changelog
9.0.2
2019-05-30 00:58:16 -05:00
Todd Bluhm
012230dd8a
Exit with non-zero error code when an error occurs
...
- Added an `npm run watch` command auto-recompilation of typescript files
- Updated Changelog
2019-05-29 23:47:16 -05:00
Todd Bluhm
a7bba44079
Add clarification around using the new custom env file path usage
2019-05-10 13:04:51 -05:00
greenkeeper[bot]
af9686b7a0
docs(readme): add Greenkeeper badge ( #60 )
2019-05-06 05:42:03 -05:00
Todd Bluhm
2dafb745f7
Fix bug where command flags were stolen by commander
9.0.1
2019-05-05 22:27:37 -05:00
Todd Bluhm
b1ad7e4902
Documentation updates and lint command changes
...
- Fixed some minor documentation issues
- Added tsc command to npm run lint to check for typescript errors
when linting
2019-05-05 21:11:19 -05:00
Todd Bluhm
b7cb14651b
Convert EnvCmd to Typescript
...
- Complete rewrite and reorganization
- Expose a usable programmatic API
- Support Async env files by accepting javascript files
- Update all libraries/dependencies
- Support for more options in the future by using commanderjs
- More thorough test cases and code-coverage
- Better handling of signal terminations for both parent and child
processes
- Use ESLint Standard with Typescript
- Add support for --use-shell
9.0.0
2019-05-04 16:06:21 -05:00
Todd Bluhm
4463e553e7
Updates to Readme and CLI help text
2019-05-04 16:01:59 -05:00
Todd Bluhm
4b37f41bab
Readme updates
2019-05-04 15:17:03 -05:00
Todd Bluhm
cd3018f25b
Switch to dist folder and output typescript declaration files
2019-05-04 05:45:52 -05:00
Todd Bluhm
3534069ece
Add --use-shell option
...
- Added test cases for new option
- Fixed up other test cases
- Fixed code coverage issue
2019-05-04 05:35:26 -05:00
Todd Bluhm
86edc944ed
Fix issue where rc file option was always defined
...
- Fix signal termination bug by changing strict undefined checks to
also include null
2019-05-04 04:37:10 -05:00
Todd Bluhm
0523d994be
More Readme file tweaks
2019-05-04 04:05:33 -05:00
Todd Bluhm
25de68f281
Fix newline character parsing in .env files
2019-05-04 03:50:48 -05:00
Todd Bluhm
9171dc06cb
More Readme file tweaks
2019-05-04 03:22:06 -05:00
Todd Bluhm
dc06c40e9c
Add in programmatic API docs
2019-05-04 03:18:20 -05:00
Todd Bluhm
c6220bc86f
Dropped support for node v6 since its now deprecated
...
- Updated Changelog
2019-05-04 02:57:30 -05:00
Todd Bluhm
2509f2cef7
Readme file tweaks
2019-05-04 02:47:22 -05:00
Todd Bluhm
75a2f50311
Add polyfill for util.promisify for node v6
2019-05-04 02:44:25 -05:00
Todd Bluhm
4990ab3ccd
Add async .rc file support
...
- Updates to Readme file
2019-05-04 02:27:27 -05:00
Todd Bluhm
56ed009d7b
Convert EnvCmd to Typescript
...
- Complete rewrite and reorganization
- Expose a usable programmatic API
- Support Async .env files by accepting javascript files
- Update all libraries/dependencies
- Support for more options in the future by using commanderjs
- More thorough test cases and code-coverage
- Better handling of signal terminations for both parent and child
processes
- Use ESLint Standard with Typescript
2019-05-04 02:16:03 -05:00