Skip to content

npm v8 support#44

Merged
balsoft merged 9 commits into
masterfrom
yorickvp/npm-v8
Jun 1, 2022
Merged

npm v8 support#44
balsoft merged 9 commits into
masterfrom
yorickvp/npm-v8

Conversation

@yorickvP

Copy link
Copy Markdown
Contributor

Fixes #33

  • Added CI with tests for npm v6, npm v8 and yarn
  • Also rewrite new package-lock.json format
  • Add a check for unsupported package-lock.json format
  • Add a passthru.nodeModules attribute, very useful for debugging
  • Persist the cache in the nodeModules drv. This is kindof ugly, but npm prune sometimes installs packages now :(.

@gromakovsky please forward this for review to whoever is using this internally

@yorickvP yorickvP requested a review from balsoft May 31, 2022 16:32
@yorickvP yorickvP changed the title Yorickvp/npm v8 npm v8 support May 31, 2022
@balsoft

balsoft commented Jun 1, 2022

Copy link
Copy Markdown
Contributor

Maybe also remove the travis badge from README

@yorickvP

yorickvP commented Jun 1, 2022

Copy link
Copy Markdown
Contributor Author

Just pushed some changes that greatly simplify the cache building (it no longer has to rewrite the lockfile).

Also submitted npm/cacache#114 to be more efficient about putting the npm cache in the nix store.

@balsoft balsoft left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall pretty clean, and seems to work! I like it

@balsoft balsoft merged commit bfca646 into master Jun 1, 2022
@balsoft balsoft deleted the yorickvp/npm-v8 branch June 1, 2022 09:52
@gromakovsky

Copy link
Copy Markdown
Member

We'll test it in our project, thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Broken on npm v7

3 participants