Skip to content

Commit

Permalink
fix(package): include types in exports field
Browse files Browse the repository at this point in the history
  • Loading branch information
Birkbjo committed Nov 15, 2023
1 parent 6012942 commit e16036b
Show file tree
Hide file tree
Showing 50 changed files with 50 additions and 0 deletions.
1 change: 1 addition & 0 deletions collections/forms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"build/cjs/locales/index.js"
],
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions collections/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/alert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/box/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/calendar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/card/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/center/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/checkbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/chip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/cover/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/divider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/field/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/file-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/header-bar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/help/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/intersection-detector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/label/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/layer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/legend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/logo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/menu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/modal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/notice-box/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/organisation-unit-tree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/pagination/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/popover/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/popper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/portal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/radio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/required/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/segmented-control/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/select/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/selector-bar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/sharing-dialog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/status-icon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/switch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/tab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/tag/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/text-area/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/tooltip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/transfer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions components/user-avatar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions constants/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "./build/cjs/react/index.js",
"module": "./build/es/react/index.js",
"exports": {
"types": "./types/index.d.ts",
"import": "./build/es/react/index.js",
"require": "./build/cjs/react/index.js"
},
Expand Down

0 comments on commit e16036b

Please sign in to comment.