145 Commits

Author SHA1 Message Date
Todd Bluhm
d91335a790
Merge pull request #346 from berkes/fix/ts-return-void
fix: returning "true" instead of "void"
2024-11-23 02:40:36 -06:00
Bèr Kessels
33b3367cff fix: add an unreachable return, to test signal termination 2022-02-16 10:38:46 +01:00
Bèr Kessels
bc94223674 fix: returning "true" instead of "void"
Apparently process.kill() returns a Boolean, so the early return will
return a true||false rather than the void as per the func sig.

This patch ensures we return void regardless of what process.kill() and
process.exit() return. What they return may be dependent on node version
and/or platform.
2022-02-15 17:40:57 +01:00
Todd Bluhm
8f35b71651
Merge pull request #136 from p0rth01998/Minor_Typo
Fix: typo update in test & ts lint update
2020-05-15 12:14:07 -05:00
p0rth01998
70084037f3 revert: version update 2020-05-15 10:22:51 +05:30
p0rth01998
72be538fc1 fix: version update 2020-05-15 09:03:16 +05:30
p0rth01998
9da35b5277 fix: typo update in test & ts lint update in ts 2020-05-15 08:48:45 +05:30
Todd Bluhm
ec18721023
Merge pull request #132 from toddbluhm/dependabot/npm_and_yarn/ts-standard-8.0.0
Bump ts-standard from 7.0.0 to 8.0.0
2020-05-02 01:35:02 -05:00
Todd Bluhm
d44e095a9a
Merge pull request #129 from toddbluhm/dependabot/npm_and_yarn/types/sinon-9.0.0
Bump @types/sinon from 7.5.2 to 9.0.0
2020-05-02 01:34:48 -05:00
Todd Bluhm
e5163d7012
Merge pull request #128 from vitaliytv/master
fix: add  type module support
2020-05-02 01:33:59 -05:00
dependabot-preview[bot]
5e6eea9028
Bump ts-standard from 7.0.0 to 8.0.0
Bumps [ts-standard](https://github.com/toddbluhm/ts-standard) from 7.0.0 to 8.0.0.
- [Release notes](https://github.com/toddbluhm/ts-standard/releases)
- [Changelog](https://github.com/toddbluhm/ts-standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/toddbluhm/ts-standard/compare/7.0.0...8.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-28 11:26:21 +00:00
Todd Bluhm
19e91648b5
docs: update readme badges 2020-04-16 20:40:28 -05:00
dependabot-preview[bot]
8a7e34c406
Bump @types/sinon from 7.5.2 to 9.0.0
Bumps [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon) from 7.5.2 to 9.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-17 00:51:40 +00:00
ElenaTv
8d94925a44 fix: add type module support 2020-04-15 07:41:02 +03:00
Todd Bluhm
e66cfc10f1
chore(package): update dependencies 2020-03-20 17:20:18 -05:00
Todd Bluhm
7af4005431
Merge pull request #121 from toddbluhm/ci-windows
feat(ci): add windows support to github actions
2020-02-21 17:47:46 -06:00
Todd Bluhm
92ad24c735
docs: update readme badges to include windows 2020-02-21 17:44:19 -06:00
Todd Bluhm
a665fa96ea
test: normalize paths to support windows 2020-02-21 17:25:10 -06:00
Todd Bluhm
737598269f
feat(ci): add windows support to github actions 2020-02-21 16:28:31 -06:00
Todd Bluhm
e19409f4d9
chore: added editorconfig
- updated code style badge in readme
- moved commitlint settings to package.json
2020-02-20 04:29:30 -06:00
Todd Bluhm
e054744093
feat(ci): add commitlint and husky 2020-02-17 21:51:04 -06:00
Todd Bluhm
f8a3173fda
feat(ci): change to github actions for ci 2020-02-17 20:56:06 -06:00
Todd Bluhm
c0ce28cb84
chore(package): updated ts-standard version
- improved code readability of options parsing
- added missing code coverage test cases
2020-02-17 17:43:08 -06:00
Todd Bluhm
0498a0701d
Create FUNDING.yml 2020-02-12 18:44:50 -06:00
Todd Bluhm
361f731f88
docs(readme): update variable expansion docs 2020-02-10 20:00:47 -06:00
Todd Bluhm
065b110048
chore(travis): update ci configuration 2020-02-10 01:01:42 -06:00
Todd Bluhm
020998a077
docs(readme): added expand env and silent docs
- Added some additional fun and helpful emoji to the docs
10.1.0
2020-02-10 00:43:27 -06:00
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