We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
storybook's dependency tree depends on the flavour of entrypoint you use.
so for this example, let's use the web-components package: https://npmgraph.js.org/?q=@storybook/web-components-vite
there's quite a lot of deep subtrees we can probably trim out here.
good subtrees to remove are:
Depended on by:
@storybook/docs-tools
@storybook/csf-tools
@storybook/core-common
@storybook/channels
qs
@storybook/manager-api
@storybook/router
In most cases, we can likely either:
URLSearchParams
This has some use but the dependency tree is bloated for what it is, and there are more performant solutions.
If possible, we should use read-package-json-fast from npm themselves.
We could use fd-package-json: https://github.com/es-tooling/fd-package-json
fd-package-json
The text was updated successfully, but these errors were encountered:
we can now replace read-pkg-up with fd-package-json: https://github.com/es-tooling/fd-package-json
read-pkg-up
Sorry, something went wrong.
No branches or pull requests
storybook's dependency tree depends on the flavour of entrypoint you use.
so for this example, let's use the web-components package:
https://npmgraph.js.org/?q=@storybook/web-components-vite
there's quite a lot of deep subtrees we can probably trim out here.
good subtrees to remove are:
assert
Depended on by:
@storybook/docs-tools
@storybook/csf-tools
-> recastqs
Depended on by:
@storybook/core-common
- may already be gone in 8.x!@storybook/channels
- used hereqs
from@storybook/manager-api
&@storybook/channels
storybookjs/storybook#26285@storybook/router
- used hereIn most cases, we can likely either:
URLSearchParams
read-pkg-up
This has some use but the dependency tree is bloated for what it is, and there are more performant solutions.
If possible, we should use read-package-json-fast from npm themselves.
We could use
fd-package-json
:https://github.com/es-tooling/fd-package-json
The text was updated successfully, but these errors were encountered: