Skip to content

Commit

Permalink
fix: revisit package exports to pass "are the types wrong" (#1440)
Browse files Browse the repository at this point in the history
- a recent commit made the `exports` a bit simpler but displays 1 unexpected syntax error on [are the types wrong](https://arethetypeswrong.github.io/?p=%40slickgrid-universal%2Fcommon%404.6.0)
- use the same `exports` that we use in `multiple-select-vanilla` since that one doesn't display that error
  • Loading branch information
ghiscoding authored Mar 25, 2024
1 parent e00a993 commit 20229f7
Show file tree
Hide file tree
Showing 17 changed files with 34 additions and 34 deletions.
4 changes: 2 additions & 2 deletions packages/binding/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"node": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"node": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
"require": "./dist/cjs/index.js"
},
"./dist/styles/*": "./dist/styles/*",
"./package.json": "./package.json"
Expand Down
4 changes: 2 additions & 2 deletions packages/composite-editor-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"node": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/custom-footer-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"node": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/custom-tooltip-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"node": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/empty-warning-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"node": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/event-pub-sub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"node": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/excel-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"node": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"node": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/odata/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"node": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/pagination-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"node": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/row-detail-view-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"node": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/rxjs-observable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"node": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/text-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"node": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"node": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/vanilla-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"node": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/vanilla-force-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"node": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
Expand Down

0 comments on commit 20229f7

Please sign in to comment.