-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Github workflows: extend package changelog nudge to bundled packages #78934
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
Changes from all commits
8d6d865
f2fa80a
4e77a84
e819691
3f9625a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -6,10 +6,22 @@ on: | |||||||||||||||||||||||||||
| branches: | ||||||||||||||||||||||||||||
| - trunk | ||||||||||||||||||||||||||||
| paths: | ||||||||||||||||||||||||||||
| - 'packages/admin-ui/**' | ||||||||||||||||||||||||||||
| - 'packages/components/**' | ||||||||||||||||||||||||||||
| - 'packages/dataviews/**' | ||||||||||||||||||||||||||||
| - 'packages/ui/**' | ||||||||||||||||||||||||||||
| - 'packages/fields/**' | ||||||||||||||||||||||||||||
| - 'packages/grid/**' | ||||||||||||||||||||||||||||
| - 'packages/icons/**' | ||||||||||||||||||||||||||||
| - 'packages/interface/**' | ||||||||||||||||||||||||||||
| - 'packages/private-apis/**' | ||||||||||||||||||||||||||||
| - 'packages/style-runtime/**' | ||||||||||||||||||||||||||||
| - 'packages/theme/**' | ||||||||||||||||||||||||||||
| - 'packages/ui/**' | ||||||||||||||||||||||||||||
| - 'packages/undo-manager/**' | ||||||||||||||||||||||||||||
| - 'packages/views/**' | ||||||||||||||||||||||||||||
| - 'packages/widget-dashboard/**' | ||||||||||||||||||||||||||||
| - 'packages/widget-primitives/**' | ||||||||||||||||||||||||||||
| - 'packages/wp-build/**' | ||||||||||||||||||||||||||||
| - '!packages/*/src/**/stories/**' | ||||||||||||||||||||||||||||
| - '!packages/*/src/**/test/**' | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
|
|
@@ -27,10 +39,25 @@ jobs: | |||||||||||||||||||||||||||
| fail-fast: false | ||||||||||||||||||||||||||||
| matrix: | ||||||||||||||||||||||||||||
| package: | ||||||||||||||||||||||||||||
| - components | ||||||||||||||||||||||||||||
| # Bundled packages | ||||||||||||||||||||||||||||
| # Keep in sync with dependency-extraction-webpack-plugin | ||||||||||||||||||||||||||||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The list:
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I sense the answer is a reluctant "yes", but do we still maintain
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, I don't think we're moving away from That said, I think we could move to read I also want to be transparent to consumer what gets bundled and what externalized, because it really affects a lot how careful they need to be when updating dependency versions. Doing that in https://github.com/WordPress/gutenberg/pull/79634/changes#diff-ed1ee7b58dba4945d02b57bbde06ff95123fc15955ae2d760f1707b00b22fb56 but later iterations could change how we expose the info. For now I just want to make sure changelogs are updated within the setup we have today, and we can improve the setup outside this PR. |
||||||||||||||||||||||||||||
| - admin-ui | ||||||||||||||||||||||||||||
| - dataviews | ||||||||||||||||||||||||||||
| - fields | ||||||||||||||||||||||||||||
| - grid | ||||||||||||||||||||||||||||
| - icons | ||||||||||||||||||||||||||||
| - interface | ||||||||||||||||||||||||||||
| - style-runtime | ||||||||||||||||||||||||||||
| - ui | ||||||||||||||||||||||||||||
| - undo-manager | ||||||||||||||||||||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess per your other comment it's consistent with what's in the Webpack plugin, but now I'm confused why it's there 🤔
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It turns out to be a fun little rabbit-hole. The package was originally intended to be "bundled", as mentioned in @youknowriad 's comment #54292 (comment). As part of shifting to npm workspaces in #65681 / #66272, The Thus, we now have a state where In any case, not really a blocker for this pull request in particular, but we'll need to figure out what we want to do with this package.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I did some archaeology, and the entry is simply stale: It later became one ( For this PR, the grouping is cosmetic; the check behaves the same regardless of where the package sits. The real fix would be removing Which also reinforces the point you both made: deriving this from
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nice sleuthing! Opened PR to continue there: |
||||||||||||||||||||||||||||
| - views | ||||||||||||||||||||||||||||
| # Other packages | ||||||||||||||||||||||||||||
| - theme | ||||||||||||||||||||||||||||
| - components | ||||||||||||||||||||||||||||
| - private-apis | ||||||||||||||||||||||||||||
| - widget-dashboard | ||||||||||||||||||||||||||||
| - widget-primitives | ||||||||||||||||||||||||||||
| - wp-build | ||||||||||||||||||||||||||||
| steps: | ||||||||||||||||||||||||||||
| - name: 'Get PR commit count' | ||||||||||||||||||||||||||||
| env: | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.