Commit 4873ca12765 for woocommerce

commit 4873ca12765e05ff3897ee5cfc16757df44a0d4d
Author: Brandon Kraft <public@brandonkraft.com>
Date:   Thu Jul 9 02:52:16 2026 -0500

    Fix: Declare internal-build dependency in tools/storybook (#66430)

    The Storybook webpack config requires the internal-build style-build entry
    (woocommerce/internal-build) but the package was never declared in
    tools/storybook/package.json. It only resolved through incidental pnpm
    hoisting via the admin-library and block-library workspace packages, risking
    a MODULE_NOT_FOUND on a clean, strictly isolated install of the nightly
    Storybook build.

    Declare it explicitly as a workspace dependency, matching every other
    consumer in the monorepo, and add the corresponding lockfile entry.

    Bug introduced in PR 65651.

diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 62349e70a22..9ac01c6dc0f 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -4409,6 +4409,9 @@ importers:
       '@woocommerce/eslint-plugin':
         specifier: workspace:*
         version: link:../../packages/js/eslint-plugin
+      '@woocommerce/internal-build':
+        specifier: workspace:*
+        version: link:../../packages/js/internal-build
       '@wordpress/base-styles':
         specifier: catalog:wp-bundled
         version: 6.9.1
diff --git a/tools/storybook/package.json b/tools/storybook/package.json
index 715c7c9a6c4..3f23299f6ca 100644
--- a/tools/storybook/package.json
+++ b/tools/storybook/package.json
@@ -49,6 +49,7 @@
 		"@woocommerce/admin-library": "workspace:*",
 		"@woocommerce/block-library": "workspace:*",
 		"@woocommerce/eslint-plugin": "workspace:*",
+		"@woocommerce/internal-build": "workspace:*",
 		"@wordpress/base-styles": "catalog:wp-bundled",
 		"react": "18.3.x",
 		"react-dom": "18.3.x",