Giter Club home page Giter Club logo

Comments (4)

JamieMason avatar JamieMason commented on May 9, 2024 1

I've decided not to do this as there are a lot of good tools out there for updating npm dependencies, I don't want to dilute the focus/purpose of syncpack too much. Thanks anyway for raising this.

from syncpack.

JamieMason avatar JamieMason commented on May 9, 2024

Thanks @mesqueeb, this is a good idea and I may add this as a feature in the future. It would be low priority because there are other tools which do this, but it would fit well and could be a nice addition.

Incase it's useful to you, the way I do this today is to use npm-check-updates to update the versions in package.json files, then run a regular install afterwards.

  1. Run ncu -u to update the root package.json.
  2. Run lerna exec 'ncu -u' to update each package.json in the monorepo.

If lerna is installed locally to your project instead of as a global dependency you can run this instead...

If you use yarn:

yarn lerna exec 'ncu -u'

Or this if you use npm:

node_modules/.bin/lerna exec 'ncu -u'

EDIT: The above steps will update the package.json files only, you can then do an npm install afterwards.

from syncpack.

JamieMason avatar JamieMason commented on May 9, 2024

Reopening as work has actually started on this, things are a bit different now and I think this could be a good fit.
Please subscribe to this issue to track progress.

Thanks @mesqueeb.

/cc @cimchd @hgenru (👍🏻'd this issue)

from syncpack.

JamieMason avatar JamieMason commented on May 9, 2024

Released in 10.7.2

from syncpack.

Related Issues (20)

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.