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

chore: Run npm install with --legacy-peer-deps for React 19 #20829

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Artur-
Copy link
Member

@Artur- Artur- commented Jan 10, 2025

Needed until there is a new Lit release

@Artur- Artur- changed the title chore: Run with --legacy-peer-deps for React 19 chore: Run npm install with --legacy-peer-deps for React 19 Jan 10, 2025
Needed until there is a new Lit release
@Artur- Artur- force-pushed the react19-legacy-peer-deps branch from b3f9e13 to 39f17b0 Compare January 10, 2025 07:53
Copy link

github-actions bot commented Jan 10, 2025

Test Results

1 159 files  ± 0  1 159 suites  ±0   1h 31m 35s ⏱️ - 3m 32s
7 582 tests ± 0  7 526 ✅ ± 0  56 💤 ±0  0 ❌ ±0 
7 937 runs  +45  7 872 ✅ +43  65 💤 +2  0 ❌ ±0 

Results for commit 39f17b0. ± Comparison against base commit 2a4dda7.

♻️ This comment has been updated with latest results.

@@ -267,6 +268,9 @@ private void runNpmInstall() throws ExecutionFailedException {
}

npmInstallCommand.add("--ignore-scripts");
if (options.getFeatureFlags().isEnabled(FeatureFlags.REACT19)) {
npmInstallCommand.add(" --legacy-peer-deps");
Copy link
Contributor

Choose a reason for hiding this comment

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

Just for clarity this could have a comment that should/can be removed after Lit x.y.z has been released and taken into use.

Copy link
Member Author

Choose a reason for hiding this comment

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

There is a new lit release so maybe we don’t need this pr at all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants