Git Product home page Git Product logo

dist-upgrade's Introduction

npx zacanger

------------------------------------------
Zac Anger
Senior Software Engineer
------------------------------------------
Web: https://zacanger.com
Resume: https://zacanger.com/resume
GitHub: https://github.com/zacanger
------------------------------------------

LICENSE

dist-upgrade's People

Contributors

dependabot[bot] avatar zacanger avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

zkat

dist-upgrade's Issues

for discussion: also upgrade npx with dist-upgrade?

npx is now bundled with npm, which is great because so many more people have it available by default and can take advantage of the workflows it enables.

However, just like the node.js installer doesn't always have the latest version of npm, the npm installer doesn't always have the latest version of npx.

dist-upgrade is great for people who always want to be on the bleeding edge. Does it make sense to also do an npm i -g npx when running dist-upgrade?

error: unexpected token

I just tried running this to get the new npm that was just release, and got:

> npx dist-upgrade
npx: installed 508 in 12.981s
Unexpected token .

./node_modules/.bin/npx not found :(

โžœ npx dist-upgrade --help
npx: installed 508 in 8.375s
/Users/zkat/.npm/_npx/67934/bin/dist-upgrade: line 3: ./node_modules/.bin/npx: No such file or directory

Unfortunately, there's no easy, surefire way to get the path to a dep's binary from a shell script. :\

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.