Skip to content

Commit

Permalink
"fix" @storybook/api/shortcut issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed May 16, 2024
1 parent fa9bf5b commit 8d924b2
Show file tree
Hide file tree
Showing 4 changed files with 269 additions and 931 deletions.
1 change: 0 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ const nextConfig = {
swcMinify: true,
basePath: process.env.NEXT_PUBLIC_BASE_PATH,
staticPageGenerationTimeout: 900, // equivalent to netlify's timeout
transpilePackages: ['@storybook/components-marketing'],
};

module.exports = nextConfig;
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"@next/env": "^13.0.4",
"@storybook/components-marketing": "^3.1.0",
"@storybook/design-system": "^7.15.15",
"@storybook/manager-api": "7.5.3",
"@storybook/theming": "latest",
"@types/node": "18.11.9",
"@types/react": "18.0.25",
Expand Down Expand Up @@ -75,5 +76,10 @@
"node": ">=18"
},
"readme": "ERROR: No README data found!",
"_id": "[email protected]"
"_id": "[email protected]",
"pnpm": {
"patchedDependencies": {
"@storybook/[email protected]": "patches/@[email protected]"
}
}
}
16 changes: 16 additions & 0 deletions patches/@[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git a/CHANGELOG.md b/CHANGELOG.md
deleted file mode 100644
index be0caefba5e50a06da67a53b07e098236c8efa6f..0000000000000000000000000000000000000000
diff --git a/dist/components/Search.js b/dist/components/Search.js
index 536045254d32b683a855bfbc1b55ef01eca3544f..399b8ad2c8b636b2fbaab9ed5018927e2c7f2898 100644
--- a/dist/components/Search.js
+++ b/dist/components/Search.js
@@ -11,7 +11,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")

var _react = _interopRequireDefault(require("react"));

-var _shortcut = require("@storybook/api/shortcut");
+var _shortcut = require("@storybook/manager-api");

var _theming = require("@storybook/theming");

Loading

0 comments on commit 8d924b2

Please sign in to comment.