Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPM 9 released, check lerna for compatibility, adjust test suite #3403

Closed
MirKml opened this issue Oct 31, 2022 · 2 comments
Closed

NPM 9 released, check lerna for compatibility, adjust test suite #3403

MirKml opened this issue Oct 31, 2022 · 2 comments

Comments

@MirKml
Copy link

MirKml commented Oct 31, 2022

Description

NPM 9 was released. It will be new LTS in december 2022.
It will be also bundled as default npm version for 18+ node.js - current LTS. See the blog post for timeline schedule.
Nothing much changed from lerna perspective between npm 8, 9.

It's time to prepare test suite for checking if e2e or other tests works fine on node 18+ and npm 9.* I think.

Motivation

Lerna compatibility with latest NPM is important for many lerna users.

@MirKml
Copy link
Author

MirKml commented Mar 2, 2023

NPM 9 is part of LTS node - 18.14.0+
My worked configuration - node 18.14.2 with bundled npm 9.5.0, lerna 5.6.2 with lockfile v2 - old one.
I don't test current lerna 6.2.x, but it seems there are some issues with npm lockfile v3 - see #3455.
You can set lockfile version via npm cli flag or config --lockfile-version, see https://docs.npmjs.com/cli/v9/using-npm/config#lockfile-version.

@JamesHenry
Copy link
Member

Hi Folks, I'm going to close this one as Node 18 and NPM 9 are already the primary versions used on the lerna repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants