Releases: karfau/runex
fix(--require): Resolve project local modules in npx context
When executing a local TypeScript module and using --require=ts-node/register
option,
node was trying to resolve it inside the temporary npx folder.
This behaviour doesn't currently make sense, now modules required via this option
are always resolved relative from the current working directory of the script.
This currently prevents requiring a module that only exists in the npx context, but that could be added back easily if needed. #49
https://nodejs.org/docs/latest-v10.x/api/all.html#modules_require_resolve_request_options
All other commits are related to updating dependencies or configuring renovate.
Release notes and hand crafted since npm run release
failed when trying to push the tag.
For list of commits see v0.4.0...v0.4.1
JSON.stringify values with `typeof 'object'`
- feat: JSON.stringify values with
typeof 'object'
62b4e21 - chore(deps): update dependency @types/node to v13.5.0 (#17) a59a07b
- chore(deps): update dependency codecov to v3.6.2 81cd41c
- chore(deps): update dependency typescript to v3.7.5 372cee1
- chore(deps): update dependency tap to v14.10.6 53d2d25
- chore(deps): update dependency ts-node to v8.6.2 1df2787
- ci(renovate): prevent creation of PRs during pending unpublishSafe check 8b88057
- ci(renovate): Consistent config using
:automergePatch
for all dependencies 65f7290 - ci(renovate): always use semantic commits 5ffd607
- ci(renovate): stop bumping version for dependency upgrades 805695d
Improved output when correct module throws when being required
Change:
- require output: only shorten the error message when it is the expected one c603b6b
Dependencies:
- update commander to v4.1.0 (#8) 2db21b0
- update @types/node to v13.1.4 4ec2d0f
- update testdouble to v3.12.5 e6338b1
Other:
Fix: less files in package
Providing and checking typescript types
Features
- providing type definitions
Tooling
- Type checks using
tsc
as part ofpretest
script (incl. some minor code changes to maketsc
run successful) - enable code coverage check on CI (using tap)
- code coverage is submitted to https://codecov.io/
npm run release
(usingnp
).npmrc
removegit-tag-version=false
, addsign-git-tag=true
Docs
- README.md: badges for npm, dependencies, codecov
- doc comments for
ExitCode
Other Stuff
- Update devDependency @types/node to v13.1.1
- test.command.js: assertStdout less branches (to test) when checking stdErr
First option `require`
First release
First version published to npm (that has a reasonable size).