Skip to content

Commit

Permalink
fix(deps): Make @react-native/babel-preset peer dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseLion committed Apr 28, 2024
1 parent 6828907 commit 1b1ddac
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
"dependencies": {
"@babel/core": "^7.24.4",
"@babel/register": "^7.23.7",
"@react-native/babel-preset": "^0.74.81",
"babel-plugin-module-resolver": "^5.0.2",
"dot-prop-immutable": "^2.1.1",
"ts-pattern": "^5.1.1"
},
"devDependencies": {
"@assertive-ts/core": "^2.1.0",
"@react-native/babel-preset": "^0.74.81",
"@testing-library/react-native": "^12.4.5",
"@types/babel__core": "^7.20.5",
"@types/babel__register": "^7.17.3",
Expand Down Expand Up @@ -72,10 +72,14 @@
"typescript": "^5.4.5"
},
"peerDependencies": {
"@react-native/babel-preset": ">=0.73.18",
"react": ">=18.2.0",
"react-native": ">=0.73.2"
},
"peerDependenciesMeta": {
"@react-native/babel-preset": {
"optional": false
},
"react": {
"optional": false
},
Expand Down
15 changes: 9 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3503,9 +3503,9 @@ __metadata:
linkType: hard

"caniuse-lite@npm:^1.0.30001587":
version: 1.0.30001613
resolution: "caniuse-lite@npm:1.0.30001613"
checksum: 10/66c347aa8d7f5157445b76ffe291e2bef4d65e3c3cdd42f579d5656778c6c9b7b121780ea42b0add09ec86abe958ebac0131aba6f52f4d99ebba131bddf200ca
version: 1.0.30001614
resolution: "caniuse-lite@npm:1.0.30001614"
checksum: 10/e1ff9fbe3b81f02c9f1da802d9438adb5fda0a40d3f755817e981e08c50da0ba6c5cba374d63518006f1d7380fad4de4809208bef20fdad0283398e25f790d67
languageName: node
linkType: hard

Expand Down Expand Up @@ -7139,9 +7139,9 @@ __metadata:
linkType: hard

"lru-cache@npm:^10.0.1, lru-cache@npm:^10.2.0":
version: 10.2.1
resolution: "lru-cache@npm:10.2.1"
checksum: 10/65639bf4534c00b7a420be001d7f0485d6147fe0fdc68b9a67d0ef94dca6dace27d87cfa345e817c62bc6e000393379ac744f40870c285bb7c13949c1cc87209
version: 10.2.2
resolution: "lru-cache@npm:10.2.2"
checksum: 10/ff1a496d30b5eaec2c9079080965bb0cede203cf878371f7033a007f1e54cd4aa13cc8abf7ccec4c994a83a22ed5476e83a55bb57cc07e6c1547a42937e42c37
languageName: node
linkType: hard

Expand Down Expand Up @@ -9082,9 +9082,12 @@ __metadata:
tslib: "npm:^2.6.2"
typescript: "npm:^5.4.5"
peerDependencies:
"@react-native/babel-preset": ">=0.73.18"
react: ">=18.2.0"
react-native: ">=0.73.2"
peerDependenciesMeta:
"@react-native/babel-preset":
optional: false
react:
optional: false
react-native:
Expand Down

0 comments on commit 1b1ddac

Please sign in to comment.