Skip to content

Fix/build#168

Merged
bph merged 3 commits intobph:trunkfrom
sirreal:fix/build
Oct 25, 2024
Merged

Fix/build#168
bph merged 3 commits intobph:trunkfrom
sirreal:fix/build

Conversation

@sirreal
Copy link

@sirreal sirreal commented Oct 25, 2024

I found that the repo was out of sync with Gutenberg and updated the files directly based on WordPress@b2d692c.

Notably, package.json and package-lock.json were out of sync. This is the main reason that the build wasn't working.

I also removed many files that are not in Gutenberg.

git diff HEAD upstream/trunk --stat

Before

big list of changes
 .husky/_/husky.sh                                  |    29 -
 assets/gutenberg-times-logo-bw.svg                 |     1 -
 changelog by stable.md                             |   255 -
 changelog-13.7.md                                  |   226 -
 gutenberg.php                                      |    45 +-
 package-lock.json                                  | 19770 +++++++------------
 package.json                                       |    21 +-
 .../src/components/block-ratings/style.css         |    21 -
 .../src/components/block-ratings/style.css.map     |     9 -
 .../components/downloadable-block-notice/style.css |     9 -
 .../downloadable-block-notice/style.css.map        |     9 -
 .../components/downloadable-blocks-list/style.css  |    11 -
 .../downloadable-blocks-list/style.css.map         |     9 -
 .../installed-blocks-pre-publish-panel/style.css   |     4 -
 .../style.css.map                                  |     9 -
 .../src/components/block-icon/style.css            |    25 -
 .../src/components/block-icon/style.css.map        |     9 -
 .../block-list-appender/style.native.css           |     8 -
 .../block-list-appender/style.native.css.map       |     9 -
 .../src/components/block-preview/style.css         |    40 -
 .../src/components/block-preview/style.css.map     |     9 -
 .../src/components/block-settings-menu/style.css   |     4 -
 .../components/block-settings-menu/style.css.map   |     9 -
 .../components/block-settings/container.native.css |     5 -
 .../block-settings/container.native.css.map        |     9 -
 .../src/components/block-types-list/style.css      |    12 -
 .../src/components/block-types-list/style.css.map  |     9 -
 .../src/components/border-style-control/style.css  |    13 -
 .../components/border-style-control/style.css.map  |     9 -
 .../src/components/contrast-checker/style.css      |     4 -
 .../src/components/contrast-checker/style.css.map  |     9 -
 .../floating-toolbar/floatingToolbar.android.css   |     5 -
 .../floatingToolbar.android.css.map                |     9 -
 .../src/components/image-size-control/style.css    |    31 -
 .../components/image-size-control/style.css.map    |     9 -
 .../components/justify-content-control/style.css   |    24 -
 .../justify-content-control/style.css.map          |     9 -
 .../src/components/line-height-control/style.css   |     9 -
 .../components/line-height-control/style.css.map   |     9 -
 .../src/components/plain-text/style.css            |    13 -
 .../src/components/plain-text/style.css.map        |     9 -
 .../components/rich-text/format-toolbar/style.css  |     6 -
 .../rich-text/format-toolbar/style.css.map         |     9 -
 .../components/skip-to-selected-block/style.css    |    22 -
 .../skip-to-selected-block/style.css.map           |     9 -
 .../text-decoration-and-transform/style.css        |     6 -
 .../text-decoration-and-transform/style.css.map    |     9 -
 .../components/text-decoration-control/style.css   |    23 -
 .../text-decoration-control/style.css.map          |     9 -
 .../components/text-transform-control/style.css    |    23 -
 .../text-transform-control/style.css.map           |     9 -
 .../src/components/writing-flow/style.css          |    14 -
 .../src/components/writing-flow/style.css.map      |     9 -
 packages/block-library/src/archives/editor.css     |     4 -
 packages/block-library/src/archives/editor.css.map |     9 -
 packages/block-library/src/audio/editor.css        |     5 -
 packages/block-library/src/audio/editor.css.map    |     9 -
 packages/block-library/src/audio/style.native.css  |    14 -
 .../block-library/src/audio/style.native.css.map   |     9 -
 packages/block-library/src/block/editor.css        |    13 -
 packages/block-library/src/block/editor.css.map    |     9 -
 packages/block-library/src/buttons/editor.css      |    65 -
 packages/block-library/src/buttons/editor.css.map  |     9 -
 packages/block-library/src/buttons/style.css       |   137 -
 packages/block-library/src/buttons/style.css.map   |     9 -
 packages/block-library/src/categories/editor.css   |     8 -
 .../block-library/src/categories/editor.css.map    |     9 -
 packages/block-library/src/categories/style.css    |    10 -
 .../block-library/src/categories/style.css.map     |     9 -
 packages/block-library/src/code/editor.css         |     4 -
 packages/block-library/src/code/editor.css.map     |     9 -
 packages/block-library/src/code/style.css          |     6 -
 packages/block-library/src/code/style.css.map      |     9 -
 packages/block-library/src/file/editor.css         |    53 -
 packages/block-library/src/file/editor.css.map     |     9 -
 .../src/gallery/tiles-styles.native.css            |    21 -
 .../src/gallery/tiles-styles.native.css.map        |     9 -
 packages/block-library/src/group/style.css         |     5 -
 packages/block-library/src/group/style.css.map     |     9 -
 packages/block-library/src/group/theme.css         |     6 -
 packages/block-library/src/group/theme.css.map     |     9 -
 packages/block-library/src/heading/editor.css      |    12 -
 packages/block-library/src/heading/editor.css.map  |     9 -
 .../block-library/src/latest-comments/style.css    |    46 -
 .../src/latest-comments/style.css.map              |     9 -
 packages/block-library/src/latest-posts/editor.css |    16 -
 .../block-library/src/latest-posts/editor.css.map  |     9 -
 packages/block-library/src/media-text/editor.css   |    20 -
 .../block-library/src/media-text/editor.css.map    |     9 -
 packages/block-library/src/navigation/style.css    |    69 -
 .../block-library/src/navigation/style.css.map     |     9 -
 packages/block-library/src/navigation/theme.css    |     9 -
 .../block-library/src/navigation/theme.css.map     |     9 -
 packages/block-library/src/page-list/editor.css    |    19 -
 .../block-library/src/page-list/editor.css.map     |     9 -
 packages/block-library/src/page-list/style.css     |    25 -
 packages/block-library/src/page-list/style.css.map |     9 -
 packages/block-library/src/paragraph/editor.css    |    12 -
 .../block-library/src/paragraph/editor.css.map     |     9 -
 packages/block-library/src/post-author/style.css   |    37 -
 .../block-library/src/post-author/style.css.map    |     9 -
 packages/block-library/src/post-content/editor.css |    18 -
 .../block-library/src/post-content/editor.css.map  |     9 -
 packages/block-library/src/post-excerpt/editor.css |     4 -
 .../block-library/src/post-excerpt/editor.css.map  |     9 -
 packages/block-library/src/post-excerpt/style.css  |     4 -
 .../block-library/src/post-excerpt/style.css.map   |     9 -
 .../src/post-featured-image/style.css              |     9 -
 .../src/post-featured-image/style.css.map          |     9 -
 .../block-library/src/post-template/editor.css     |     6 -
 .../block-library/src/post-template/editor.css.map |     9 -
 packages/block-library/src/post-title/style.css    |     4 -
 .../block-library/src/post-title/style.css.map     |     9 -
 .../src/pullquote/blockquote.native.css            |     9 -
 .../src/pullquote/blockquote.native.css.map        |     9 -
 packages/block-library/src/pullquote/editor.css    |    23 -
 .../block-library/src/pullquote/editor.css.map     |     9 -
 packages/block-library/src/pullquote/theme.css     |    15 -
 packages/block-library/src/pullquote/theme.css.map |     9 -
 .../src/query-pagination-numbers/editor.css        |    13 -
 .../src/query-pagination-numbers/editor.css.map    |     9 -
 .../block-library/src/query-pagination/editor.css  |    42 -
 .../src/query-pagination/editor.css.map            |     9 -
 .../block-library/src/query-pagination/style.css   |    28 -
 .../src/query-pagination/style.css.map             |     9 -
 packages/block-library/src/query-title/editor.css  |     5 -
 .../block-library/src/query-title/editor.css.map   |     9 -
 packages/block-library/src/query/editor.css        |     8 -
 packages/block-library/src/query/editor.css.map    |     9 -
 packages/block-library/src/quote/style.css         |    18 -
 packages/block-library/src/quote/style.css.map     |     9 -
 packages/block-library/src/quote/theme.css         |    30 -
 packages/block-library/src/quote/theme.css.map     |     9 -
 packages/block-library/src/search/theme.css        |     4 -
 packages/block-library/src/search/theme.css.map    |     9 -
 packages/block-library/src/separator/editor.css    |     5 -
 .../block-library/src/separator/editor.css.map     |     9 -
 packages/block-library/src/separator/style.css     |    28 -
 packages/block-library/src/separator/style.css.map |     9 -
 packages/block-library/src/separator/theme.css     |    21 -
 packages/block-library/src/separator/theme.css.map |     9 -
 packages/block-library/src/site-logo/editor.css    |    28 -
 .../block-library/src/site-logo/editor.css.map     |     9 -
 packages/block-library/src/site-logo/style.css     |    21 -
 packages/block-library/src/site-logo/style.css.map |     9 -
 packages/block-library/src/social-link/editor.css  |    17 -
 .../block-library/src/social-link/editor.css.map   |     9 -
 .../src/social-link/socials-with-bg.css            |   201 -
 .../src/social-link/socials-with-bg.css.map        |     9 -
 .../src/social-link/socials-without-bg.css         |   157 -
 .../src/social-link/socials-without-bg.css.map     |     9 -
 packages/block-library/src/spacer/style.css        |     4 -
 packages/block-library/src/spacer/style.css.map    |     9 -
 packages/block-library/src/subhead/editor.css      |     6 -
 packages/block-library/src/subhead/editor.css.map  |     9 -
 packages/block-library/src/subhead/style.css       |     6 -
 packages/block-library/src/subhead/style.css.map   |     9 -
 packages/block-library/src/tag-cloud/style.css     |     9 -
 packages/block-library/src/tag-cloud/style.css.map |     9 -
 packages/block-library/src/template-part/theme.css |     6 -
 .../block-library/src/template-part/theme.css.map  |     9 -
 .../block-library/src/term-description/editor.css  |     5 -
 .../src/term-description/editor.css.map            |     9 -
 packages/block-library/src/text-columns/style.css  |    37 -
 .../block-library/src/text-columns/style.css.map   |     9 -
 packages/block-library/src/verse/style.css         |     6 -
 packages/block-library/src/verse/style.css.map     |     9 -
 packages/components/src/color-indicator/style.css  |    12 -
 .../components/src/color-indicator/style.css.map   |     9 -
 packages/components/src/date-time/datepicker.css   |  1021 -
 .../components/src/date-time/datepicker.css.map    |     9 -
 .../components/src/dimension-control/style.css     |    28 -
 .../components/src/dimension-control/style.css.map |     9 -
 packages/components/src/draggable/style.css        |    22 -
 packages/components/src/draggable/style.css.map    |     9 -
 .../src/duotone-picker/color-list-picker/style.css |     5 -
 .../duotone-picker/color-list-picker/style.css.map |     9 -
 .../src/higher-order/navigate-regions/style.css    |    29 -
 .../higher-order/navigate-regions/style.css.map    |     9 -
 .../bottom-sheet/link-suggestion-styles.native.css |    29 -
 .../link-suggestion-styles.native.css.map          |     9 -
 .../src/mobile/bottom-sheet/ripple.native.css      |    12 -
 .../src/mobile/bottom-sheet/ripple.native.css.map  |     9 -
 .../focal-point-settings-panel/styles.native.css   |     4 -
 .../styles.native.css.map                          |     9 -
 .../src/mobile/gradient/style.native.css           |     9 -
 .../src/mobile/gradient/style.native.css.map       |     9 -
 .../keyboard-avoiding-view/styles.native.css       |    10 -
 .../keyboard-avoiding-view/styles.native.css.map   |     9 -
 .../src/mobile/link-settings/style.native.css      |     5 -
 .../src/mobile/link-settings/style.native.css.map  |     9 -
 .../mobile/readable-content-view/style.native.css  |    36 -
 .../readable-content-view/style.native.css.map     |     9 -
 .../components/src/responsive-wrapper/style.css    |    21 -
 .../src/responsive-wrapper/style.css.map           |     9 -
 packages/components/src/sandbox/style.css          |     8 -
 packages/components/src/sandbox/style.css.map      |     9 -
 packages/components/src/scroll-lock/style.css      |     5 -
 packages/components/src/scroll-lock/style.css.map  |     9 -
 packages/components/src/toolbar/style.native.css   |    15 -
 .../components/src/toolbar/style.native.css.map    |     9 -
 .../src/toolbar/toolbar-group/style.native.css     |    15 -
 .../src/toolbar/toolbar-group/style.native.css.map |     9 -
 .../src/components/sidebar-block-editor/style.css  |     5 -
 .../components/sidebar-block-editor/style.css.map  |     9 -
 .../src/components/add-menu/style.css              |    19 -
 .../src/components/add-menu/style.css.map          |     9 -
 .../src/components/menu-switcher/style.css         |     4 -
 .../src/components/menu-switcher/style.css.map     |     9 -
 .../src/components/name-editor/style.css           |     4 -
 .../src/components/name-editor/style.css.map       |     9 -
 .../src/components/sidebar/style.css               |     4 -
 .../src/components/sidebar/style.css.map           |     9 -
 .../src/components/header/template-title/style.css |    12 -
 .../components/header/template-title/style.css.map |     9 -
 .../src/components/sidebar/post-author/style.css   |    11 -
 .../components/sidebar/post-author/style.css.map   |     9 -
 .../src/components/sidebar/post-link/style.css     |    22 -
 .../src/components/sidebar/post-link/style.css.map |     9 -
 .../src/components/sidebar/post-schedule/style.css |    21 -
 .../components/sidebar/post-schedule/style.css.map |     9 -
 .../src/components/sidebar/post-status/style.css   |     6 -
 .../components/sidebar/post-status/style.css.map   |     9 -
 .../src/components/sidebar/template/style.css      |    16 -
 .../src/components/sidebar/template/style.css.map  |     9 -
 .../src/components/page-attributes/style.css       |    20 -
 .../src/components/page-attributes/style.css.map   |     9 -
 .../editor/src/components/post-excerpt/style.css   |     5 -
 .../src/components/post-excerpt/style.css.map      |     9 -
 .../src/components/post-locked-modal/style.css     |    30 -
 .../src/components/post-locked-modal/style.css.map |     9 -
 .../src/components/post-publish-button/style.css   |     9 -
 .../components/post-publish-button/style.css.map   |     9 -
 packages/editor/src/components/post-slug/style.css |     5 -
 .../editor/src/components/post-slug/style.css.map  |     9 -
 .../template-validation-notice/style.css           |    16 -
 .../template-validation-notice/style.css.map       |     9 -
 packages/format-library/src/text-color/style.css   |    42 -
 .../format-library/src/text-color/style.css.map    |     9 -
 .../src/components/import-dropdown/style.css       |     4 -
 .../src/components/import-dropdown/style.css.map   |     9 -
 .../src/components/import-form/style.css           |    20 -
 .../src/components/import-form/style.css.map       |     9 -
 .../stylelint-config/test/selectors-invalid.css    |    33 +-
 .../test/selectors-invalid.css.map                 |     9 -
 packages/stylelint-config/test/selectors-valid.css |    24 +-
 .../stylelint-config/test/selectors-valid.css.map  |     9 -
 247 files changed, 7602 insertions(+), 17188 deletions(-)

After

 gutenberg.php | 45 ++++++++-------------------------------------
 1 file changed, 8 insertions(+), 37 deletions(-)

@sirreal sirreal marked this pull request as ready for review October 25, 2024 14:01
@github-actions
Copy link

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: sirreal <jonsurrell@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@github-actions
Copy link

github-actions bot commented Oct 25, 2024

Warning: Type of PR label mismatch

To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.

  • Type-related labels to choose from: [Type] Automated Testing, [Type] Breaking Change, [Type] Bug, [Type] Build Tooling, [Type] Code Quality, [Type] Copy, [Type] Developer Documentation, [Type] Enhancement, [Type] Experimental, [Type] Feature, [Type] New API, [Type] Task, [Type] Technical Prototype, [Type] Performance, [Type] Project Management, [Type] Regression, [Type] Security, [Type] WP Core Ticket, Backport from WordPress Core, Gutenberg Plugin.
  • Labels found: documentation, dependencies.

Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task.

@bph bph added documentation Improvements or additions to documentation dependencies Pull requests that update a dependency file labels Oct 25, 2024
@bph bph merged commit 16a5fa3 into bph:trunk Oct 25, 2024
@sirreal sirreal deleted the fix/build branch October 25, 2024 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants