Skip to content

Use npm workspaces #2476

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

Merged
merged 10 commits into from
Aug 6, 2025
Merged

Use npm workspaces #2476

merged 10 commits into from
Aug 6, 2025

Conversation

mrginglymus
Copy link
Contributor

The install time for this repository is getting increasingly long as it runs installs separately in each library.

Switching to using npm workspaces makes a substantial reduction to this.

The churn in lock file is unfortunate, but I think unavoidable.

@mrginglymus mrginglymus marked this pull request as draft December 28, 2024 18:50
@mrginglymus
Copy link
Contributor Author

Oh this has broken things horribly, brb...

lockfilemageddon updated cheerio from rc.10 to final. This included a
breaking change which enzyme hasn't been updated to handle, but seeing
as enzyme is no longer maintained....let's just throw our toys out the
pram and switch to testing library
@mrginglymus mrginglymus reopened this Dec 28, 2024
@mrginglymus mrginglymus marked this pull request as ready for review December 28, 2024 21:29
@mrginglymus
Copy link
Contributor Author

mrginglymus commented Aug 6, 2025

Currently hitting facebook/docusaurus#6073 (or equivalent). Thanks npm. thnpm

I tell a lie, deleted node_modules and reinstalled and it was fine. Still...thanks npm

@Westbrook
Copy link
Collaborator

Can you catch up to main so we don't have there merge conflicts?

@mrginglymus
Copy link
Contributor Author

@Westbrook done!

Copy link
Collaborator

@Westbrook Westbrook left a comment

Choose a reason for hiding this comment

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

CI is happy. Runs locally. Deletes a small sized black hole from the project. :shipit:

@@ -13,17 +13,45 @@ export namespace Components {
}
interface ComponentWithDeclarativeEvent {
"camelHandled": boolean;
/**
Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh good, I was seeing this popup in a couple of places, now it will be quite again. 🙇🏼

@Westbrook Westbrook merged commit 867a3f3 into webcomponents:main Aug 6, 2025
3 checks passed
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