Skip to content
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: BREAKING CHANGE - List @cloudscape-design/components as peer dependencies #922

Merged
merged 2 commits into from
Jun 29, 2023

Conversation

jessieweiyi
Copy link
Contributor

@jessieweiyi jessieweiyi commented Jun 29, 2023

Issue #, if available:

Description of changes:

When @cloudscape-design/components is also listed as project dependencies, 2 different versions of @cloudscape-design/components may be installed. This may cause inconsistency in AppLayout rendering.

This PR is to move @cloudscape-design/components out from dependencies and list it as peer dependencies. Consumer projects has to install it explicitly. For most use cases, @cloudscape-design/components is listed as project dependencies already to support usage of native Cloudscape components so it should not impact majority of users.

This PR is also to list react-markdown as dependency and clean up peer dependencies (should not have direct user impacts)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@jessieweiyi jessieweiyi changed the title fix: BREAKING CHANGE - List @cloudscape-design/components as peer dendencies fix: BREAKING CHANGE - List @cloudscape-design/components as peer dependencies Jun 29, 2023
@jessieweiyi jessieweiyi merged commit 5682b6b into main Jun 29, 2023
@jessieweiyi jessieweiyi deleted the fix/peer-deps branch June 29, 2023 07:56
@aws-prototyping-bot
Copy link
Collaborator

🎉 This PR is included in version @aws-northstar/ui-v1.1.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants