Skip to content

Releases: karfau/runex

fix(--require): Resolve project local modules in npx context

10 Apr 21:08
v0.4.1
Compare
Choose a tag to compare

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'`

26 Jan 06:56
v0.4.0
Compare
Choose a tag to compare
  • 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

v0.3.6...v0.4.0

Improved output when correct module throws when being required

09 Jan 06:33
v0.3.6
Compare
Choose a tag to compare

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:

  • test: improved error messages for parseArguments provides opts.require 0e9ae34
  • test: improved test messages for assertStdout a883153
  • tooling: script improvements 64d6a77
  • tooling: clear generated files before release 22a9dba

v0.3.1...v0.3.6

Fix: less files in package

28 Dec 18:52
v0.3.1
Compare
Choose a tag to compare

Tooling

  • prevent files from being added to package 43fef52

v0.3.0...v0.3.1

Providing and checking typescript types

28 Dec 13:55
v0.3.0
Compare
Choose a tag to compare

Features

  • providing type definitions

Tooling

  • Type checks using tsc as part of pretest script (incl. some minor code changes to make tsc run successful)
  • enable code coverage check on CI (using tap)
  • npm run release (using np)
    • .npmrc remove git-tag-version=false, add sign-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

v0.2.0...v0.3.0

First option `require`

25 Dec 23:54
Compare
Choose a tag to compare

First release

25 Dec 23:56
Compare
Choose a tag to compare

First version published to npm (that has a reasonable size).