-
Notifications
You must be signed in to change notification settings - Fork 295
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
Move JS dependencies required to build assets into their own workspace #10321
Conversation
Build files for 6ef79f8 have been deleted. |
…bpack-and-blocks.
package.json
Outdated
@@ -48,9 +48,6 @@ | |||
"install-global-npm": "npm install -g [email protected]", | |||
"postinstall": "patch-package" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to include the patch-package
config + handling here as well, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't seem to have any config for patch-package
, it just applies the patches in {repo root}/patches
.
Actually, we do have a minor hiccup there in that we have a PHP patch in that directory that that patch-package
complains about, it's just a warning but we should fix it. I'll create an issue for it.
97c0ffe
to
7f1f41e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @techanvil. Looks mostly good but there are some things that we need to fix before moving on.
assets/blocks/reader-revenue-manager/block-editor-plugin/SettingPanel.js
Outdated
Show resolved
Hide resolved
Removed: - @popperjs/core - @react-hook/window-size Added: - @react-hook/event - @react-hook/throttle These added packages were needed as they were previously provided by @react-hook/window-size.
Thanks for the review, @eugene-manuilov! I've addressed your comments. Back over to you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! LGTM.
Summary
Addresses issue:
Relevant technical choices
As discussed in Slack, I've included moving webpack config for the build scripts, and the
blocks
folder intoassets/
in this PR.PR Author Checklist
Do not alter or remove anything below. The following sections will be managed by moderators only.
Code Reviewer Checklist
Merge Reviewer Checklist