diff --git a/package-lock.json b/package-lock.json index 66e468a5bbf2ab..1d86f274c40a22 100644 --- a/package-lock.json +++ b/package-lock.json @@ -50028,6 +50028,7 @@ "@wordpress/rich-text": "file:../rich-text", "@wordpress/style-engine": "file:../style-engine", "@wordpress/token-list": "file:../token-list", + "@wordpress/upload-media": "file:../upload-media", "@wordpress/url": "file:../url", "@wordpress/warning": "file:../warning", "@wordpress/wordcount": "file:../wordcount", @@ -52656,7 +52657,7 @@ }, "packages/upload-media": { "name": "@wordpress/upload-media", - "version": "1.0.0-prerelease", + "version": "0.0.1", "license": "GPL-2.0-or-later", "dependencies": { "@shopify/web-worker": "^6.4.0", diff --git a/packages/block-editor/package.json b/packages/block-editor/package.json index da1687b28d25b2..5794245dbbf12f 100644 --- a/packages/block-editor/package.json +++ b/packages/block-editor/package.json @@ -65,6 +65,7 @@ "@wordpress/rich-text": "file:../rich-text", "@wordpress/style-engine": "file:../style-engine", "@wordpress/token-list": "file:../token-list", + "@wordpress/upload-media": "file:../upload-media", "@wordpress/url": "file:../url", "@wordpress/warning": "file:../warning", "@wordpress/wordcount": "file:../wordcount", diff --git a/packages/dependency-extraction-webpack-plugin/lib/util.js b/packages/dependency-extraction-webpack-plugin/lib/util.js index 49b16986cda814..1b9138a3617a53 100644 --- a/packages/dependency-extraction-webpack-plugin/lib/util.js +++ b/packages/dependency-extraction-webpack-plugin/lib/util.js @@ -11,6 +11,7 @@ const BUNDLED_PACKAGES = [ '@wordpress/sync', '@wordpress/undo-manager', '@wordpress/fields', + '@wordpress/upload-media', ]; /** diff --git a/packages/upload-media/package.json b/packages/upload-media/package.json index 14ae4f77dc5cb9..eac9b478c0005c 100644 --- a/packages/upload-media/package.json +++ b/packages/upload-media/package.json @@ -1,7 +1,6 @@ { "name": "@wordpress/upload-media", - "version": "1.0.0-prerelease", - "private": true, + "version": "0.0.1", "description": "Core media upload logic.", "author": "The WordPress Contributors", "license": "GPL-2.0-or-later", diff --git a/tools/webpack/packages.js b/tools/webpack/packages.js index 4459cc063d0016..f6c5b68ae0f4c5 100644 --- a/tools/webpack/packages.js +++ b/tools/webpack/packages.js @@ -42,6 +42,7 @@ const BUNDLED_PACKAGES = [ '@wordpress/sync', '@wordpress/undo-manager', '@wordpress/fields', + '@wordpress/upload-media', ]; // PHP files in packages that have to be copied during build.