-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patch micromorph package.json to have types
- Loading branch information
1 parent
0f55411
commit 0511b4a
Showing
3 changed files
with
649 additions
and
332 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", |
Oops, something went wrong.