From 5ce9f9566b5155ecfd171009e6d981cfecb4c3bd Mon Sep 17 00:00:00 2001 From: dmsnell Date: Mon, 20 Oct 2025 16:59:34 +0000 Subject: [PATCH] CI/Build: Build Gutenberg before installing Core dependencies. Because of a strange interaction with building Gutenberg from within the plugins directory, TypeScript was appearing to examine code for which it should have no access up the filesystem hierarchy. This patch changes the order of building Gutenberg so that it occurs before those parent directories contain TypeScript code (by installing the `npm` dependencies) and thus frees up the builds. This change should not serve as a workaround to avoid fixing the root issue, introduced in https://github.com/WordPress/gutenberg/commit/84019935998c16f877e976ad85e84748355d7282. Rather, it should be seen as at least a temporary way to remove the trigger of the problem during CI builds. See also alternative work: - To build Gutenberg outside of the plugin directory in https://github.com/WordPress/wordpress-develop/pull/10282/files. - To patch the broken `@wordpress/blocks` types inside of `@wordpress/core-data`. Developed in https://github.com/WordPress/wordpress-develop/pull/10283 Props czarate, desrosj, dmsnell, ellatrix, jorbin, peterwilsoncc, ramonopoly, westonruter, youknowriad. Built from https://develop.svn.wordpress.org/trunk@60985 git-svn-id: http://core.svn.wordpress.org/trunk@60321 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index 2ebcd358e9..ac8221b6a1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.9-alpha-60984'; +$wp_version = '6.9-alpha-60985'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.