Skip to content

Rename Webpacker instances to shakapacker#245

Merged
justin808 merged 21 commits intoshakapacker-v6.7from
webpacker-to-shakapacker
Mar 13, 2023
Merged

Rename Webpacker instances to shakapacker#245
justin808 merged 21 commits intoshakapacker-v6.7from
webpacker-to-shakapacker

Conversation

@ahangarha
Copy link
Copy Markdown
Contributor

@ahangarha ahangarha commented Feb 6, 2023

This PR should cover the following with backward compatibility:

  • Use Shakapacker module by default.
  • Use config files with names related to Shakapacker (namely config/shakapacker.yml)
  • Use Rake tasks with the shakapacker namespace.
  • Update tests
  • Update the documentation.
  • Guideline for migrating to Shakapacker naming conventions.
  • Update Changelog

Closes #157

@ahangarha ahangarha force-pushed the webpacker-to-shakapacker branch 2 times, most recently from b062c7a to 41a761f Compare February 6, 2023 14:03
@ahangarha ahangarha changed the title Rename Webpacker instances to shakapacker WIP - Rename Webpacker instances to shakapacker Feb 6, 2023
@ahangarha ahangarha force-pushed the webpacker-to-shakapacker branch 3 times, most recently from dde3fb3 to 159bd9d Compare February 8, 2023 10:10
Comment thread lib/shakapacker/base_strategy.rb
Comment thread lib/tasks/webpacker/check_node.rake Outdated
Comment thread lib/tasks/webpacker/info.rake Outdated
Copy link
Copy Markdown
Member

@justin808 justin808 left a comment

Choose a reason for hiding this comment

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

Comment thread lib/shakapacker.rb
Comment thread lib/tasks/shakapacker.rake Outdated
Comment thread lib/tasks/webpacker/clean.rake Outdated
Comment thread lib/webpacker/dev_server_runner.rb Outdated
Comment thread lib/webpacker/helper.rb Outdated
@ahangarha ahangarha force-pushed the webpacker-to-shakapacker branch 2 times, most recently from fb5eeb2 to ea4ddfb Compare February 18, 2023 16:49
@ahangarha ahangarha marked this pull request as ready for review February 20, 2023 16:43
@ahangarha ahangarha marked this pull request as draft February 21, 2023 10:54
Comment thread package/rules/__tests__/swc.js Outdated
@vaukalak
Copy link
Copy Markdown
Contributor

Otherwise LGTM

@ahangarha ahangarha force-pushed the webpacker-to-shakapacker branch from 756e056 to 4cc8b9f Compare March 8, 2023 09:08
Copy link
Copy Markdown
Member

@justin808 justin808 left a comment

Choose a reason for hiding this comment

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

Make a branch called

webpacker-v6.7

otherwise this PR will then reflect all the changes on the other branch

and change base of this PR to that branch.

merge after fixes

then change other PR to be off of this new branch

then merge

then I'll push pre-release on the branch

Comment thread CHANGELOG.md
_Please add entries here for your pull requests that are not yet released._

### Breaking changes
- Rename Webpacker to Shakapacker in entire project including config files, binstubs, environment variables,... [PR157](https://github.com/shakacode/shakapacker/pull/157) by [ahangarha](https://github.com/ahangarha)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

But 6.x is not a breaking change.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This PR is breaking. The other PR makes these changes non-breaking.

Some background:
We were going to make a breaking release (v7) out of this branch. Later we decided to add backward compatibility for perhaps the last v6.x.

Copy link
Copy Markdown
Contributor Author

@ahangarha ahangarha Mar 11, 2023

Choose a reason for hiding this comment

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

Changelog will get updated in the other PR.

Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
@ahangarha ahangarha changed the base branch from master to shakapacker-v6.7 March 11, 2023 10:14
@ahangarha ahangarha marked this pull request as ready for review March 11, 2023 10:25
@ahangarha ahangarha changed the title WIP - Rename Webpacker instances to shakapacker Rename Webpacker instances to shakapacker Mar 11, 2023
@ahangarha ahangarha requested review from justin808 and vaukalak March 11, 2023 10:25
@justin808 justin808 merged commit bfa5e54 into shakapacker-v6.7 Mar 13, 2023
@justin808 justin808 deleted the webpacker-to-shakapacker branch March 13, 2023 09:00
ahangarha added a commit that referenced this pull request Apr 19, 2023
* Use Shakapacker module, config files, and env variables
* Update tests to use shakapacker module and config files
* Rename rake files to shakapacker
* rename binstubs in test app
* Update rake tasks and their specs
* Update shakapacker_precompile entry in config file
* Fix installation scripts
* Replace remaining instances of webpacker
* Update JS code and tests
* Update description of clean rake tasks
* Update changelog
* Add v7 upgrade guide
* Change Webpacker reference to Shakapacker in docs
* Update Readme and contribution guide for shakapacker
ahangarha added a commit that referenced this pull request Apr 27, 2023
* Rename Webpacker instances to shakapacker (#245)
* Add backward compatibility (#252)
* Update docs for spelling change (#263)
* Fix backward compatibility for setting WEBPACKER_CONFIG in webpack.config.js (#266)
* Remove redundant code for enhancing precompile task (#270)
* Update webpack dev server configuration (#276)
* Stop stripping top level dirs (#283)
* Improve source_entry_path robustness (#284)

---------

Co-authored-by: Tom Dracz <[email protected]>
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.

Rename all references of webpacker to shakapacker

3 participants