Skip to content

Mention yarn linking in contributing guide to run local npm packages #43745

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 1 commit into from
Nov 30, 2021

Conversation

gmcgibbon
Copy link
Member

Summary

In #43667, there was some confusion about how to use unreleased changes to npm packages. I think this should be documented because it isn't straightforward. Unlike Ruby gems, Node packages can use multiple versions of the same package. Linking is needed to tell Node to use the same local package for all instances of a dependency.

@rails-bot rails-bot bot added the docs label Nov 29, 2021
Unlike Ruby gems, Node packages can use multiple versions of the same
package. Linking is needed to tell Node to use the same local package
for all instances of a dependency.

[skip ci]
@gmcgibbon gmcgibbon force-pushed the yarn_link_contributing_guide branch from 6528896 to a981911 Compare November 30, 2021 00:10
@gmcgibbon gmcgibbon merged commit 30519c4 into rails:main Nov 30, 2021
@gmcgibbon gmcgibbon deleted the yarn_link_contributing_guide branch November 30, 2021 00:42
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.

1 participant