novuhq / novu

Open-Source Notification Platform. Embeddable Notification Center, E-mail, Push and Slack Integrations.
https://novu.co
Other
34.51k stars 3.53k forks source link

✨ Polishing: avoid react and react dom as dependencies for notification-center-vue #5214

Open foxted opened 7 months ago

foxted commented 7 months ago

📜 Description

When pulling notification-center-vue in a Vue/Nuxt project, the react and react-dom dependencies should be "devDependencies". notification-center seems to only have react and react-dom as devDependencies as well.

This also conflicts with other potential third-party packages that have react as a peer dependency (like @vercel/analytics, forcing the use of --legacy-peer-deps flag or the overrides property in package.json.

👟 Reproduction steps

👍 Expected behavior

It should not have react and react-dom listed as dependencies, but maybe devDependencies or peerDepencencies instead.

📃 Provide any additional context for the Bug.

No response

👀 Have you spent some time to check if this bug has been raised before?

🏢 Have you read the Contributing Guidelines?

linear[bot] commented 7 months ago

NV-3524 ✨ Polishing: avoid react and react dom as dependencies for notification-center-vue

cco3 commented 3 months ago

Related: https://github.com/novuhq/vue-quickstart/issues/2