Editor: Ensure @wordpress/inteface package is listed as a dependency

Discovered when backporting changes for WordPress 5.7.1 release.

See #52991.




git-svn-id: https://develop.svn.wordpress.org/trunk@50686 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Greg Ziółkowski 2021-04-07 11:37:35 +00:00
parent d71ed075e4
commit 0a00e3d522
2 changed files with 2 additions and 1 deletions

View File

@ -106,6 +106,7 @@
"@wordpress/html-entities": "2.10.1",
"@wordpress/i18n": "3.18.0",
"@wordpress/icons": "2.9.1",
"@wordpress/interface": "1.0.6",
"@wordpress/is-shallow-equal": "3.0.1",
"@wordpress/keyboard-shortcuts": "1.13.8",
"@wordpress/keycodes": "2.18.3",

View File

@ -63,7 +63,7 @@ module.exports = function( env = { environment: 'production', watch: false, buil
buildTarget = buildTarget + '/wp-includes';
const WORDPRESS_NAMESPACE = '@wordpress/';
const BUNDLED_PACKAGES = [ '@wordpress/icons' ];
const BUNDLED_PACKAGES = [ '@wordpress/icons', '@wordpress/interface' ];
const packages = Object.keys( dependencies )
.filter( ( packageName ) =>
! BUNDLED_PACKAGES.includes( packageName ) &&