Skip to content

Commit e5ce171

Browse files
authored
Merge branch 'trunk' into add/tab-panels-dimensions-support
2 parents a79c57e + 80415d9 commit e5ce171

186 files changed

Lines changed: 6053 additions & 3870 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.agents/skills/design-system-contribution/SKILL.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Read the cross-package guide and the package-specific source guidance that
2020
matches the change:
2121

2222
- [`docs/contributors/design/design-system-packages.md`](../../../docs/contributors/design/design-system-packages.md)
23+
- [`storybook/stories/design-system/contributing.md`](../../../storybook/stories/design-system/contributing.md)
24+
for when to report instead of fix, and what a report contains
2325
- [`packages/components/CONTRIBUTING.md`](../../../packages/components/CONTRIBUTING.md)
2426
- [`packages/ui/CONTRIBUTING.md`](../../../packages/ui/CONTRIBUTING.md)
2527
- [`packages/theme/README.md`](../../../packages/theme/README.md)

‎.agents/skills/design-system-ui-composition/SKILL.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,7 @@ Report unresolved setup or parity evidence as blocked rather than silently
6565
omitting it.
6666

6767
If no public API meets the need, document the unmet behaviour and affected
68-
consumers. Route package work to `design-system-contribution` in a local
69-
Gutenberg checkout; otherwise request an upstream Design System change.
68+
consumers, and stop to ask the user before working around it. Route
69+
package work to `design-system-contribution` in a local Gutenberg checkout;
70+
otherwise draft an upstream issue for the user to submit, following
71+
[Contributing to the Design System](../../../storybook/stories/design-system/contributing.md).

‎.github/CODEOWNERS‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
/packages/interactivity @luisherranz @darerodz
2626

2727
# Tooling
28+
/.npmrc @manzoorwanijk
2829
# Emptied out by #83033; the entry stays so anything reappearing there gets reviewed.
2930
/bin @manzoorwanijk
3031
/tools @manzoorwanijk

‎.github/workflows/check-package-changelogs.yml‎

Lines changed: 69 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,57 @@ on:
77
- trunk
88
paths:
99
- 'packages/admin-ui/**'
10+
- 'packages/babel-plugin-import-jsx-pragma/**'
11+
- 'packages/babel-plugin-makepot/**'
12+
- 'packages/babel-preset-default/**'
13+
- 'packages/browserslist-config/**'
1014
- 'packages/components/**'
15+
- 'packages/create-block/**'
16+
- 'packages/create-block-interactive-template/**'
17+
- 'packages/create-block-tutorial-template/**'
1118
- 'packages/dataviews/**'
19+
- 'packages/dependency-extraction-webpack-plugin/**'
20+
- 'packages/docgen/**'
21+
- 'packages/e2e-test-utils-playwright/**'
22+
- 'packages/env/**'
23+
- 'packages/eslint-plugin/**'
1224
- 'packages/fields/**'
1325
- 'packages/grid/**'
1426
- 'packages/icons/**'
1527
- 'packages/interface/**'
28+
- 'packages/npm-package-json-lint-config/**'
29+
- 'packages/postcss-plugins-preset/**'
30+
- 'packages/postcss-themes/**'
31+
- 'packages/prettier-config/**'
1632
- 'packages/private-apis/**'
33+
- 'packages/readable-js-assets-webpack-plugin/**'
34+
- 'packages/scripts/**'
1735
- 'packages/style-runtime/**'
36+
- 'packages/stylelint-config/**'
1837
- 'packages/theme/**'
1938
- 'packages/ui/**'
2039
- 'packages/undo-manager/**'
2140
- 'packages/views/**'
2241
- 'packages/widget-dashboard/**'
2342
- 'packages/widget-primitives/**'
2443
- 'packages/wp-build/**'
44+
- '!packages/*/**/*.md'
2545
- 'packages/*/CHANGELOG.md'
2646
- 'tools/validation/validate-changelogs.ts'
2747
- '.github/workflows/check-package-changelogs.yml'
28-
- '!packages/*/src/**/stories/**'
29-
- '!packages/*/src/**/test/**'
48+
- '!packages/*/**/stories/**'
49+
- '!packages/*/**/test/**'
50+
- '!packages/*/**/__tests__/**'
51+
- '!packages/*/**/*.stories.*'
52+
- '!packages/*/**/*.mdx'
53+
- '!packages/*/**/storybook.d.ts'
54+
- '!packages/*/tsconfig.stories.json'
55+
- '!packages/*/tsconfig.test.json'
56+
- '!packages/*/tsconfig.bin.json'
57+
- '!packages/*/.stylelintrc*'
58+
- '!packages/*/.eslintrc*'
59+
- '!packages/*/.prettierrc*'
60+
- '!packages/*/.gitignore'
3061

