Skip to content

Commit

Permalink
chore: simplify patch
Browse files Browse the repository at this point in the history
  • Loading branch information
merceyz committed Jan 7, 2024
1 parent 879907e commit 278007a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
11 changes: 2 additions & 9 deletions .yarn/patches/clipanion-npm-3.2.1-fc9187f56c.patch
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
diff --git a/lib/platform/package.json b/lib/platform/package.json
index 5ea9d43740d1bdb509612376c0e9ce91d20f8b20..7d00a69cb6cda12b8b69ebb0274c43946030b830 100644
index 5ea9d43740d1bdb509612376c0e9ce91d20f8b20..08d4f7327dee5e605107a343d73b2254ed08ddb9 100644
--- a/lib/platform/package.json
+++ b/lib/platform/package.json
@@ -1,4 +1,11 @@
@@ -1,4 +1,4 @@
{
- "main": "./node",
+ "main": "./node.js",
+ "exports": {
+ ".": {
+ "browser": "./browser.mjs",
+ "require": "./node.js",
+ "default": "./node.mjs"
+ }
+ },
"browser": "./browser"
}
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1308,12 +1308,12 @@ __metadata:

"clipanion@patch:clipanion@npm%3A3.2.1#~/.yarn/patches/clipanion-npm-3.2.1-fc9187f56c.patch":
version: 3.2.1
resolution: "clipanion@patch:clipanion@npm%3A3.2.1#~/.yarn/patches/clipanion-npm-3.2.1-fc9187f56c.patch::version=3.2.1&hash=19c482"
resolution: "clipanion@patch:clipanion@npm%3A3.2.1#~/.yarn/patches/clipanion-npm-3.2.1-fc9187f56c.patch::version=3.2.1&hash=cd5507"
dependencies:
typanion: "npm:^3.8.0"
peerDependencies:
typanion: "*"
checksum: 8843ed1caaf18d3e0477b17e501a7c8ea0eaf34a0b7f1d2bf51d4de19fd71be499d66c69f90b47ddbc902cbb115774cb80f2e0ca9c93d26817b2831d99ad5c37
checksum: a833a309638d9d07eaa1e4729653944f06998ce9295bc7db5ddbffc136050e41397c4f04c25a5bdc9305ac540f5c7323b7b113a4d1da134c9c552fb3206355f6
languageName: node
linkType: hard

Expand Down

0 comments on commit 278007a

Please sign in to comment.