Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: nodenv/nodenv-package-json-engine

v3.0.3

24 Jul 02:32
@jasonkarns jasonkarns

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

Assets 2
Loading
hosseinhashemitebar936 reacted with thumbs up emoji
1 person reacted

v3.0.2

24 Jul 02:32
@jasonkarns jasonkarns

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.

Loading

v3.0.1

24 Jul 02:32
@jasonkarns jasonkarns

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

Loading

v3.0.0

24 Jul 02:24
@jasonkarns jasonkarns

Choose a tag to compare

3.0.0
Loading

v2.0.0

24 Jul 02:41
@jasonkarns jasonkarns

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

Loading

v1.1.1

24 Jul 02:24
@jasonkarns jasonkarns

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'

Loading

v1.1.0

24 Jul 02:23
@jasonkarns jasonkarns

Choose a tag to compare

  • Search for installed versions matching semver range

  • shellcheck fixes

  • safe array handling of nodenv versions

Loading

v1.0.0

24 Jul 02:23
@jasonkarns jasonkarns

Choose a tag to compare

Add verification instructions
Loading

v0.2.0

24 Jul 02:41
@jasonkarns jasonkarns

Choose a tag to compare

0.2.0
Loading

v0.1.0

24 Jul 02:41
@jasonkarns jasonkarns

Choose a tag to compare

0.1.0
Loading

AltStyle によって変換されたページ (->オリジナル) /