Skip to content

Commit

Permalink
feat: add "types" exports for "node16" tsc resolution (#192)
Browse files Browse the repository at this point in the history
* feat: typescript node16 resolution support

* chore: do it for all packages

* fix "types" order

* fix "types" order

* fix "types" order

* fix "types" order

* fix "types" order

* fix "types" order

---------

Co-authored-by: Luke Edwards <luke.edwards05@gmail.com>
  • Loading branch information
didinele and lukeed authored Sep 6, 2023
1 parent a9d222d commit ff8ded8
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/cluster/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"license": "MIT",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./build.mjs",
"require": "./build.js"
},
Expand Down
1 change: 1 addition & 0 deletions packages/parse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"license": "MIT",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./build.mjs",
"require": "./build.js"
},
Expand Down
1 change: 1 addition & 0 deletions packages/polka/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"license": "MIT",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./build.mjs",
"require": "./build.js"
},
Expand Down
1 change: 1 addition & 0 deletions packages/redirect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"license": "MIT",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./build.mjs",
"require": "./build.js"
},
Expand Down
1 change: 1 addition & 0 deletions packages/send/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"license": "MIT",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./build.mjs",
"require": "./build.js"
},
Expand Down
1 change: 1 addition & 0 deletions packages/url/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"license": "MIT",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./build.mjs",
"require": "./build.js"
},
Expand Down

0 comments on commit ff8ded8

Please sign in to comment.