From 17065515dbc9ef7b97ded70e58172835f3325b20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20P=2E?= Date: Mon, 20 Apr 2026 17:29:30 +0200 Subject: [PATCH] chore(package): add package.json as an export Storybook browse dependencies looking for some Storybook dedicated meta in the package.json file. But as @react-hooks/web does not export its package.json file, Storybook spits a warning > unable to find package.json for @react-hookz/web Adding this export solves this warning --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 0b296c86..231d7cd4 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "sideEffects": false, "exports": { ".": "./dist/index.js", + "./package.json": "./package.json", "./*/": "./dist/*/index.js", "./*": "./dist/*" },