react-native-macos/packages
Liam Jones 121184bb8f Fix detectCliPath check for cliJsFromNode (#34808)
Summary:
`react.gradle`'s `detectCliPath` was not working correctly for the `cliJsFromNode` check, this fixes it.

## Changelog

[Android] [Fixed] - Fix react.gradle's detectCliPath's for finding the path from Node

Pull Request resolved: https://github.com/facebook/react-native/pull/34808

Test Plan:
Tested manually from a monorepo setup, this incorrect check was preventing the CLI from being found correctly:

```
❯ pwd
/Users/liam.jones/code/monorepo/packages/apps/app1/android

❯ node --print "require.resolve('react-native/cli').bin" # old code
undefined

❯ node --print "require.resolve('react-native/cli')" # new code
/Users/liam.jones/code/monorepo/node_modules/react-native/cli.js

Reviewed By: cortinico

Differential Revision: D39883661

Pulled By: cortinico

fbshipit-source-id: 2120df3443e38631e0fbd9b844aa93a87449186f
2022-10-03 04:22:45 -07:00
..
assets @emails -> @oncall (remaining ones) 2022-09-15 15:54:10 -07:00
babel-plugin-codegen RN: Fix Existing Lint Warnings 2022-09-27 09:22:58 -07:00
eslint-config-react-native-community RN: Delete `eslint-config-react-native-community/yarn.lock` 2022-09-29 10:51:37 -07:00
eslint-plugin-react-native-community RN: Replace `error-subclass-name` with `require-extends-error` ESLint Rule 2022-09-27 14:37:29 -07:00
eslint-plugin-specs '@emails' -> '@oncall' (*.js) 2022-09-21 20:47:05 -07:00
normalize-color @emails -> @oncall (remaining ones) 2022-09-15 15:54:10 -07:00
polyfills @emails -> @oncall (remaining ones) 2022-09-15 15:54:10 -07:00
react-native-bots Add bots as a yarn workspace and update danger action (#34652) 2022-09-12 22:03:34 -07:00
react-native-codegen Fix crash when exporting type of existing variable 2022-10-03 04:15:04 -07:00
react-native-gradle-plugin Fix detectCliPath check for cliJsFromNode (#34808) 2022-10-03 04:22:45 -07:00
rn-tester Move `react_render_debug` to be consumed via prefab (#34802) 2022-09-27 09:30:50 -07:00