Skip to content

Commit a5f2846

Browse files
Merge changes published in the Gutenberg plugin "release/13.3" branch
1 parent 4631d51 commit a5f2846

640 files changed

Lines changed: 14624 additions & 9288 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.

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ insert_final_newline = true
1313
trim_trailing_whitespace = true
1414
indent_style = tab
1515

16+
[*.{yml,yaml}]
17+
indent_style = space
18+
indent_size = 2
19+
1620
[*.{gradle,java,kt}]
1721
indent_style = space
1822

.eslintrc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,11 @@ module.exports = {
258258
message:
259259
'`$$` is discouraged, please use `locator` instead',
260260
},
261+
{
262+
selector:
263+
'CallExpression[callee.object.name="page"][callee.property.name="waitForTimeout"]',
264+
message: 'Prefer page.locator instead.',
265+
},
261266
],
262267
},
263268
},

.github/CODEOWNERS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Documentation
2-
/docs @ajitbohra @ryanwelcher @juanmaguitar
2+
/docs @ajitbohra @ryanwelcher @juanmaguitar @fabiankaegy
33

44
# Schemas
55
/schemas/json @ajlende
@@ -20,6 +20,7 @@
2020
/packages/block-library/src/page-list @tellthemachines
2121
/packages/block-library/src/comment-template @michalczaplinski
2222
/packages/block-library/src/comments @michalczaplinski
23+
/packages/block-library/src/table-of-contents @ZebulanStanphill
2324

2425
# Duotone
2526
/lib/block-supports/duotone.php @ajlende

.github/ISSUE_TEMPLATE/Bug_report.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ body:
1313
Feature '...' is not working properly. I expect '...' to happen, but '...' happens instead
1414
validations:
1515
required: true
16-
16+
1717
- type: textarea
1818
attributes:
1919
label: Step-by-step reproduction instructions
@@ -42,31 +42,31 @@ body:
4242
description: |
4343
Please list what Gutenberg version you are using. If you aren't using Gutenberg, please note that it's not installed.
4444
placeholder: |
45-
- WordPress version, Gutenberg version, and active Theme you are using.
46-
- Browser(s) are you seeing the problem on.
47-
- Device you are using and operating system (e.g. "Desktop with Windows 10", "iPhone with iOS 14", etc.).
45+
- WordPress version, Gutenberg version, and active Theme you are using.
46+
- Browser(s) are you seeing the problem on.
47+
- Device you are using and operating system (e.g. "Desktop with Windows 10", "iPhone with iOS 14", etc.).
4848
validations:
4949
required: false
50-
50+
5151
- type: dropdown
5252
id: existing
5353
attributes:
5454
label: Please confirm that you have searched existing issues in the repo.
5555
description: You can do this by searching https://github.com/WordPress/gutenberg/issues and making sure the bug is not related to another plugin.
5656
multiple: true
5757
options:
58-
- 'Yes'
59-
- 'No'
58+
- 'Yes'
59+
- 'No'
6060
validations:
6161
required: true
62-
62+
6363
- type: dropdown
6464
id: plugins
6565
attributes:
6666
label: Please confirm that you have tested with all plugins deactivated except Gutenberg.
6767
multiple: true
6868
options:
69-
- 'Yes'
70-
- 'No'
69+
- 'Yes'
70+
- 'No'
7171
validations:
7272
required: true

.github/workflows/build-plugin-zip.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ jobs:
169169
ref: ${{ needs.bump-version.outputs.release_branch || github.ref }}
170170

171171
- name: Use desired version of NodeJS
172-
uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f # v2.2.2
172+
uses: actions/setup-node@5b52f097d36d4b0b2f94ed6de710023fbb8b2236 # v3.1.0
173173
with:
174-
node-version: 14
174+
node-version-file: '.nvmrc'
175175
cache: npm
176176

177177
- name: Build Gutenberg plugin ZIP file
@@ -316,6 +316,7 @@ jobs:
316316
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
317317
with:
318318
path: publish
319+
# Later, we switch this branch in the script that publishes packages.
319320
ref: trunk
320321
token: ${{ secrets.GUTENBERG_TOKEN }}
321322

@@ -325,10 +326,10 @@ jobs:
325326
git config user.name "Gutenberg Repository Automation"
326327
git config user.email [email protected]
327328
328-
- name: Setup Node
329-
uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f # v2.2.2
329+
- name: Setup Node (for CLI)
330+
uses: actions/setup-node@5b52f097d36d4b0b2f94ed6de710023fbb8b2236 # v3.1.0
330331
with:
331-
node-version: 14
332+
node-version-file: 'main/.nvmrc'
332333
registry-url: 'https://registry.npmjs.org'
333334

334335
- name: Publish packages to npm ("latest" dist-tag)

.github/workflows/bundle-size.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,16 @@ jobs:
3535
build:
3636
name: Check
3737
runs-on: ubuntu-latest
38-
strategy:
39-
matrix:
40-
node: ['14']
4138

4239
steps:
4340
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
4441
with:
4542
fetch-depth: 1
4643

4744
- name: Use desired version of NodeJS
48-
uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f # v2.2.2
45+
uses: actions/setup-node@5b52f097d36d4b0b2f94ed6de710023fbb8b2236 # v3.1.0
4946
with:
50-
node-version: ${{ matrix.node }}
47+
node-version-file: '.nvmrc'
5148
cache: npm
5249

5350
- uses: preactjs/compressed-size-action@df6e03e187079aef959a2878311639c77b95ee2e # v2.2.0

.github/workflows/create-block.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
3131

3232
- name: Use desired version of NodeJS
33-
uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f # v2.2.2
33+
uses: actions/setup-node@5b52f097d36d4b0b2f94ed6de710023fbb8b2236 # v3.1.0
3434
with:
3535
node-version: ${{ matrix.node }}
3636
cache: npm

.github/workflows/end2end-test-playwright.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,14 @@ jobs:
2222
if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }}
2323
strategy:
2424
fail-fast: false
25-
matrix:
26-
node: ['14']
2725

2826
steps:
2927
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
3028

3129
- name: Use desired version of NodeJS
32-
uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f # v2.2.2
30+
uses: actions/setup-node@5b52f097d36d4b0b2f94ed6de710023fbb8b2236 # v3.1.0
3331
with:
34-
node-version: ${{ matrix.node }}
32+
node-version-file: '.nvmrc'
3533
cache: npm
3634

3735
- name: Npm install and build

.github/workflows/end2end-test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,14 @@ jobs:
2424
fail-fast: false
2525
matrix:
2626
part: [1, 2, 3, 4]
27-
node: ['14']
2827

2928
steps:
3029
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
3130

3231
- name: Use desired version of NodeJS
33-
uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f # v2.2.2
32+
uses: actions/setup-node@5b52f097d36d4b0b2f94ed6de710023fbb8b2236 # v3.1.0
3433
with:
35-
node-version: ${{ matrix.node }}
34+
node-version-file: '.nvmrc'
3635
cache: npm
3736

3837
- name: Npm install and build

.github/workflows/flaky-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
1616

1717
- name: Use desired version of NodeJS
18-
uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f # v2.2.2
18+
uses: actions/setup-node@5b52f097d36d4b0b2f94ed6de710023fbb8b2236 # v3.1.0
1919
with:
20-
node-version: 14
20+
node-version-file: '.nvmrc'
2121
cache: npm
2222

2323
- name: Npm install

0 commit comments

Comments
 (0)