Skip to content

Commit

Permalink
patch micromorph package.json to have types
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexErrant committed Sep 9, 2024
1 parent 0f55411 commit 0511b4a
Show file tree
Hide file tree
Showing 3 changed files with 649 additions and 332 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
"patchedDependencies": {
"[email protected]": "patches/[email protected]",
"@thisbeyond/[email protected]": "patches/@[email protected]",
"[email protected]": "patches/[email protected]"
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]"
},
"overrides": {
"got@<11.8.5": ">=11.8.5",
Expand Down
27 changes: 27 additions & 0 deletions patches/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
diff --git a/package.json b/package.json
index 3251a6ca39f860b6aeb377afff63b57339a4f24c..28f7649f09f8f23122b0accbb4f2a7dc7795deb9 100644
--- a/package.json
+++ b/package.json
@@ -4,10 +4,18 @@
"main": "./index.mjs",
"types": "./types.d.ts",
"exports": {
- ".": "./index.mjs",
- "./spa": "./dist/spa.js",
- "./nav": "./dist/nav.js"
- },
+ ".": {
+ "import": "./index.mjs",
+ "types": "./index.d.ts"
+ },
+ "./spa": {
+ "import": "./dist/spa.js",
+ "types": "./spa.d.ts"
+ },
+ "./nav": {
+ "import": "./dist/nav.js",
+ "types": "./nav.d.ts"
+ } },
"files": [
"index.mjs",
"index.d.ts",
Loading

0 comments on commit 0511b4a

Please sign in to comment.