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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add yarn install into bin/setup when not using importmap #44717

Conversation

duduribeiro
Copy link
Contributor

Hey folks 馃憢
IDK if this PR is valid but Want to see a feedback from you.
After af7428c the yarn install
instructions was dropped from bin/setup. I created a project with
Rails 7 and I'm using esbuild and I added it again into my bin/setup
script, since I wanna it updates my dependencies again.
This commit adds yarn install into the setup script again if the user is not using importmap.

Copy link
Member

@gmcgibbon gmcgibbon left a comment

Choose a reason for hiding this comment

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

Also please add a changelog. Thanks!

Copy link
Member

@gmcgibbon gmcgibbon left a comment

Choose a reason for hiding this comment

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

LGTM! Please squash your commits into one after the changelog edits and I'll merge.

railties/CHANGELOG.md Outdated Show resolved Hide resolved
railties/CHANGELOG.md Outdated Show resolved Hide resolved
After af7428c the yarn install
instructions was dropped from bin/setup. This commmit adds it into
the setup script again if the user is not using importmap.
@duduribeiro duduribeiro force-pushed the add-js-dependencies-setup-when-not-using-importmaps branch from 842f14d to 155b757 Compare March 28, 2022 18:50
@duduribeiro
Copy link
Contributor Author

LGTM! Please squash your commits into one after the changelog edits and I'll merge.

Thanks a lot @gmcgibbon!

psuhed the changes and also squashed the commits.

@gmcgibbon gmcgibbon merged commit dfd0c9e into rails:main Mar 28, 2022
@duduribeiro duduribeiro deleted the add-js-dependencies-setup-when-not-using-importmaps branch March 30, 2022 13:59
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.

None yet

2 participants