Skip to content

Commit

Permalink
fix: reference module types in package.json export declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
amcgee committed Jan 16, 2025
1 parent 767e126 commit 862fd57
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
6 changes: 4 additions & 2 deletions runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
"exports": {
".": {
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
"require": "./build/cjs/index.js",
"types": "./build/types/index.d.ts"
},
"./experimental": {
"import": "./build/es/experimental.js",
"require": "./build/cjs/experimental.js"
"require": "./build/cjs/experimental.js",
"types": "./build/types/experimental.d.ts"
}
},
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion services/alerts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"types": "./build/types/index.d.ts",
"exports": {
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
"require": "./build/cjs/index.js",
"types": "./build/types/index.d.ts"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion services/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"types": "build/types/index.d.ts",
"exports": {
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
"require": "./build/cjs/index.js",
"types": "./build/types/index.d.ts"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion services/data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"types": "build/types/index.d.ts",
"exports": {
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
"require": "./build/cjs/index.js",
"types": "./build/types/index.d.ts"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion services/offline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"types": "build/types/index.d.ts",
"exports": {
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
"require": "./build/cjs/index.js",
"types": "./build/types/index.d.ts"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion services/plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"types": "build/types/index.d.ts",
"exports": {
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
"require": "./build/cjs/index.js",
"types": "./build/types/index.d.ts"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 862fd57

Please sign in to comment.