-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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(components): move react-syntax-highlighter types to dev deps #18323
Conversation
☁️ Nx Cloud ReportCI is running/has finished running commands for commit ad02c64. 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. |
Discussion: vuejs/language-tools#592 Using `@storybook/vue` JSX Runtime types and Volar extension conflicts with `@types/react` ```shell ❯ npm ls @types/react [email protected] /Users/iamandrewluca/Projects/my-project └─┬ @storybook/[email protected] └─┬ @storybook/[email protected] └─┬ @storybook/[email protected] └─┬ @types/[email protected] └── @types/[email protected] ``` Closes #12505
Hey @iamandrewluca thanks a lot for your contribution! This is a quite tricky one, @ndelangen could you assist? Thanks! |
This seems the same as #18425 |
@ndelangen cool! Then this PR can be closed?! 🙂 |
@iamandrewluca thanks so much for your patience on this & the original contribution. it looks like the contents of this PR are already contained in |
Hi, "devDependencies": {
"@babel/core": "^7.18.10",
"@storybook/addon-actions": "^6.5.12",
"@storybook/addon-essentials": "^6.5.12",
"@storybook/addon-interactions": "^6.5.12",
"@storybook/addon-links": "^6.5.12",
"@storybook/builder-vite": "^0.2.2",
"@storybook/mdx2-csf": "^0.0.3",
"@storybook/testing-library": "^0.0.13",
"@storybook/vue3": "^6.5.12",
"babel-loader": "^8.2.5",
"vue-loader": "^16.8.3"
} |
@mockingjet please read the conversation above |
I read it, but I don't get it. v6.5.12 has this fix, right? I still get |
It was fixed in v7 only. I think v6 won't get the fix 👀 |
Cool. I thought this fix was merged in May, it should be in the current version. Never thought of |
Can we cherry pick this fix to have it fixed in 6.5.* too and not only v7 |
I think it will be great to cherry-pick this fix also to 6.5 version. |
I pernoally hope the v7 released beta as soon as possible. |
Hi all, It's quite unfortunate that using Storybook, hurts so much the development experience on your actual code, not even the Storybook files, while it supposes to be the opposite to improve your Developer experience. Since the PR is just moving the dependency from a normal to dev one, can't we just cherry pick it and release a hotfix? @shilman @ndelangen I really hope you consider it. Since version 7 is in Alpha which means it's still very raw, and the previous upgrade we did for Storybook was quite painful, hopefully, we won't need to wait so much time and go through a major upgrade just for this small fix. |
@yuval-agritask Sorry to hear about the upgrade headaches. I'll discuss with @ndelangen and see whether we can do anything here. |
also faced the issue described by @yuval-agritask |
Discussion: vuejs/language-tools#592
Using
@storybook/vue
JSX Runtime types and Volar extension conflicts with@types/react
from StorybookCloses #12505