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

fix: add @lwc/engine as peerDependency of @lwc/jest-preset #110

Merged
merged 1 commit into from
Mar 26, 2021

Conversation

jodarove
Copy link
Contributor

@lwc/engine is not marked as a peer dependency of @lwc/jest-preset. However, @lwc/engine is required during the environment setup.

Comment on lines 24 to 26
"@lwc/compiler": "*",
"@lwc/engine": "*",
"@lwc/synthetic-shadow": "*",
Copy link
Member

Choose a reason for hiding this comment

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

Should we specify lwc here instead of individual @lwc/* packages? We tell users to add lwc as a dependency instead of individual @lwc/* packages in their projects, but these users see installation warnings when they install our lwc-test packages because our lwc-test packages list out @lwc/* packages as peer dependencies.

Suggested change
"@lwc/compiler": "*",
"@lwc/engine": "*",
"@lwc/synthetic-shadow": "*",
"lwc": "*",

@ravijayaramappa
Copy link
Contributor

@jodarove Please close the loop on this PR.

@ekashida
Copy link
Member

Should we hold off on making this change until after we deprecate @lwc/engine in favor of @lwc/engine-dom?

@jodarove jodarove merged commit ff5fd6a into master Mar 26, 2021
@jodarove jodarove deleted the jodarove/add-lwc-engine-dep branch March 26, 2021 00:17
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.

5 participants