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

[Maintenance] Allow to choose whether use Webpack or Gulp #14330

Merged
merged 19 commits into from
Sep 26, 2022
Merged

[Maintenance] Allow to choose whether use Webpack or Gulp #14330

merged 19 commits into from
Sep 26, 2022

Conversation

jakubtobiasz
Copy link
Contributor

Q A
Branch? 1.12
Bug fix? no
New feature? yes
BC breaks? kinda, FE is not under BC policy but technically it can break the app just after the upgrade
Deprecations? kinda, gulp is deprecated from now
Related tickets #13900
License MIT

tl;dr
I've switched to webpack in every possible place. Also, I've replaced the old webpack test build with the gulp test build. Docs update is coming in the next PR.

@jakubtobiasz jakubtobiasz requested a review from a team as a code owner September 20, 2022 09:46
@probot-autolabeler probot-autolabeler bot added Admin AdminBundle related issues and PRs. Maintenance CI configurations, READMEs, releases, etc. Shop ShopBundle related issues and PRs. labels Sep 20, 2022
@jakubtobiasz jakubtobiasz changed the title [WIP] Allow to choose whether use Webpack or Gulp [Maintenance] Allow to choose whether use Webpack or Gulp Sep 20, 2022
.gitignore Show resolved Hide resolved
Copy link
Member

@Zales0123 Zales0123 left a comment

Choose a reason for hiding this comment

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

Finally we're doing something with it 💪

Makefile Show resolved Hide resolved
UPGRADE-1.12.md Show resolved Hide resolved
@probot-autolabeler probot-autolabeler bot added the API APIs related issues and PRs. label Sep 23, 2022
UPGRADE-1.12.md Outdated Show resolved Hide resolved
jakubtobiasz and others added 2 commits September 23, 2022 15:47
Co-authored-by: Jan Góralski <jan.wojciech.goralski@gmail.com>
Co-authored-by: Jan Góralski <jan.wojciech.goralski@gmail.com>

If you decide to use Webpack, you need to follow the steps below:

1. Make sure you have latest js dependencies installed (you can compare your `package.json` file with the one from `1.12`).
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
1. Make sure you have latest js dependencies installed (you can compare your `package.json` file with the one from `1.12`).
1. Make sure you have the latest js dependencies installed (you can compare your `package.json` file with the one from `1.12`).

@GSadee GSadee merged commit ff326b5 into Sylius:1.12 Sep 26, 2022
@GSadee
Copy link
Member

GSadee commented Sep 26, 2022

Thank you, Jakub! 🎉

GSadee added a commit that referenced this pull request Sep 29, 2022
…kubtobiasz)

This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12 <!-- see the comment below -->                  |
| Bug fix?        | no                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no <!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets |                       |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.11 branch
 - Features and deprecations must be submitted against the 1.12 branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
Initially, I was planning to make a bigger section about our changes in frontend but I think the section from the `UPGRADE` file is more than enough (ref #14330).

Commits
-------

02d6a7b Remove migrating to webpack page from docs
8af27a6 Update documentation about Frontend
@jakubtobiasz jakubtobiasz mentioned this pull request Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin AdminBundle related issues and PRs. API APIs related issues and PRs. Maintenance CI configurations, READMEs, releases, etc. Shop ShopBundle related issues and PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants