Skip to content

Commit

Permalink
build(deps): add type-fest to prevent build errors (#9317)
Browse files Browse the repository at this point in the history
**Related Issue:** #9307

## Summary

Add `type-fest` to the dependencies of `@esri/calcite-components` to
prevent build errors. `type-fest` can also be used to simplify/remove
the [preact type
generator](https://github.com/Esri/calcite-design-system/blob/27a82dcaf8b091c609b3bf765d8c8617c447d8e7/packages/calcite-components/support/preact.ts#L8)
in the future.
  • Loading branch information
benelan committed May 11, 2024
1 parent 0498c6e commit 3819688
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
27 changes: 13 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@
"ts-jest": "29.1.2",
"tsx": "4.7.2",
"turbo": "1.13.2",
"type-fest": "4.16.0",
"typescript": "5.4.4",
"updtr": "4.0.0",
"workbox-build": "7.0.0"
Expand Down
3 changes: 2 additions & 1 deletion packages/calcite-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@
"focus-trap": "7.5.4",
"lodash-es": "4.17.21",
"sortablejs": "1.15.1",
"timezone-groups": "0.8.0"
"timezone-groups": "0.8.0",
"type-fest": "4.18.2"
},
"devDependencies": {
"@esri/calcite-design-tokens": "^2.2.0",
Expand Down

0 comments on commit 3819688

Please sign in to comment.