Skip to content

Commit

Permalink
Patch exports in @react-leaflet/core
Browse files Browse the repository at this point in the history
  • Loading branch information
akheron committed Dec 2, 2024
1 parent d031ade commit e4ecd71
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/package.json b/package.json
index 924b5880e3bbd8aaf60c143d5abfa25dbadcd8b3..ee63bf9f5ba456623d6d9320fafcd2f0fa64e621 100644
--- a/package.json
+++ b/package.json
@@ -22,7 +22,8 @@
"main": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
- ".": "./lib/index.js"
+ ".": "./lib/index.js",
+ "./lib/context": "./lib/context.js"
},
"files": [
"lib/*"
3 changes: 2 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@
}
},
"resolutions": {
"webpack@npm:5.37.1/terser-webpack-plugin": "5.1.1"
"webpack@npm:5.37.1/terser-webpack-plugin": "5.1.1",
"@react-leaflet/core@npm:^2.1.0": "patch:@react-leaflet/core@npm%3A2.1.0#~/.yarn/patches/@react-leaflet-core-npm-2.1.0-de483ca53f.patch"
},
"engines": {
"node": ">= 20.9.0"
Expand Down
13 changes: 12 additions & 1 deletion frontend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3156,7 +3156,7 @@ __metadata:
languageName: node
linkType: hard

"@react-leaflet/core@npm:^2.1.0":
"@react-leaflet/core@npm:2.1.0":
version: 2.1.0
resolution: "@react-leaflet/core@npm:2.1.0"
peerDependencies:
Expand All @@ -3167,6 +3167,17 @@ __metadata:
languageName: node
linkType: hard

"@react-leaflet/core@patch:@react-leaflet/core@npm%3A2.1.0#~/.yarn/patches/@react-leaflet-core-npm-2.1.0-de483ca53f.patch":
version: 2.1.0
resolution: "@react-leaflet/core@patch:@react-leaflet/core@npm%3A2.1.0#~/.yarn/patches/@react-leaflet-core-npm-2.1.0-de483ca53f.patch::version=2.1.0&hash=178615"
peerDependencies:
leaflet: ^1.9.0
react: ^18.0.0
react-dom: ^18.0.0
checksum: 10/00e3a5982d41a27dd41113de55af31b47e2719151d5a4dd472115899a9ed3881b824c285f38c32a579034eefad1743332e9a27be205114fd14768ebb862835eb
languageName: node
linkType: hard

"@react-spring/animated@npm:~9.7.3":
version: 9.7.3
resolution: "@react-spring/animated@npm:9.7.3"
Expand Down

0 comments on commit e4ecd71

Please sign in to comment.