Skip to content

Commit 8f637e9

Browse files
committed
Merge branch 'trunk' into add/file-mounting-to-nodefs
2 parents 868316e + aff1cc5 commit 8f637e9

File tree

234 files changed

+249613
-40588
lines changed

Some content is hidden

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

234 files changed

+249613
-40588
lines changed

.github/workflows/refresh-sqlite-integration.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
persist-credentials: false
3333
submodules: true
3434
- uses: ./.github/actions/prepare-playground
35+
with:
36+
node-version: 23
3537
- name: 'Refresh the SQLite bundle'
3638
shell: bash
3739
run: npx nx bundle-sqlite-database playground-wordpress-builds

.github/workflows/refresh-wordpress-major-and-beta.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
run: |
4141
curl -fsSL https://bun.sh/install | bash
4242
- uses: ./.github/actions/prepare-playground
43+
with:
44+
node-version: 23
4345
- name: 'Recompile WordPress'
4446
id: build
4547
shell: bash

.github/workflows/refresh-wordpress-nightly.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
persist-credentials: true
3131
submodules: true
3232
- uses: ./.github/actions/prepare-playground
33+
with:
34+
node-version: 23
3335
- name: 'Install bun'
3436
run: |
3537
curl -fsSL https://bun.sh/install | bash

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"useWorkspaces": true,
55
"useNx": true
66
}

package-lock.json

Lines changed: 20 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@
7272
"ajv": "8.12.0",
7373
"async-lock": "1.4.1",
7474
"classnames": "^2.3.2",
75-
"comlink": "^4.4.2",
7675
"crc-32": "1.2.2",
7776
"diff3": "0.0.4",
7877
"express": "4.21.2",

packages/docs/site/docs/blueprints/07-json-api-and-function-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ You can use Blueprints both with the web and the node.js versions of WordPress P
1515

1616
The team is exploring ways to transition Blueprints from a TypeScript library to a PHP library. This would allow people to run Blueprints in any WordPress environments: Playground, a hosted site, or a local setup.
1717

18-
The proposed [new specification](https://github.com/WordPress/blueprints-library/issues/6) is discussed on a separate [GitHub repository](https://github.com/WordPress/blueprints-library/), and you’re more than welcome to join (there or on the [#meta-playground](https://wordpress.slack.com/archives/C04EWKGDJ0K) Slack channel) and help shape the next generation of Playground.
18+
The proposed [new specification](https://github.com/WordPress/blueprints-library/issues/6) is discussed on a separate [GitHub repository](https://github.com/WordPress/blueprints-library/), and you’re more than welcome to join (there or on the [#playground](https://wordpress.slack.com/archives/C04EWKGDJ0K) Slack channel) and help shape the next generation of Playground.
1919
:::
2020

2121
## Differences between JSON and Function APIs

packages/docs/site/docs/main/contributing/coding-standards.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ slug: /contributing/coding-standards
66

77
## Error messages
88

9-
A good error message tells the user what to do next. Any ambiguity in errors thrown by Playground public APIs will prompt the developers to open issues.
9+
A good error message informs the user of the following steps to take. Any ambiguity in errors thrown by Playground public APIs will prompt the developers to open issues.
1010

1111
Consider a network error, for example—can we infer the type of error and display a relevant message summarizing the next steps?
1212

1313
- **Network error**: "Your internet connection twitched. Try to reload the page.
1414
- **404**: "Could not find the file".
1515
- **403**: "The server blocked access to the file".
16-
- **CORS**: clarify it's a browser security feature and add a link to a detailed explanation (on MDN or another reliable source). Suggest the user move their file somewhere else, like raw.githubusercontent.com, and link to a resource explaining how to set up CORS headers on their servers.
16+
- **CORS**: clarify it's a browser security feature and add a link to a detailed explanation (on MDN or another reliable source). Suggest the user move their file somewhere else, like `raw.githubusercontent.com`, and link to a resource explaining how to set up CORS headers on their servers.
1717

1818
We handle code formatting and linting automatically. Relax, type away, and let the machines do the work.
1919

@@ -23,7 +23,7 @@ Playground aims to keep the narrowest possible API scope.
2323

2424
Public APIs are easy to add and hard to remove. It only takes one PR to introduce a new API, but it may take a thousand to remove it, especially if other projects have already consumed it.
2525

26-
- Don't expose unnecessary function, class, constant, or other components.
26+
- Don't expose unnecessary functions, classes, constants, or other components.
2727

2828
## Blueprints
2929

packages/docs/site/docs/main/contributing/contributor-day.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,4 @@ Have a question or an idea for a new feature? Found a bug? Something’s not wor
108108

109109
- During Contributor Day, you can reach us at the **Playground table**.
110110
- Open an issue on the [WordPress Playground GitHub repository](https://github.com/WordPress/wordpress-playground/issues/new). If your focus is the VS Code extension, NPM package, or the plugins, open an issue on the [Playground Tools repository](https://github.com/WordPress/playground-tools/issues/new).
111-
- Share your feedback on the [**#meta-playground** Slack channel](https://wordpress.slack.com/archives/C04EWKGDJ0K).
111+
- Share your feedback on the [**#playground** Slack channel](https://wordpress.slack.com/archives/C04EWKGDJ0K).

packages/docs/site/docs/main/contributing/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ If you are familiar with markdown, you can [fork](https://docs.github.com/en/pul
2121
The process of creating a branch to open new PRs with translated pages on the [WordPress/wordpress-playground](https://github.com/WordPress/wordpress-playground) repository is the same than contributing to other WordPress repositories such as gutenberg:
2222
https://developer.wordpress.org/block-editor/contributors/code/git-workflow/
2323

24-
The documentation files (`.md` files) are stored in Playground's GitHub repository, [under `/packages/docs/site/docs`](https://github.com/WordPress/wordpress-playground/tree/trunk/packages/docs/site/docs).
24+
The documentation files (`.md` files) are stored in Playground's GitHub repository, [under `/packages/docs/site/docs`](https://github.com/WordPress/wordpress-playground/tree/trunk/packages/docs/site/docs) for English and [`/packages/docs/site/i18n`](https://github.com/WordPress/wordpress-playground/tree/trunk/packages/docs/site/i18n) for other languages.
2525

2626
### Edit in the browser
2727

0 commit comments

Comments
 (0)