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(web-components): fix icon package pathing for build #17590

Merged

Conversation

annawen1
Copy link
Member

@annawen1 annawen1 commented Sep 26, 2024

Closes #

With the latest release updating the @carbon/icons package version in web-components to the latest version, the icons package pathing changes from the packages/web-components/node_modules folder to directly pulling from the packages/icons folder itself.

This causes import issues for the web-components build as it needs to pull in the icon files. This PR adjusts the pathing to point to the icons package directly as the @carbon/icons package no longer appears within the web-components node_modules folder.

This PR also changes the publish-web-components-cdn github actions workflow to build the entire project instead of just the web-components package as web-components has other carbon packages as dependencies.

Changelog

Changed

  • change icon entry point to packages/icons instead of web-components' node_modules
  • change publish-web-components-cdn actions workflow to build entire project

Testing / Reviewing

Tested by using a locally generated tarball file

cd packages/web-components
yarn pack

and using the file in one of the example web components stackblitz

@annawen1 annawen1 marked this pull request as ready for review September 26, 2024 16:36
@annawen1 annawen1 requested review from a team as code owners September 26, 2024 16:36
Copy link

netlify bot commented Sep 26, 2024

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit ceb0d93
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/66f58d7a1a0f7f0008a62c65
😎 Deploy Preview https://deploy-preview-17590--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Sep 26, 2024

Deploy Preview for v11-carbon-react ready!

Name Link
🔨 Latest commit ceb0d93
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/66f58d7a020b7c0008b43da0
😎 Deploy Preview https://deploy-preview-17590--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Sep 26, 2024

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit 0c75b47
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/66f58d8419766b0008f34ba9
😎 Deploy Preview https://deploy-preview-17590--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Sep 26, 2024

Deploy Preview for v11-carbon-react ready!

Name Link
🔨 Latest commit 0c75b47
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/66f58d84903ce2000873f741
😎 Deploy Preview https://deploy-preview-17590--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@ariellalgilmore ariellalgilmore added this pull request to the merge queue Sep 26, 2024
Merged via the queue into carbon-design-system:main with commit 6bd017d Sep 26, 2024
23 checks passed
@annawen1 annawen1 deleted the fix/adjust-icon-pathing branch September 26, 2024 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants