Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 11 19:18

    ehmicky on main

    Upgrade @ehmicky/dev-tasks 1.0.… (compare)

  • Sep 11 16:23

    ehmicky on main

    Upgrade @ehmicky/dev-tasks 1.0.… (compare)

  • Sep 10 20:36

    ehmicky on main

    Upgrade filter-obj 2.0.2 -> 3.0… Upgrade @ehmicky/dev-tasks 1.0.… (compare)

  • Aug 16 12:00

    ehmicky on main

    Fix yargs (compare)

  • Aug 15 19:50

    ehmicky on main

    Upgrade yargs 17.0.1 -> 17.1.1 (compare)

  • Aug 15 18:15

    ehmicky on main

    Upgrade @ehmicky/dev-tasks 1.0.… (compare)

  • Aug 15 17:53

    ehmicky on main

    Upgrade chalk 4.1.1 -> 4.1.2 (compare)

  • Aug 15 17:27

    ehmicky on main

    Update issue templates (compare)

  • Aug 15 16:18

    ehmicky on main

    Upgrade @ehmicky/dev-tasks 1.0.… Upgrade setup-node to v2 Cache npm (compare)

  • Aug 09 12:55

    ehmicky on main

    Upgrade @ehmicky/dev-tasks 1.0.… Upgrade @ehmicky/dev-tasks 1.0.… Upgrade @ehmicky/dev-tasks 1.0.… and 4 more (compare)

  • Jul 02 19:54

    ehmicky on main

    Upgrade figures 3.2.0 -> 4.0.0 (compare)

  • Jun 23 20:38

    ehmicky on main

    Refactoring (compare)

  • Jun 23 20:34

    ehmicky on main

    Fix test on Windows (compare)

  • Jun 23 20:33

    ehmicky on main

    Add comment Fix test on Windows (compare)

  • Jun 22 22:16

    ehmicky on 14.0.0

    (compare)

  • Jun 22 22:16

    ehmicky on main

    Update changelog Release 14.0.0 (compare)

  • Jun 22 22:15

    ehmicky on main

    Upgrade test-each 2.0.1 -> 3.0.0 Upgrade get-bin-path 5.1.0 -> 6… Upgrade @ehmicky/dev-tasks 1.0.… and 4 more (compare)

  • Jun 21 23:09

    ehmicky on main

    Update CHANGELOG Update LICENSE (compare)

  • Jun 21 21:42

    ehmicky on main

    Upgrade @ehmicky/dev-tasks 1.0.… Simplify GitHub actions (compare)

  • Jun 21 20:52

    ehmicky on main

    Upgrade @ehmicky/dev-tasks 1.0.… Remove husky Upgrade has-ansi 4.0.1 -> 5.0.0 and 2 more (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.