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: ensure ui-icons are copied from correct path #8761

Merged
merged 3 commits into from
Feb 15, 2024

Conversation

benelan
Copy link
Member

@benelan benelan commented Feb 15, 2024

Related Issue: #

Summary

Re-generate package-lock.json to try to fix the release CI, which had the following error:
https://github.com/Esri/calcite-design-system/actions/runs/7922511667/job/21630265819#step:4:87

This was the suggested solution in a comment on a related issue:
nrwl/nx#15452 (comment)

If that doesn't work, we can try one of these potential solutions:
npm/cli#4828 (comment)
vercel/turborepo#3328 (comment)

Unfortunately Calcite Components v2.5.0 does not contain the ui-icons due to releasing locally after re-generating the package-lock. I'm not sure if the corrupted package-lock was installing @esri/calcite-ui-icons in the wrong node_modules. Or maybe updating to Node v20 resolved some weirdness with where packages are installed when using workspaces. Either way, the icons are now installed into the node_modules in the calcite-components workspace, rather than the root.

@github-actions github-actions bot added the chore Issues with changes that don't modify src or test files. label Feb 15, 2024
@benelan benelan added skip visual snapshots Pull requests that do not need visual regression testing. low risk Issues with low risk for consideration in low risk milestones pr ready for visual snapshots Adding this label will run visual snapshot testing. and removed skip visual snapshots Pull requests that do not need visual regression testing. labels Feb 15, 2024
Copy link
Member

@jcfranco jcfranco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@benelan benelan added pr ready for visual snapshots Adding this label will run visual snapshot testing. and removed pr ready for visual snapshots Adding this label will run visual snapshot testing. labels Feb 15, 2024
@benelan benelan changed the title build: re-generate package-lock.json fix: ensure ui-icons are copied from correct path Feb 15, 2024
@benelan benelan requested a review from a team as a code owner February 15, 2024 22:46
@github-actions github-actions bot added the bug Bug reports for broken functionality. Issues should include a reproduction of the bug. label Feb 15, 2024
@benelan benelan added pr ready for visual snapshots Adding this label will run visual snapshot testing. and removed pr ready for visual snapshots Adding this label will run visual snapshot testing. labels Feb 15, 2024
@benelan benelan merged commit 3015a46 into main Feb 15, 2024
20 checks passed
@benelan benelan deleted the benelan/re-generate-package-lock branch February 15, 2024 23:01
benelan added a commit that referenced this pull request Feb 15, 2024
* origin/main: (22 commits)
  fix: ensure ui-icons are copied from correct path (#8761)
  build(changelog): fix synced version group name (#8762)
  chore: release main (#8706)
  fix(stepper): no longer adds default `min-width` for items when `layout='horizontal'` (#8758)
  build(deps): update dependency @floating-ui/dom to v1.6.3 (#8759)
  chore: release next
  feat(table): Improve accessibility of interaction-mode: static Table (#8754)
  chore: release next
  fix: fix dragging items on a mobile device (#8751)
  build(deps): update dependency @esri/calcite-ui-icons to v3.26.4 (#8752)
  chore: release next
  fix: prevent interaction when component is disabled after initialization (Firefox) (#8746)
  fix: fix styling when dragging items on a mobile device (#8750)
  chore: release next
  feat(stepper): add horizontal-single layout (#8742)
  revert: fix(panel, flow-item): remove overflow rule (#8711)
  refactor(input): tidy up input spec test (#8733)
  chore: improve doc for createBreakpointStories helper (#8739)
  chore: release next
  feat(table): Add `interactionMode` property to control focus behavior (#8686)
  ...
jcfranco pushed a commit that referenced this pull request Feb 16, 2024
🤖 I have created a release *beep* *boop*
---


<details><summary>@esri/calcite-components: 2.5.1</summary>

##
[2.5.1](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@2.5.0...@esri/calcite-components@2.5.1)
(2024-02-16)


### Bug Fixes

* Ensure ui-icons are copied from correct path
([#8761](#8761))
([3015a46](3015a46))
* Prevent package patching on install
([#8766](#8766))
([fe18b1b](fe18b1b))
</details>

<details><summary>@esri/calcite-components-angular: 2.5.1</summary>

##
[2.5.1](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-angular@2.5.0...@esri/calcite-components-angular@2.5.1)
(2024-02-16)


### Miscellaneous Chores

* **@esri/calcite-components-angular:** Synchronize components versions


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @esri/calcite-components bumped from ^2.5.1-next.1 to ^2.5.1
</details>

<details><summary>@esri/calcite-components-react: 2.5.1</summary>

##
[2.5.1](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@2.5.0...@esri/calcite-components-react@2.5.1)
(2024-02-16)


### Miscellaneous Chores

* **@esri/calcite-components-react:** Synchronize components versions


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @esri/calcite-components bumped from ^2.5.1-next.1 to ^2.5.1
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports for broken functionality. Issues should include a reproduction of the bug. chore Issues with changes that don't modify src or test files. low risk Issues with low risk for consideration in low risk milestones pr ready for visual snapshots Adding this label will run visual snapshot testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants