Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

187
Views
how to update sub-dependency with npm and lerna

I wish to update a sub-dependency to a specific version, for example:

"original": {
        "version": "1.0.2",
        "resolved": "https://registry.npmjs.org/original/-/original-1.0.2.tgz",
        "integrity": "sha512-hyBVl6iqqUOJ8FqRe+l/gS8H+kKYjrEndd5Pm1MfBtsEKA038HkkdbAl/72EAXGyonD/PFsvmVG+EvcIpliMBg==",
        "dev": true,
        "requires": {
            "url-parse": "^1.4.3"
        }
    },

the package original that require url-parse version ^1.4.3 and I wish to change it to require version ^1.5.10

I have seen npm's overrides feature:

"overrides": {
       "url-parse": "^1.5.10"
}

but I can't run npm update or npm i since I'm using lerna with symlinks.

lerna update wizard (cli tool), lerna bootstrap, lerna bootstrap --hoist didn't really help with any thing, any idea how can I do it?

My Versions:

lerna: 4.0.0
npm: 8.5.5
node: 14.16.0
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!