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

Remove package-lock.json from the webpacker NPM package #12522

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

ahukkanen
Copy link
Contributor

🎩 What? Why?

We only need one package-lock.json and it's the one at the root.

The package-lock.json files are created at the NPM package folders if you enter those folders and run NPM commands there. But we do not need to ship these with the NPM packages themselves.

It was introduced at #9387 and has been updated many times since then.

📌 Related Issues

Testing

See that CI is green.

@ahukkanen ahukkanen added module: core type: internal PRs that aren't necessary to add to the CHANGELOG for implementers labels Feb 23, 2024
Copy link
Contributor

@alecslupu alecslupu left a comment

Choose a reason for hiding this comment

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

Since we do not want this file in the repo, maybe is worth having added to .gitignore

@andreslucena
Copy link
Member

Since we do not want this file in the repo, maybe is worth having added to .gitignore

That was already done in #9275

I think this file is a leftover from that PR that we didn't delete

Copy link
Member

@andreslucena andreslucena left a comment

Choose a reason for hiding this comment

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

LGTM, waiting for @alecslupu final approval and merge

@alecslupu
Copy link
Contributor

Since we do not want this file in the repo, maybe is worth having added to .gitignore

That was already done in #9275

I think this file is a leftover from that PR that we didn't delete

I confirm. I reviewed this pr from my phone.

@alecslupu alecslupu merged commit ec382e7 into develop Feb 26, 2024
41 checks passed
@alecslupu alecslupu deleted the chore/remove-unnecessary-package-lock branch February 26, 2024 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: core type: internal PRs that aren't necessary to add to the CHANGELOG for implementers
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants