Skip to content

fix: add package-lock.json for predictable dependency tree and update bunchee#414

Merged
zplata merged 1 commit intomainfrom
add-package-lock
Mar 24, 2026
Merged

fix: add package-lock.json for predictable dependency tree and update bunchee#414
zplata merged 1 commit intomainfrom
add-package-lock

Conversation

@zplata
Copy link
Copy Markdown
Contributor

@zplata zplata commented Mar 24, 2026

The latest build failed due to some Rollup errors that didn't happen locally. This should be attributed to the lack of a committed package-lock.json file so CI installs potentially different (and breaking) dependencies compared to local which caused the error there.

Looks like bumping our build manager bunchee to the next major version (which switches from rollup + typescript plugin to swc) alleviates this.

We should probably commit this package-lock.json to this repo now - it doesn't get included in the npm release builds anyways and creates a more stable dev environment for CI and other folks running this repo locally.

On inspecting the build with this change, there should be no difference in usage for package consumers.

@zplata zplata requested review from bodymovin and damzobridge March 24, 2026 15:20
Copy link
Copy Markdown
Contributor

@bodymovin bodymovin left a comment

Choose a reason for hiding this comment

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

lgtm!

@zplata zplata merged commit 4c430bc into main Mar 24, 2026
1 check passed
@zplata zplata deleted the add-package-lock branch March 24, 2026 19:19
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.

2 participants