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

chore(components): do not bundle styled components in dist #16798

Open
wants to merge 1 commit into
base: edge
Choose a base branch
from

Conversation

shlokamin
Copy link
Member

@shlokamin shlokamin commented Nov 13, 2024

Overview

This PR transpiles the components library in a way that next js can use. The main change is that we don't bundle styled-components anymore and instead force dependencies to provide it so there is one single version being used throughout the entire application.

closes RPLC-1013

Test Plan and Hands on Testing

Tough to really test, but this is pretty much the same code as components@0.1.6-alpha.9 which @y3rsh confirmed works for PL.

Changelog

  • do not bundle styled components in dist

Review requests

Let's poke around the app, PD, and LL to make sure none of our components broke. stuff seems to look fine though:

https://sandbox.designer.opentrons.com/components_exclude-styled-components-from-build
http://sandbox.labware.opentrons.com/components_exclude-styled-components-from-build/

Risk assessment

Med

@shlokamin shlokamin requested a review from a team as a code owner November 13, 2024 20:28
@shlokamin shlokamin requested review from jerader, koji, y3rsh and ncdiehl11 and removed request for a team November 13, 2024 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant