Skip to content

chore: Add package-lock.json#139

Merged
antondalgren merged 1 commit intomainfrom
add-lock-file
May 27, 2025
Merged

chore: Add package-lock.json#139
antondalgren merged 1 commit intomainfrom
add-lock-file

Conversation

@antondalgren
Copy link
Copy Markdown
Contributor

@antondalgren antondalgren commented May 27, 2025

It is good practice to have a lockfile. Not having one could expose us to supply chain attacks.

Copy link
Copy Markdown
Contributor

@ThomasSarlin ThomasSarlin left a comment

Choose a reason for hiding this comment

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

Lgtm, just add a more descriptive comment on why this change is made for future reference :)

@antondalgren antondalgren merged commit c393d37 into main May 27, 2025
5 checks passed
@antondalgren antondalgren deleted the add-lock-file branch May 27, 2025 11:44
@carlhoerberg
Copy link
Copy Markdown
Member

For libraries you normally dont have a checked in lock file, only for your apps.

@carlhoerberg
Copy link
Copy Markdown
Member

It's the consumers of this library that should have their locks files checked in. No one will use this lock file.

carlhoerberg added a commit that referenced this pull request May 27, 2025
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.

3 participants