Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 13:17

    ehmicky on main

    Update lock file Fix Prettier (compare)

  • Apr 03 21:34

    ehmicky on main

    Upgrade semver 7.3.4 -> 7.3.5 (compare)

  • Apr 02 21:26

    ehmicky on main

    Upgrade has-ansi 4.0.0 -> 4.0.1 Upgrade core-js 3.8.3 -> 3.10.0 Upgrade @ehmicky/dev-tasks 0.31… and 1 more (compare)

  • Mar 08 21:57

    ehmicky on main

    Upgrade @ehmicky/dev-tasks 0.31… Fix npm files Fix benchmarks with npx v7 and 4 more (compare)

  • Feb 16 21:07

    ehmicky on main

    Upgrade husky 4.3.6 -> 4.3.8 Use npm v7 peerDependencies Upgrade @ehmicky/dev-tasks 0.31… and 5 more (compare)

  • Jan 04 21:08

    ehmicky on main

    Upgrade husky 4.3.0 -> 4.3.6 Upgrade yargs 16.1.1 -> 16.2.0 Upgrade ava 3.13.0 -> 3.15.0 and 1 more (compare)

  • Dec 11 2020 19:12

    ehmicky on main

    Upgrade core-js 3.8.0 -> 3.8.1 (compare)

  • Dec 11 2020 19:12

    ehmicky on npm_and_yarn

    (compare)

  • Dec 11 2020 19:12

    ehmicky on main

    Bump ini from 1.3.5 to 1.3.7 B… Merge pull request #22 from ehm… (compare)

  • Dec 11 2020 19:12
    ehmicky closed #22
  • Dec 11 2020 18:00
    codecov[bot] commented #22
  • Dec 11 2020 18:00
    codecov[bot] commented #22
  • Dec 11 2020 17:58
    dependabot[bot] labeled #22
  • Dec 11 2020 17:58
    dependabot[bot] opened #22
  • Dec 11 2020 17:58

    dependabot[bot] on npm_and_yarn

    Bump ini from 1.3.5 to 1.3.7 B… (compare)

  • Dec 04 2020 22:10

    ehmicky on main

    Upgrade execa 4.1.0 -> 5.0.0 Upgrade core-js 3.6.5 -> 3.8.0 Upgrade yargs 16.1.0 -> 16.1.1 and 2 more (compare)

  • Nov 29 2020 15:39

    ehmicky on main

    Upgrade update-notifier 5.0.0 -… (compare)

  • Nov 08 2020 20:22

    ehmicky on main

    Upgrade @ehmicky/dev-tasks 0.31… (compare)

  • Nov 01 2020 16:58

    ehmicky on main

    Upgrade @ehmicky/dev-tasks 0.31… (compare)

  • Oct 31 2020 20:36

    ehmicky on main

    Simplify code Upgrade @ehmicky/dev-tasks 0.31… (compare)

Mikael Carlsson
@luxwarp
Hey guys. Love NVE. But how do i run a globally installed package like ghost-cli with nve? Like 'ghost install blogname' as node version 10 instead of version 12? :)
Ghost
@ghost~53da2637107e137846ba89db
Hi Mikael
You can think of nve ... as a shortcut for node .... I.e. your question is: how do I run a globally installed package with node ...?
Your question is valid for locally installed binaries too.
The thing with binaries is that they rely on the shebang. The shebang calls the global Node.js binary. nve does not modify the global Node.js binary.
So at the moment, on top of my head, you have two options:
1) use a different library for global binaries execution, such as nvm run
Ghost
@ghost~53da2637107e137846ba89db
2) call nve on the path to the globally installed package, such as nve 11 "$(which ghost)" install globname
Ghost
@ghost~53da2637107e137846ba89db
I am working on a fix right now that allows you to fire both global and local binaries :)
Mikael Carlsson
@luxwarp
Great thnx! :)
Ghost
@ghost~53da2637107e137846ba89db
Will update you here once I'm done
Mikael Carlsson
@luxwarp
perfect!
Ghost
@ghost~53da2637107e137846ba89db
Alright this turns out to be much much more complicated than expected
So I have a plan on how to fix this, but I won't be able to implement this right away. This will be done for the next major release though.
For the moment, using $(which ghost) as suggested above should work
Mikael Carlsson
@luxwarp
Seems like a plan! :)
Mikael Carlsson
@luxwarp
Fyi using $(which ghost) install works perfectly! So you could add it in the readme :D
Ghost
@ghost~53da2637107e137846ba89db
Great! Problem with it is it won't work on Windows cmd.exe
Also the next major release will allow doing nve 11 ghost install globname directly.
Mikael Carlsson
@luxwarp
Looking forward to that release! :)
It will boost the use statistics for nve! :)
Ghost
@ghost~53da2637107e137846ba89db
Both global and local binaries can now be run.