-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
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
Fix leaking @types/*
from package.json
dependencies
#18169
Conversation
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 33f6851. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch ✅ Successfully ran 1 targetSent with 💌 from NxCloud. |
@types/*
from a dependencies
field of package.json
files@types/*
from package.json
dependencies
…pendencies` in the `@storybook/components` `package.json`
…torybook/addon-links` `package.json`
…@storybook/addon-storyshots` `package.json`
… `package.json` files for packages: * `@storybook/builder-webpack4`; * `@storybook/builder-webpack5`; * `@storybook/core-common`; * `@storybook/core-server`; * `@storybook/manager-webpack5`.
…es` to `devDependencies` in the `@storybook/core-server` `package.json`
@Andarist thank you for suggestions. I rechecked |
This was already fixed in We don't feel comfortable merging these changes without a way to verify that they don't disrupt TS users. Thanks so much for your contribution & patience @mrauhu !!! |
Hello @mrauhu I'm going to close this... I think all relevant bits got merged / fixed in a few other PRs already, the react-syntax-highlighter should at least be fixed, and the other types changes don't look right me me. Thank you the work you did, very much appreciated! |
Thank you. |
Hello.
I found that the
@storybook/components
package is leaking the@types/react
package to a Vue projectnode_modules
directory:This results to a bug with the
vue-tsc
package: vuejs/language-tools#592.So, I check all
package.json
files in the Storybook repository and fix them.What I did
Moved
@types/*
packages fromdependencies
todevDependencies
inpackage.json
files.How to test
Best wishes,
Sergey.