3162
# Disable permissions for all available scopes by default.
3263
# Any needed permissions should be configured at the job level.
@@ -63,6 +94,26 @@ jobs:
6394
- widget-dashboard
6495
- widget-primitives
6596
- wp-build
97+
# Tooling and config packages published to npm
98+
- babel-plugin-import-jsx-pragma
99+
- babel-plugin-makepot
100+
- babel-preset-default
101+
- browserslist-config
102+
- create-block
103+
- create-block-interactive-template
104+
- create-block-tutorial-template
105+
- dependency-extraction-webpack-plugin
106+
- docgen
107+
- e2e-test-utils-playwright
108+
- env
109+
- eslint-plugin
110+
- npm-package-json-lint-config
111+
- postcss-plugins-preset
112+
- postcss-themes
113+
- prettier-config
114+
- readable-js-assets-webpack-plugin
115+
- scripts
116+
- stylelint-config
66117
steps:
67118
- name: 'Get PR commit count'
68119
env:
@@ -87,8 +138,23 @@ jobs:
87138
# The workflow's `paths:` filter triggers on the union of all
88139
# tracked packages, so this matrix entry may run on a PR that
89140
# doesn't touch its package. Short-circuit if that's the case.
141+
# Files that don't warrant a CHANGELOG entry:
142+
ignored="^${PACKAGE_PATH}/("
143+
# Tests and stories.
144+
ignored+="(.+/)?(stories|test|__tests__)/"
145+
# Markdown: docs, READMEs and the CHANGELOG itself.
146+
ignored+="|.+\.(md|mdx)$"
147+
# Storybook files outside a stories directory.
148+
ignored+="|(.+/)?([^/]+\.stories\.[^/]+|storybook\.d\.ts)$"
149+
# Dev tooling configs at the package root. Configs a package
150+
# ships, such as `packages/scripts/config/`, and TypeScript
151+
# configs that can affect the build (`tsconfig.json`,
152+
# `tsconfig.build.json`, `tsconfig.plugins.json`) still count.
153+
ignored+="|(tsconfig\.(stories|test|bin)\.json|\.(stylelintrc|eslintrc|prettierrc)[^/]*|\.gitignore)$"
154+
ignored+=")"
155+
90156
relevant_changes=$(git diff --name-only "$BASE_SHA"...HEAD -- "${PACKAGE_PATH}/" \
91-
| grep -Ev "^${PACKAGE_PATH}/(src/(.+/)?(stories|test)/|CHANGELOG\.md$)" || true)
157+
| grep -Ev "$ignored" || true)
92158
93159
if [ -z "$relevant_changes" ]; then
94160
echo "No relevant changes under ${PACKAGE_PATH}; skipping CHANGELOG presence check."

‎.github/workflows/storybook-check.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
6868
- name: Build E2E Storybook
6969
env:
70+
NODE_OPTIONS: --max-old-space-size=8192
7071
NODE_ENV: test
7172
run: npm run storybook:e2e:build
7273

‎.npmrc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
engine-strict = true
2-
legacy-peer-deps = true
2+
strict-peer-deps = true
33
prefer-dedupe = true
44
lockfile-version = 3
55
min-release-age = 1

0 commit comments

Comments
 (0)