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

Bring back automatic yarn install run with deprecation notice #140

Merged
merged 3 commits into from
Jun 5, 2022

Conversation

tomdracz
Copy link
Collaborator

@tomdracz tomdracz commented Jun 5, 2022

Restores behaviour removed in #131 and adds deprecation notice as we should only remove this in Shakapacker v7

@tomdracz tomdracz merged commit 2965088 into master Jun 5, 2022
@tomdracz tomdracz deleted the bring-back-yarn-ehance branch June 5, 2022 10:11
@tagliala
Copy link
Contributor

tagliala commented Jun 6, 2022

Thanks. In the meanwhile, I've updated the deploy recipe so it will be ready for v7 and this change

@justin808
Copy link
Member

@tomdracz

You defined yarn:install
https://github.com/shakacode/shakapacker/pull/140/files#diff-807a4dd8c080e66fff6e78f982df63f6f78b65329a60eb5681fcc941930f435aR5 did

and that redefined the base yarn:install
https://www.dan-manges.com/blog/modifying-rake-tasks

and that causes yarn install to run twice.

Original one removed was webpacker:yarn_install

The current implementation runs yarn install twice always.

@@ -0,0 +1,44 @@
# frozen_string_literal: true
Copy link
Member

Choose a reason for hiding this comment

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

why was this ever added @tomdracz

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.

3 participants