Skip to content

Releases: nodenv/nodenv-package-json-engine

v3.0.3

24 Jul 02:32
Compare
Choose a tag to compare
  • Update message to more closely align with stock

    The regular failure message is

    nodenv: version `12' not installed

    We can match that a bit better with:

    package-json-engine: version satisfying `12' not installed

  • Don't emit warnings for unreadable or non-file package.json

  • Quiet errors from JSON.sh

v3.0.2

24 Jul 02:32
Compare
Choose a tag to compare
  • Credit JSON.sh and link to docs for options

  • Skip aliases

    No need to select aliases since the aliased node would already be included itself.

  • Handle non-semver node versions

    sh-semver emits warnings when non-semver strings are passed to it.
    So we should filter out and ignore any node versions that don't at least
    start with a number.

    This could be a lot smarter, and currently only works because node
    versions omit the implicit 'node-' prefix.

v3.0.1

24 Jul 02:32
Compare
Choose a tag to compare
  • Minor spelling fix

  • Use JSON.sh to parse package.json

    This replaces a regex that could match babel-preset-env settings.

    Fixes #31

v3.0.0

24 Jul 02:24
Compare
Choose a tag to compare
3.0.0

v2.0.0

24 Jul 02:41
Compare
Choose a tag to compare
  • Switch to version hooks. Fixes #25.

    Using version-name and version-origin instead of the which
    supports more nodenv commands, includeing nodenv version.

    Full explanations of hooks here:
    https://github.com/rbenv/rbenv/wiki/Authoring-plugins#rbenv-hooks

  • Extract plugin_root script

    To enable moving shared functions into libexec.

  • Reorganize functions in libexec

    Prompted by the need to share precedence checks betweeen version-name
    and version-origin, I've extracted mosted of the package-json-engine
    logic into functions in libexec.

    Also fixes #10.

  • Rebase nodenv-shell precedence onto version support

    With a slightly different check for nodenv shell that lets us still
    respect shell version even when it matches the global version.

  • Lint with Shellcheck

    And run automatically on travis

v1.1.1

24 Jul 02:24
Compare
Choose a tag to compare
  • Switch to depending on semver from npm

  • Fix script dir lookup to handle symlinks

  • Refactors script dir lookup into a function

  • Functions then 'main'

v1.1.0

24 Jul 02:23
Compare
Choose a tag to compare
  • Search for installed versions matching semver range

  • shellcheck fixes

  • safe array handling of nodenv versions

v1.0.0

24 Jul 02:23
Compare
Choose a tag to compare
Add verification instructions

v0.2.0

24 Jul 02:41
Compare
Choose a tag to compare
0.2.0

v0.1.0

24 Jul 02:41
Compare
Choose a tag to compare
0.1.0