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 lock files and fix internal peer deps in packages #2217

Merged
merged 4 commits into from
Oct 9, 2024

Conversation

yousif-bugsnag
Copy link
Contributor

Goal

Removes package-lock.json files from individual packages

Also Updates internal peer dependencies for packages to point to ^8.0.0 rather than ^8.0.0-alpha.1.

Design

As the repo now uses npm workspaces, dependencies are listed in the root package-lock.json and individual lock files are no longer required.

The legacy-peer-deps flag has also been reinstated for React Native test fixture builds. This ensures that test fixtures don't pull in multiple versions of bugsnag packages when published to local/private repos - lerna doesn't update peer deps when publishing, so without this both the peer depenendency version (e.g. 8.0.0) and the locally published version (e.g. 8.0.0-ci-my-branch.12345) would be installed.

Testing

Covered by a full CI run

Copy link

github-actions bot commented Oct 7, 2024

@bugsnag/browser bundle size diff

Minified Minfied + Gzipped
Before 45.76 kB 13.77 kB
After 45.76 kB 13.77 kB
± No change No change

code coverage diff

<temporarily disabled>

Generated by 🚫 dangerJS against 654b7a0

@gingerbenw gingerbenw merged commit 555210e into next Oct 9, 2024
126 checks passed
@gingerbenw gingerbenw deleted the remove-lock-files branch October 9, 2024 13:00
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