Skip to content

Commit 158382b

Browse files
Upgrade yarn to v4 and fix patches
1 parent e95b8a4 commit 158382b

File tree

10 files changed

+6159
-7215
lines changed

10 files changed

+6159
-7215
lines changed

.yarn/patches/node-git-hooks-npm-1.0.7-618e27eb9b.patch

Lines changed: 0 additions & 13 deletions
This file was deleted.

.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Lines changed: 0 additions & 541 deletions
This file was deleted.

.yarn/plugins/@yarnpkg/plugin-version.cjs

Lines changed: 0 additions & 550 deletions
This file was deleted.

.yarn/releases/yarn-3.6.4.cjs

Lines changed: 0 additions & 874 deletions
This file was deleted.

.yarn/releases/yarn-4.4.0.cjs

Lines changed: 925 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
nodeLinker: node-modules
1+
compressionLevel: mixed
2+
3+
enableGlobalCache: false
24

3-
plugins:
4-
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
5-
spec: "@yarnpkg/plugin-version"
6-
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
7-
spec: "@yarnpkg/plugin-interactive-tools"
5+
nodeLinker: node-modules
86

9-
yarnPath: .yarn/releases/yarn-3.6.4.cjs
7+
yarnPath: .yarn/releases/yarn-4.4.0.cjs

package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"react-native-linear-gradient": "^2.8.3",
6767
"react-native-logs": "^5.1.0",
6868
"react-native-markdown-display": "^7.0.2",
69-
"react-native-paper": "^5.12.5",
69+
"react-native-paper": "5.12.5",
7070
"react-native-paper-dates": "^0.22.19",
7171
"react-native-reanimated": "^3.14.0",
7272
"react-native-safe-area-context": "^4.10.8",
@@ -125,11 +125,7 @@
125125
"engines": {
126126
"node": ">=18"
127127
},
128-
"packageManager": "[email protected]",
129-
"resolutions": {
130-
"[email protected]": "patch:react-native-paper@npm%3A5.12.5#./.yarn/patches/react-native-paper-npm-5.12.3-1a888b7688.patch",
131-
"node-git-hooks@^1.0.7": "patch:node-git-hooks@npm%3A1.0.7#./.yarn/patches/node-git-hooks-npm-1.0.7-618e27eb9b.patch"
132-
},
128+
"packageManager": "[email protected]",
133129
"expo": {
134130
"autolinking": {
135131
"exclude": [

patches/node-git-hooks+1.0.7.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/node_modules/node-git-hooks/install-git-hooks.js b/node_modules/node-git-hooks/install-git-hooks.js
2+
index 6272352..a21d9dd 100644
3+
--- a/node_modules/node-git-hooks/install-git-hooks.js
4+
+++ b/node_modules/node-git-hooks/install-git-hooks.js
5+
@@ -54,7 +54,7 @@ function copyDir(src, dest) {
6+
};
7+
8+
function copy(src, dest) {
9+
- fs.copyFileSync(src, dest);
10+
+ fs.cpSync(src, dest);
11+
};
12+
13+
module.exports = installGitHooks;

.yarn/patches/react-native-paper-npm-5.12.3-1a888b7688.patch renamed to patches/react-native-paper+5.12.5.patch

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
2-
diff --git a/src/components/BottomNavigation/BottomNavigationBar.tsx b/src/components/BottomNavigation/BottomNavigationBar.tsx
3-
index 0bfe303bfb443396ede776726faa0f8ba32752cd..a59ae061dcaa51f026e78de0ccfd536318dd0aee 100644
4-
--- a/src/components/BottomNavigation/BottomNavigationBar.tsx
5-
+++ b/src/components/BottomNavigation/BottomNavigationBar.tsx
1+
diff --git a/node_modules/react-native-paper/src/components/BottomNavigation/BottomNavigationBar.tsx b/node_modules/react-native-paper/src/components/BottomNavigation/BottomNavigationBar.tsx
2+
index 0bfe303..a59ae06 100644
3+
--- a/node_modules/react-native-paper/src/components/BottomNavigation/BottomNavigationBar.tsx
4+
+++ b/node_modules/react-native-paper/src/components/BottomNavigation/BottomNavigationBar.tsx
65
@@ -360,7 +360,7 @@ const BottomNavigationBar = <Route extends BaseRoute>({
76
navigationState,
87
renderIcon,

0 commit comments

Comments
 (0)