-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
Added embla-carousel
as a dependency for CodeSandbox template
#685
Added embla-carousel
as a dependency for CodeSandbox template
#685
Conversation
I might be missing something, What do you use to automate updating the embla-carousel** versions in all the package.json's of all the packages in this monorepo? |
@zaaakher good question! These commands in the root Lines 51 to 53 in 0103684
Best, |
@davidjerleke so it seems that the unrecognized The only way I was able to fix it is by making dependencies: {
react: dependencies.react,
'react-dom': dependencies['react-dom'],
'react-scripts': '4.0.0',
'embla-carousel-react': dependencies['embla-carousel-react'],
'embla-carousel': dependencies['embla-carousel'], <--- here (assuming embla-carousel moved back to dependencies)
...(plugins && plugins)
}, Does that mean I should move |
If I spin up a new So yes: If adding it as a |
Don't worry about it 👌 I just pushed a commit and everything works properly now 👍 |
7cec8bf
to
d704049
Compare
Fixes #684
I had to add
embla-carousel
as a dependency ofembla-carousel-docs
so that it can be used increateSandboxReactPackageJson.ts
dynamically