Migrate yarn to npm (#22116)
### Description
This PR change all reference to yarn to npm
### Motivation and Context
This PR is needed to address all Component Governce issue that ORT is
facing
### Current issue
- [x] use_react_native!(:path => config["reactNativePath"]) return nil
- [x] For error `CocoaPods could not find compatible versions for pod
"RCTRequired"`, we might need to increase iOS targe version from 13.0 to
a higher version.
- [x] For 'react-native' >= 0.73.x , react-native/react.gradle file is
no longer used
- [x] We need to update to gradle 7.6 or above to upgrade the RN.
current gradlew version 7.3.3 that we use does not works on RN 71+.
- [x] Instruction on how to implement the React-Native has changed since
[0.72](https://reactnative.dev/docs/integration-with-existing-apps).
- [x] Error `The new Java toolchain feature cannot be used at the
project level in combination with source and/or target compatibility`
from gradle.
- [x] duplicate class: com.facebook.react.PackageList
solution: remove `apply from:
file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle");
applyNativeModulesAppBuildGradle(project)` from bottom of
andoird/app/build.gradle
- [x] Need to update the OnnxruntimeModuleTest because
`ReactApplicationContext` is now a abstract class.
---------
Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>