Skip to content

Commit 3819688

Browse files
authored
build(deps): add type-fest to prevent build errors (#9317)
**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.
1 parent 0498c6e commit 3819688

File tree

3 files changed

+15
-16
lines changed

3 files changed

+15
-16
lines changed

package-lock.json

Lines changed: 13 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@
116116
"ts-jest": "29.1.2",
117117
"tsx": "4.7.2",
118118
"turbo": "1.13.2",
119-
"type-fest": "4.16.0",
120119
"typescript": "5.4.4",
121120
"updtr": "4.0.0",
122121
"workbox-build": "7.0.0"

packages/calcite-components/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@
7171
"focus-trap": "7.5.4",
7272
"lodash-es": "4.17.21",
7373
"sortablejs": "1.15.1",
74-
"timezone-groups": "0.8.0"
74+
"timezone-groups": "0.8.0",
75+
"type-fest": "4.18.2"
7576
},
7677
"devDependencies": {
7778
"@esri/calcite-design-tokens": "^2.2.0",

0 commit comments

Comments
 (0)