Skip to content

Commit

Permalink
Fix types resolution (#2084)
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer authored May 8, 2023
1 parent 321fee2 commit 9677a30
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .changeset/purple-papayas-bake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@sumup/design-tokens': patch
'@sumup/circuit-ui': patch
'@sumup/icons': patch
---

Added `types` field to the `package.json` file to fix the type resolution.
2 changes: 2 additions & 0 deletions packages/circuit-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"version": "7.0.0-next.3",
"description": "SumUp's React UI component library",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": "./dist/index.js",
"sideEffects": false,
"files": [
Expand Down
2 changes: 2 additions & 0 deletions packages/design-tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"version": "6.0.0-next.0",
"description": "Visual primitives such as typography, color, and spacing that are shared across platforms.",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": "./dist/index.js",
"sideEffects": false,
"files": [
Expand Down
1 change: 1 addition & 0 deletions packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "A collection of icons by SumUp",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": "./dist/index.js",
"./manifest.json": "./manifest.json",
Expand Down

0 comments on commit 9677a30

Please sign in to comment.