-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
353 additions
and
198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
--- |
25 changes: 25 additions & 0 deletions
25
.yarn/patches/react-native-macos-npm-0.72.0-a4a20def58.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
diff --git a/scripts/cocoapods/codegen.rb b/scripts/cocoapods/codegen.rb | ||
index 56d120fcceda051e8bdda6f0af63dcf2dd16d4a6..8be6c547581b44733d7771394622cdf7f35dcdd2 100644 | ||
--- a/scripts/cocoapods/codegen.rb | ||
+++ b/scripts/cocoapods/codegen.rb | ||
@@ -11,14 +11,18 @@ | ||
# - dir_manager: a class that implements the `Dir` interface. Defaults to `Dir`, the Dependency can be injected for testing purposes. | ||
# @throws an error if it could not find the codegen folder. | ||
def build_codegen!(react_native_path, relative_installation_root, dir_manager: Dir) | ||
- codegen_repo_path = "#{relative_installation_root}/#{react_native_path}/../react-native-codegen"; | ||
- codegen_npm_path = "#{relative_installation_root}/#{react_native_path}/../@react-native/codegen"; | ||
+ react_native_relpath = "#{relative_installation_root}/#{react_native_path}" | ||
+ codegen_repo_path = "#{react_native_relpath}/../react-native-codegen"; | ||
+ codegen_npm_path = "#{react_native_relpath}/../@react-native/codegen"; | ||
+ codegen_pnpm_path = "#{react_native_relpath}/node_modules/@react-native/codegen"; | ||
codegen_cli_path = "" | ||
|
||
if dir_manager.exist?(codegen_repo_path) | ||
codegen_cli_path = codegen_repo_path | ||
elsif dir_manager.exist?(codegen_npm_path) | ||
codegen_cli_path = codegen_npm_path | ||
+ elsif dir_manager.exist?(codegen_pnpm_path) | ||
+ codegen_cli_path = codegen_pnpm_path | ||
else | ||
raise "[codegen] Could not find react-native-codegen." | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
diff --git a/scripts/cocoapods/codegen.rb b/scripts/cocoapods/codegen.rb | ||
index 56d120fcceda051e8bdda6f0af63dcf2dd16d4a6..8be6c547581b44733d7771394622cdf7f35dcdd2 100644 | ||
--- a/scripts/cocoapods/codegen.rb | ||
+++ b/scripts/cocoapods/codegen.rb | ||
@@ -11,14 +11,18 @@ | ||
# - dir_manager: a class that implements the `Dir` interface. Defaults to `Dir`, the Dependency can be injected for testing purposes. | ||
# @throws an error if it could not find the codegen folder. | ||
def build_codegen!(react_native_path, relative_installation_root, dir_manager: Dir) | ||
- codegen_repo_path = "#{relative_installation_root}/#{react_native_path}/../react-native-codegen"; | ||
- codegen_npm_path = "#{relative_installation_root}/#{react_native_path}/../@react-native/codegen"; | ||
+ react_native_relpath = "#{relative_installation_root}/#{react_native_path}" | ||
+ codegen_repo_path = "#{react_native_relpath}/../react-native-codegen"; | ||
+ codegen_npm_path = "#{react_native_relpath}/../@react-native/codegen"; | ||
+ codegen_pnpm_path = "#{react_native_relpath}/node_modules/@react-native/codegen"; | ||
codegen_cli_path = "" | ||
|
||
if dir_manager.exist?(codegen_repo_path) | ||
codegen_cli_path = codegen_repo_path | ||
elsif dir_manager.exist?(codegen_npm_path) | ||
codegen_cli_path = codegen_npm_path | ||
+ elsif dir_manager.exist?(codegen_pnpm_path) | ||
+ codegen_cli_path = codegen_pnpm_path | ||
else | ||
raise "[codegen] Could not find react-native-codegen." | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ logFilters: | |
level: discard | ||
- code: YN0013 # X can't be found in the cache and will be fetched from the remote registry | ||
level: discard | ||
nodeLinker: node-modules | ||
nodeLinker: pnpm | ||
npmRegistryServer: "https://registry.npmjs.org" | ||
packageExtensions: | ||
"@fluentui/utilities@*": | ||
|
@@ -17,6 +17,12 @@ packageExtensions: | |
"@microsoft/[email protected]": | ||
peerDependencies: | ||
eslint: ">=5.16.0" | ||
"@react-native-community/cli-debugger-ui@*": | ||
dependencies: | ||
"@babel/runtime": "^7.20.0" | ||
"@react-native/codegen@*": | ||
dependencies: | ||
invariant: "^2.2.4" | ||
babel-plugin-transform-flow-enums@*: | ||
peerDependencies: | ||
"@babel/core": ^7.20.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.