Skip to content

Commit

Permalink
chore: switch to yarn 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexogamer committed Apr 22, 2024
1 parent 9b111f4 commit 3b839f3
Show file tree
Hide file tree
Showing 6 changed files with 15,499 additions and 11,147 deletions.
2 changes: 1 addition & 1 deletion patches/README.md → .yarn/patches/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This folder contains small patches necessary to fix build issues/bugs with unmai

## Creating new patches

These patches are created using [`patch-package`](https://www.npmjs.com/package/patch-package) - for more information, check its README/documentation.
These patches are created using [`yarn patch`](https://yarnpkg.com/features/patching) - for more information, check its README/documentation.

## Notes

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
diff --git a/node_modules/react-native-reanimated/lib/module/reanimated2/PlatformChecker.js b/node_modules/react-native-reanimated/lib/module/reanimated2/PlatformChecker.js
index 13ac999..87f2822 100644
--- a/node_modules/react-native-reanimated/lib/module/reanimated2/PlatformChecker.js
+++ b/node_modules/react-native-reanimated/lib/module/reanimated2/PlatformChecker.js
diff --git a/lib/module/reanimated2/PlatformChecker.js b/lib/module/reanimated2/PlatformChecker.js
index 13ac9997adc7d8c528a2f117df6dfe1a6cb5be07..87f28229bb758fa19b70b56b5c0533e43504bebb 100644
--- a/lib/module/reanimated2/PlatformChecker.js
+++ b/lib/module/reanimated2/PlatformChecker.js
@@ -5,7 +5,12 @@ import { Platform } from 'react-native';
// This type is necessary since some libraries tend to do a lib check
// and this file causes type errors on `global` access.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
diff --git a/node_modules/react-native-vector-icons/fonts.gradle b/node_modules/react-native-vector-icons/fonts.gradle
index 951394b..28096ac 100644
--- a/node_modules/react-native-vector-icons/fonts.gradle
+++ b/node_modules/react-native-vector-icons/fonts.gradle
diff --git a/fonts.gradle b/fonts.gradle
index 951394b0d4609ab57f15bd967f9c1d649a1faf93..2b288a21359b8a507873c24b90d3b62c9f8e8db1 100644
--- a/fonts.gradle
+++ b/fonts.gradle
@@ -32,6 +32,11 @@ afterEvaluate {
lintVitalAnalyzeTask.dependsOn(fontCopyTask)
}

+ def lintVitalReportModelTask = tasks.findByName("generate${targetName}LintVitalReportModel")
+ if (lintVitalReportModelTask) {
+ lintVitalReportModelTask.dependsOn(fontCopyTask)
Expand Down
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
13 changes: 5 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
"test": "jest",
"lint": "eslint .",
"web": "webpack-dev-server --config config/webpack.config.js --hot --mode=development",
"web-release": "webpack --config config/webpack.config.js --mode=production",
"postinstall": "patch-package"
"web-release": "webpack --config config/webpack.config.js --mode=production"
},
"dependencies": {
"@gorhom/bottom-sheet": "^4.6.1",
Expand All @@ -30,7 +29,6 @@
"markdown-it-regexp": "^0.4.0",
"mobx": "^6.12.3",
"mobx-react-lite": "^4.0.7",
"postinstall-postinstall": "^2.1.0",
"process": "^0.11.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand All @@ -44,9 +42,9 @@
"react-native-get-random-values": "^1.11.0",
"react-native-image-zoom-viewer": "^3.0.1",
"react-native-markdown-display": "^7.0.2",
"react-native-reanimated": "^3.9.0-rc.1",
"react-native-reanimated": "patch:react-native-reanimated@npm%3A3.9.0-rc.1#~/.yarn/patches/react-native-reanimated-npm-3.9.0-rc.1-c5149e62b9.patch",
"react-native-svg": "^15.1.0",
"react-native-vector-icons": "^10.0.3",
"react-native-vector-icons": "patch:react-native-vector-icons@npm%3A10.0.3#~/.yarn/patches/react-native-vector-icons-npm-10.0.3-d1cb4af000.patch",
"react-native-web": "^0.19.11",
"reanimated-color-picker": "^3.0.3",
"revkit": "^1.1.14",
Expand Down Expand Up @@ -79,7 +77,6 @@
"eslint": "^8.56.0",
"html-webpack-plugin": "^5.6.0",
"jest": "^29.7.0",
"patch-package": "^8.0.0",
"prettier": "^2.8.8",
"react-devtools": "^5.1.0",
"react-native-svg-transformer": "^1.3.0",
Expand All @@ -91,10 +88,10 @@
"webpack-dev-server": "^4.15.1"
},
"resolutions": {
"@insertish/oapi": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.0.2.tgz"
"@insertish/oapi": "npm:@favware/skip-dependency@^1.2.1"
},
"engines": {
"node": ">=18"
},
"packageManager": "yarn@1.22.21"
"packageManager": "yarn@4.1.1"
}
Loading

0 comments on commit 3b839f3

Please sign in to comment.