File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1468,11 +1468,11 @@ module.exports = function(grunt) {
14681468 } ) ;
14691469
14701470 // Gutenberg integration tasks.
1471- grunt . registerTask ( 'gutenberg-checkout ' , 'Checks out the Gutenberg repository .' , function ( ) {
1471+ grunt . registerTask ( 'gutenberg-download ' , 'Downloads the Gutenberg build artifact .' , function ( ) {
14721472 const done = this . async ( ) ;
14731473 grunt . util . spawn ( {
14741474 cmd : 'node' ,
1475- args : [ 'tools/gutenberg/checkout -gutenberg.js' ] ,
1475+ args : [ 'tools/gutenberg/download -gutenberg.js' ] ,
14761476 opts : { stdio : 'inherit' }
14771477 } , function ( error ) {
14781478 done ( ! error ) ;
@@ -1931,7 +1931,7 @@ module.exports = function(grunt) {
19311931 'build:js' ,
19321932 'build:css' ,
19331933 'build:codemirror' ,
1934- 'gutenberg-sync ' ,
1934+ 'gutenberg-download ' ,
19351935 'gutenberg-copy' ,
19361936 'copy-vendor-scripts' ,
19371937 'build:certificates'
@@ -1943,7 +1943,7 @@ module.exports = function(grunt) {
19431943 'build:js' ,
19441944 'build:css' ,
19451945 'build:codemirror' ,
1946- 'gutenberg-sync ' ,
1946+ 'gutenberg-download ' ,
19471947 'gutenberg-copy' ,
19481948 'copy-vendor-scripts' ,
19491949 'replace:source-maps' ,
Original file line number Diff line number Diff line change 77 "url" : " https://develop.svn.wordpress.org/trunk"
88 },
99 "gutenberg" : {
10- "ref" : " 7a11a53377a95cba4d3786d71cadd4c2f0c5ac52 "
10+ "ref" : " e0c5fc81de25a4f837c063ca2c2db32d74698a49 "
1111 },
1212 "engines" : {
1313 "node" : " >=20.10.0" ,
106106 "wicg-inert" : " 3.1.3"
107107 },
108108 "scripts" : {
109- "postinstall" : " npm run gutenberg:sync && npm run gutenberg:copy -- --dev" ,
109+ "postinstall" : " npm run gutenberg:download && npm run gutenberg:copy -- --dev" ,
110110 "build" : " grunt build" ,
111111 "build:dev" : " grunt build --dev" ,
112112 "dev" : " grunt watch --dev" ,
130130 "test:coverage" : " npm run test:php -- --coverage-html ./coverage/html/ --coverage-php ./coverage/php/report.php --coverage-text=./coverage/text/report.txt" ,
131131 "test:e2e" : " wp-scripts test-playwright --config tests/e2e/playwright.config.js" ,
132132 "test:visual" : " wp-scripts test-playwright --config tests/visual-regression/playwright.config.js" ,
133- "gutenberg:checkout " : " node tools/gutenberg/checkout -gutenberg.js" ,
133+ "gutenberg:download " : " node tools/gutenberg/download -gutenberg.js" ,
134134 "gutenberg:copy" : " node tools/gutenberg/copy-gutenberg-build.js" ,
135- "gutenberg:sync" : " node tools/gutenberg/sync-gutenberg.js" ,
136135 "vendor:copy" : " node tools/vendors/copy-vendors.js" ,
137136 "sync-gutenberg-packages" : " grunt sync-gutenberg-packages" ,
138137 "postsync-gutenberg-packages" : " grunt wp-packages:sync-stable-blocks && grunt build --dev && grunt build"
139138 }
140- }
139+ }
Original file line number Diff line number Diff line change 66 * This script downloads a pre-built Gutenberg zip artifact from the GitHub
77 * Container Registry and extracts it into the ./gutenberg directory.
88 *
9- * The artifact is identified by the "gutenberg.ref" SHA in the root
9+ * The artifact is identified by the "gutenberg.ref" value in the root
1010 * package.json, which is used as the OCI image tag for the gutenberg-build
1111 * package on GHCR.
1212 *
You can’t perform that action at this time.
0 commit comments