зеркало из https://github.com/microsoft/rnx-kit.git
chore: bump `react-native` to 0.73 (#2956)
This commit is contained in:
Родитель
07cd73a7e6
Коммит
c1c0f7ac2a
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@rnx-kit/metro-resolver-symlinks": patch
|
||||
---
|
||||
|
||||
`experimental_retryResolvingFromDisk` works with Metro 0.80
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
"@rnx-kit/react-native-test-app-msal": patch
|
||||
"@rnx-kit/react-native-auth": patch
|
||||
---
|
||||
|
||||
Fix build issues with React Native 0.73
|
|
@ -5,7 +5,7 @@
|
|||
{
|
||||
"groupName": "@react-native-community/cli",
|
||||
"matchPackagePrefixes": ["@react-native-community/cli"],
|
||||
"allowedVersions": "^11.0.0"
|
||||
"allowedVersions": "^12.0.0"
|
||||
},
|
||||
{
|
||||
"groupName": "Android",
|
||||
|
@ -29,7 +29,7 @@
|
|||
{
|
||||
"groupName": "Metro",
|
||||
"matchSourceUrlPrefixes": ["https://github.com/facebook/metro"],
|
||||
"allowedVersions": "^0.76.0"
|
||||
"allowedVersions": "^0.80.0"
|
||||
},
|
||||
{
|
||||
"groupName": "Moshi",
|
||||
|
@ -69,7 +69,7 @@
|
|||
"react-native-macos",
|
||||
"react-native-windows"
|
||||
],
|
||||
"allowedVersions": "^0.72.0"
|
||||
"allowedVersions": "^0.73.0"
|
||||
}
|
||||
],
|
||||
"postUpdateOptions": ["yarnDedupeHighest"],
|
||||
|
|
|
@ -49,7 +49,7 @@ jobs:
|
|||
name: "Build"
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [16, 18, 20]
|
||||
node-version: [18, 20]
|
||||
os: [ubuntu-22.04, windows-2022]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
|
@ -96,7 +96,7 @@ jobs:
|
|||
- name: Setup the toolchain
|
||||
uses: ./.github/actions/setup-toolchain
|
||||
with:
|
||||
jdk-version: 11
|
||||
jdk-version: 17
|
||||
- name: Install package dependencies
|
||||
run: |
|
||||
yarn
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
diff --git a/third-party-podspecs/boost.podspec b/third-party-podspecs/boost.podspec
|
||||
index 8d8935318109715b8cafbe8a3853ca2cee2fc28e..c82c3a9fca137b263934be9ccde0b111f160a5c4 100644
|
||||
--- a/third-party-podspecs/boost.podspec
|
||||
+++ b/third-party-podspecs/boost.podspec
|
||||
@@ -10,7 +10,7 @@ Pod::Spec.new do |spec|
|
||||
spec.homepage = 'http://www.boost.org'
|
||||
spec.summary = 'Boost provides free peer-reviewed portable C++ source libraries.'
|
||||
spec.authors = 'Rene Rivera'
|
||||
- spec.source = { :http => 'https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2',
|
||||
+ spec.source = { :http => 'https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2',
|
||||
:sha256 => 'f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41' }
|
||||
|
||||
# Pinning to the same version as React.podspec.
|
|
@ -1,13 +0,0 @@
|
|||
diff --git a/third-party-podspecs/boost.podspec b/third-party-podspecs/boost.podspec
|
||||
index 3d9331c95d1217682a0b820a0d9440fdff074ae0..bbbb7380e51a12d1b2994c8ab8e8f682c5e6d83d 100644
|
||||
--- a/third-party-podspecs/boost.podspec
|
||||
+++ b/third-party-podspecs/boost.podspec
|
||||
@@ -10,7 +10,7 @@ Pod::Spec.new do |spec|
|
||||
spec.homepage = 'http://www.boost.org'
|
||||
spec.summary = 'Boost provides free peer-reviewed portable C++ source libraries.'
|
||||
spec.authors = 'Rene Rivera'
|
||||
- spec.source = { :http => 'https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2',
|
||||
+ spec.source = { :http => 'https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2',
|
||||
:sha256 => 'f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41' }
|
||||
|
||||
# Pinning to the same version as React.podspec.
|
26
.yarnrc.yml
26
.yarnrc.yml
|
@ -16,6 +16,24 @@ packageExtensions:
|
|||
peerDependenciesMeta:
|
||||
"@types/react":
|
||||
optional: true
|
||||
"@react-native/babel-plugin-codegen@*":
|
||||
peerDependencies:
|
||||
"@babel/preset-env": ^7.20.0
|
||||
"@react-native/babel-preset@*":
|
||||
peerDependencies:
|
||||
"@babel/preset-env": ^7.20.0
|
||||
"@react-native/community-cli-plugin@*":
|
||||
peerDependencies:
|
||||
"@babel/preset-env": ^7.20.0
|
||||
"@react-native/dev-middleware@*":
|
||||
dependencies:
|
||||
"ws": "^6.2.2"
|
||||
"@react-native/metro-babel-transformer@*":
|
||||
peerDependencies:
|
||||
"@babel/preset-env": ^7.20.0
|
||||
"@react-native/metro-config@*":
|
||||
peerDependencies:
|
||||
"@babel/preset-env": ^7.20.0
|
||||
"@react-native-community/cli-debugger-ui@*":
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.20.0
|
||||
|
@ -35,15 +53,11 @@ packageExtensions:
|
|||
metro-config@*:
|
||||
dependencies:
|
||||
# `metro-config` fails to resolve `JsTransformerConfig` because it's in another package
|
||||
metro-transform-worker: ^0.76.5
|
||||
metro-transform-worker@*:
|
||||
dependencies:
|
||||
# `metro` has this dependency, but it's being resolved from `metro-transform-worker`
|
||||
metro-minify-terser: ^0.76.5
|
||||
metro-transform-worker: ^0.80.0
|
||||
react-native-macos@*:
|
||||
dependencies:
|
||||
# These two are required by `react-native-macos/local-cli/runMacOS/runMacOS.js`
|
||||
"@react-native-community/cli-tools": ^11.3.6
|
||||
"@react-native-community/cli-tools": ^12.3.0
|
||||
chalk: ^4.1.0
|
||||
peerDependencies:
|
||||
"@babel/preset-env": ^7.1.6
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
"jest": "^29.2.1",
|
||||
"prettier": "^3.0.0",
|
||||
"react": "18.2.0",
|
||||
"react-native": "^0.72.0",
|
||||
"react-native": "^0.73.0",
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
"jest": {
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
"jest": "^29.2.1",
|
||||
"prettier": "^3.0.0",
|
||||
"react": "18.2.0",
|
||||
"react-native": "^0.72.0",
|
||||
"react-native": "^0.73.0",
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
"codegenConfig": {
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
"chalk": "^4.1.0",
|
||||
"eslint": "^8.23.0",
|
||||
"jest": "^29.2.1",
|
||||
"metro-config": "^0.76.5",
|
||||
"metro-config": "^0.80.0",
|
||||
"prettier": "^3.0.0",
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
|
@ -63,9 +63,14 @@
|
|||
},
|
||||
"rnx-kit": {
|
||||
"alignDeps": {
|
||||
"requirements": [
|
||||
"react-native@0.72"
|
||||
],
|
||||
"requirements": {
|
||||
"development": [
|
||||
"react-native@0.73"
|
||||
],
|
||||
"production": [
|
||||
"react-native@>=0.72 <1.0"
|
||||
]
|
||||
},
|
||||
"capabilities": [
|
||||
"jest",
|
||||
"metro-config"
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@rnx-kit/console": "^1.0.11",
|
||||
"metro-symbolicate": "^0.76.0",
|
||||
"metro-symbolicate": "^0.80.0",
|
||||
"source-map": "^0.5.6",
|
||||
"yargs": "^16.0.0"
|
||||
},
|
||||
|
|
|
@ -56,7 +56,9 @@ buildscript {
|
|||
|
||||
dependencies {
|
||||
def androidPluginVersion = getExtProp("androidPluginVersion", "7.2.2")
|
||||
classpath("com.android.tools.build:gradle:${androidPluginVersion}")
|
||||
if (androidPluginVersion) {
|
||||
classpath("com.android.tools.build:gradle:${androidPluginVersion}")
|
||||
}
|
||||
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ import com.facebook.react.bridge.ReactApplicationContext
|
|||
import com.facebook.react.module.model.ReactModuleInfoProvider
|
||||
|
||||
class MsalPackage : TurboReactPackage() {
|
||||
override fun getModule(name: String?, reactContext: ReactApplicationContext?): NativeModule {
|
||||
override fun getModule(name: String, reactContext: ReactApplicationContext): NativeModule {
|
||||
val info = ReactNativeAuthModuleProvider.info()
|
||||
?: throw IllegalArgumentException("No modules were ever registered")
|
||||
|
||||
|
|
20
package.json
20
package.json
|
@ -38,7 +38,7 @@
|
|||
"@types/jest": "^29.2.1",
|
||||
"@types/node": "^20.0.0",
|
||||
"eslint": "^8.23.0",
|
||||
"metro": "^0.76.5",
|
||||
"metro": "^0.80.0",
|
||||
"nx": "~17.2.0",
|
||||
"prettier": "^3.0.0",
|
||||
"prettier-plugin-organize-imports": "^3.0.0",
|
||||
|
@ -51,20 +51,18 @@
|
|||
"resolutions": {
|
||||
"@microsoft/eslint-plugin-sdl/eslint-plugin-react": "^7.33.0",
|
||||
"@microsoft/eslint-plugin-sdl/eslint-plugin-security": "^1.4.0",
|
||||
"@react-native-community/cli": "^11.3.10",
|
||||
"@react-native-community/cli-platform-android": "^11.3.10",
|
||||
"@react-native-community/cli-platform-ios": "^11.3.10",
|
||||
"@react-native-community/cli": "^12.3.0",
|
||||
"@react-native-community/cli-clean": "^12.3.0",
|
||||
"@react-native-community/cli-platform-android": "^12.3.0",
|
||||
"@react-native-community/cli-platform-ios": "^12.3.0",
|
||||
"@react-native-community/cli-server-api": "^12.3.2",
|
||||
"@react-native-community/cli-tools": "^12.3.2",
|
||||
"@react-native-community/cli-types": "^12.3.0",
|
||||
"@rnx-kit/react-native-host": "workspace:*",
|
||||
"@vue/compiler-sfc": "link:./incubator/ignore",
|
||||
"depcheck/@babel/parser": "~7.23.0",
|
||||
"depcheck/@babel/traverse": "~7.23.0",
|
||||
"deprecated-react-native-prop-types/@react-native/normalize-colors": "^0.72.0",
|
||||
"nx/glob": "^7.1.4",
|
||||
"nx/minimatch": "^3.0.5",
|
||||
"nx/semver": "^7.3.5",
|
||||
"react-native-macos@^0.72.0": "patch:react-native-macos@npm%3A0.72.12#./.yarn/patches/react-native-macos-npm-0.72.12-61bf1f8441.patch",
|
||||
"react-native-windows/metro-source-map": "^0.76.8",
|
||||
"react-native@^0.72.0": "patch:react-native@npm%3A0.72.8#./.yarn/patches/react-native-npm-0.72.8-5af30d9693.patch"
|
||||
"nx/semver": "^7.3.5"
|
||||
},
|
||||
"workspaces": {
|
||||
"packages": [
|
||||
|
|
|
@ -62,8 +62,8 @@
|
|||
"devDependencies": {
|
||||
"@babel/core": "^7.20.0",
|
||||
"@babel/preset-env": "^7.20.0",
|
||||
"@react-native-community/cli-clean": "^11.0.0",
|
||||
"@react-native-community/cli-types": "^11.0.0",
|
||||
"@react-native-community/cli-clean": "^12.3.0",
|
||||
"@react-native-community/cli-types": "^12.3.0",
|
||||
"@rnx-kit/eslint-config": "*",
|
||||
"@rnx-kit/jest-preset": "*",
|
||||
"@rnx-kit/scripts": "*",
|
||||
|
@ -77,12 +77,12 @@
|
|||
"eslint": "^8.23.0",
|
||||
"jest": "^29.2.1",
|
||||
"memfs": "^4.0.0",
|
||||
"metro": "^0.76.5",
|
||||
"metro-babel-transformer": "^0.76.8",
|
||||
"metro-config": "^0.76.5",
|
||||
"metro": "^0.80.0",
|
||||
"metro-babel-transformer": "^0.80.0",
|
||||
"metro-config": "^0.80.0",
|
||||
"prettier": "^3.0.0",
|
||||
"react": "18.2.0",
|
||||
"react-native": "^0.72.0",
|
||||
"react-native": "^0.73.0",
|
||||
"type-fest": "^4.0.0",
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
"@types/semver": "^7.0.0",
|
||||
"eslint": "^8.23.0",
|
||||
"jest": "^29.2.1",
|
||||
"metro": "^0.76.5",
|
||||
"metro": "^0.80.0",
|
||||
"prettier": "^3.0.0",
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
"devDependencies": {
|
||||
"@eslint/js": "^8.33.0",
|
||||
"@jest/types": "^29.2.1",
|
||||
"@react-native-community/cli-types": "^11.0.0",
|
||||
"@react-native-community/cli-types": "^12.3.0",
|
||||
"@rnx-kit/scripts": "*",
|
||||
"@rnx-kit/tsconfig": "*",
|
||||
"@types/jest": "^29.2.1",
|
||||
|
@ -46,7 +46,7 @@
|
|||
"jest": "^29.2.1",
|
||||
"prettier": "^3.0.0",
|
||||
"react": "18.2.0",
|
||||
"react-native": "^0.72.0",
|
||||
"react-native": "^0.73.0",
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
"depcheck": {
|
||||
|
|
|
@ -47,12 +47,12 @@
|
|||
"@types/jest": "^29.2.1",
|
||||
"eslint": "^8.23.0",
|
||||
"jest": "^29.2.1",
|
||||
"metro": "^0.76.5",
|
||||
"metro-config": "^0.76.5",
|
||||
"metro-resolver": "^0.76.5",
|
||||
"metro": "^0.80.0",
|
||||
"metro-config": "^0.80.0",
|
||||
"metro-resolver": "^0.80.0",
|
||||
"prettier": "^3.0.0",
|
||||
"react": "18.2.0",
|
||||
"react-native": "^0.72.0",
|
||||
"react-native": "^0.73.0",
|
||||
"type-fest": "^4.0.0",
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
"@types/node": "^20.0.0",
|
||||
"eslint": "^8.23.0",
|
||||
"jest": "^29.2.1",
|
||||
"metro": "^0.76.5",
|
||||
"metro": "^0.80.0",
|
||||
"prettier": "^3.0.0",
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
"eslint": "^8.23.0",
|
||||
"jest": "^29.2.1",
|
||||
"memfs": "^4.0.0",
|
||||
"metro": "^0.76.5",
|
||||
"metro-source-map": "^0.76.8",
|
||||
"metro": "^0.80.0",
|
||||
"metro-source-map": "^0.80.0",
|
||||
"prettier": "^3.0.0",
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
"@types/semver": "^7.0.0",
|
||||
"eslint": "^8.23.0",
|
||||
"jest": "^29.2.1",
|
||||
"metro": "^0.76.5",
|
||||
"metro": "^0.80.0",
|
||||
"prettier": "^3.0.0"
|
||||
},
|
||||
"jest": {
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
"@types/node": "^20.0.0",
|
||||
"eslint": "^8.23.0",
|
||||
"jest": "^29.2.1",
|
||||
"metro-resolver": "^0.76.5",
|
||||
"metro-resolver": "^0.80.0",
|
||||
"prettier": "^3.0.0",
|
||||
"typescript": "^5.0.0"
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ function supportsRetryResolvingFromDisk(): boolean {
|
|||
const { version } = importMetroModule("/package.json");
|
||||
const [major, minor] = version.split(".");
|
||||
const v = major * 1000 + minor;
|
||||
return v >= 64 && v <= 78;
|
||||
return v >= 64 && v <= 80;
|
||||
}
|
||||
|
||||
export function shouldEnableRetryResolvingFromDisk({
|
||||
|
|
|
@ -3,6 +3,7 @@ const {
|
|||
makeMetroConfig,
|
||||
resolveUniqueModule,
|
||||
} = require("@rnx-kit/metro-config");
|
||||
const path = require("node:path");
|
||||
const { MetroSerializer, esbuildTransformerConfig } = require(".");
|
||||
|
||||
// Metro will pick up mocks if we don't exclude them
|
||||
|
@ -51,10 +52,9 @@ module.exports = makeMetroConfig({
|
|||
blockList,
|
||||
},
|
||||
serializer: {
|
||||
customSerializer: MetroSerializer([], {
|
||||
minify: false,
|
||||
}),
|
||||
customSerializer: MetroSerializer([], { minify: false }),
|
||||
getPolyfills: () => [],
|
||||
},
|
||||
transformer: esbuildTransformerConfig,
|
||||
watchFolders: [path.resolve("../../node_modules/.store")],
|
||||
});
|
||||
|
|
|
@ -32,7 +32,9 @@
|
|||
"@babel/core": "^7.20.0",
|
||||
"@babel/preset-env": "^7.20.0",
|
||||
"@fluentui/utilities": "8.13.9",
|
||||
"@react-native-community/cli-types": "^11.0.0",
|
||||
"@react-native-community/cli-types": "^12.3.0",
|
||||
"@react-native/babel-preset": "^0.73.0",
|
||||
"@react-native/metro-config": "^0.73.0",
|
||||
"@rnx-kit/babel-plugin-import-path-remapper": "*",
|
||||
"@rnx-kit/babel-preset-metro-react-native": "*",
|
||||
"@rnx-kit/eslint-config": "*",
|
||||
|
@ -47,13 +49,12 @@
|
|||
"eslint": "^8.23.0",
|
||||
"jest": "^29.2.1",
|
||||
"lodash-es": "^4.17.21",
|
||||
"metro": "^0.76.5",
|
||||
"metro-config": "^0.76.5",
|
||||
"metro-react-native-babel-preset": "^0.76.5",
|
||||
"metro-transform-worker": "^0.76.5",
|
||||
"metro": "^0.80.0",
|
||||
"metro-config": "^0.80.0",
|
||||
"metro-transform-worker": "^0.80.0",
|
||||
"prettier": "^3.0.0",
|
||||
"react": "18.2.0",
|
||||
"react-native": "^0.72.0",
|
||||
"react-native": "^0.73.0",
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
"depcheck": {
|
||||
|
|
|
@ -38,7 +38,7 @@ describe("metro-serializer-esbuild", () => {
|
|||
bundleOutput: ".test-output.jsbundle",
|
||||
dev,
|
||||
platform: "ios",
|
||||
resetCache: false,
|
||||
resetCache: true,
|
||||
resetGlobalCache: false,
|
||||
sourcemapOutput,
|
||||
sourcemapUseAbsolutePath: true,
|
||||
|
@ -46,9 +46,7 @@ describe("metro-serializer-esbuild", () => {
|
|||
},
|
||||
{
|
||||
root,
|
||||
reactNativePath: path.dirname(
|
||||
require.resolve("react-native/package.json")
|
||||
),
|
||||
reactNativePath: path.resolve(root, "node_modules", "react-native"),
|
||||
dependencies: {},
|
||||
commands: [],
|
||||
healthChecks: [],
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
"@types/semver": "^7.0.0",
|
||||
"eslint": "^8.23.0",
|
||||
"jest": "^29.2.1",
|
||||
"metro": "^0.76.5",
|
||||
"metro": "^0.80.0",
|
||||
"prettier": "^3.0.0",
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"@react-native-community/cli-types": "^11.0.0",
|
||||
"@react-native-community/cli-types": "^12.3.0",
|
||||
"@react-native/assets-registry": "^0.73.0",
|
||||
"@rnx-kit/eslint-config": "*",
|
||||
"@rnx-kit/jest-preset": "*",
|
||||
|
@ -57,14 +57,14 @@
|
|||
"@types/node": "^20.0.0",
|
||||
"@types/node-fetch": "^2.6.5",
|
||||
"eslint": "^8.23.0",
|
||||
"flow-remove-types": "~2.206.0",
|
||||
"flow-remove-types": "~2.228.0",
|
||||
"jest": "^29.2.1",
|
||||
"metro": "^0.76.5",
|
||||
"metro-config": "^0.76.5",
|
||||
"metro-core": "^0.76.5",
|
||||
"metro": "^0.80.0",
|
||||
"metro-config": "^0.80.0",
|
||||
"metro-core": "^0.80.0",
|
||||
"metro-react-native-babel-transformer": "^0.76.5",
|
||||
"metro-resolver": "^0.76.5",
|
||||
"metro-runtime": "^0.76.5",
|
||||
"metro-resolver": "^0.80.0",
|
||||
"metro-runtime": "^0.80.0",
|
||||
"prettier": "^3.0.0",
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
|
|
|
@ -33,7 +33,9 @@ buildscript {
|
|||
|
||||
dependencies {
|
||||
def androidPluginVersion = getExtProp("androidPluginVersion", "7.2.2")
|
||||
classpath("com.android.tools.build:gradle:${androidPluginVersion}")
|
||||
if (androidPluginVersion) {
|
||||
classpath("com.android.tools.build:gradle:${androidPluginVersion}")
|
||||
}
|
||||
|
||||
def kotlinVersion = getExtProp("kotlinVersion", "1.7.21")
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
|
||||
|
|
|
@ -36,14 +36,14 @@
|
|||
"devDependencies": {
|
||||
"@babel/core": "^7.20.0",
|
||||
"@babel/preset-env": "^7.20.0",
|
||||
"@react-native/metro-config": "^0.72.0",
|
||||
"@react-native/metro-config": "^0.73.0",
|
||||
"@rnx-kit/eslint-config": "*",
|
||||
"@rnx-kit/scripts": "*",
|
||||
"@rnx-kit/tsconfig": "*",
|
||||
"eslint": "^8.23.0",
|
||||
"prettier": "^3.0.0",
|
||||
"react": "18.2.0",
|
||||
"react-native": "^0.72.0",
|
||||
"react-native": "^0.73.0",
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
"rnx-kit": {
|
||||
|
@ -53,7 +53,7 @@
|
|||
],
|
||||
"requirements": {
|
||||
"development": [
|
||||
"react-native@0.72"
|
||||
"react-native@0.73"
|
||||
],
|
||||
"production": [
|
||||
"react-native@>=0.62 <1.0"
|
||||
|
|
Двоичный файл не отображается.
|
@ -1,5 +1,7 @@
|
|||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
# Darwin, MinGW, and NonStop.
|
||||
#
|
||||
# (3) This script is generated from the Groovy template
|
||||
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||
# within the Gradle project.
|
||||
#
|
||||
# You can find Gradle at https://github.com/gradle/gradle/.
|
||||
|
@ -80,13 +80,11 @@ do
|
|||
esac
|
||||
done
|
||||
|
||||
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
|
||||
|
||||
APP_NAME="Gradle"
|
||||
# This is normally unused
|
||||
# shellcheck disable=SC2034
|
||||
APP_BASE_NAME=${0##*/}
|
||||
|
||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
|
||||
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD=maximum
|
||||
|
@ -133,22 +131,29 @@ location of your Java installation."
|
|||
fi
|
||||
else
|
||||
JAVACMD=java
|
||||
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
if ! command -v java >/dev/null 2>&1
|
||||
then
|
||||
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
fi
|
||||
|
||||
# Increase the maximum file descriptors if we can.
|
||||
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
||||
case $MAX_FD in #(
|
||||
max*)
|
||||
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
|
||||
# shellcheck disable=SC2039,SC3045
|
||||
MAX_FD=$( ulimit -H -n ) ||
|
||||
warn "Could not query maximum file descriptor limit"
|
||||
esac
|
||||
case $MAX_FD in #(
|
||||
'' | soft) :;; #(
|
||||
*)
|
||||
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
|
||||
# shellcheck disable=SC2039,SC3045
|
||||
ulimit -n "$MAX_FD" ||
|
||||
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
||||
esac
|
||||
|
@ -193,11 +198,15 @@ if "$cygwin" || "$msys" ; then
|
|||
done
|
||||
fi
|
||||
|
||||
# Collect all arguments for the java command;
|
||||
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
|
||||
# shell script including quotes and variable substitutions, so put them in
|
||||
# double quotes to make sure that they get re-expanded; and
|
||||
# * put everything else in single quotes, so that it's not re-expanded.
|
||||
|
||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||
|
||||
# Collect all arguments for the java command:
|
||||
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
|
||||
# and any embedded shellness will be escaped.
|
||||
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
|
||||
# treated as '${Hostname}' itself on the command line.
|
||||
|
||||
set -- \
|
||||
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
||||
|
|
|
@ -26,6 +26,7 @@ if "%OS%"=="Windows_NT" setlocal
|
|||
|
||||
set DIRNAME=%~dp0
|
||||
if "%DIRNAME%"=="" set DIRNAME=.
|
||||
@rem This is normally unused
|
||||
set APP_BASE_NAME=%~n0
|
||||
set APP_HOME=%DIRNAME%
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ require_relative '../node_modules/react-native-test-app/test_app'
|
|||
workspace 'SampleCrossApp.xcworkspace'
|
||||
|
||||
options = {
|
||||
:bridgeless_enabled => false,
|
||||
:fabric_enabled => false,
|
||||
:hermes_enabled => false,
|
||||
}
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -26,9 +26,9 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"react": "18.2.0",
|
||||
"react-native": "^0.72.0",
|
||||
"react-native-macos": "^0.72.0",
|
||||
"react-native-windows": "^0.72.0"
|
||||
"react-native": "^0.73.0",
|
||||
"react-native-macos": "^0.73.0",
|
||||
"react-native-windows": "^0.73.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.20.0",
|
||||
|
@ -37,7 +37,8 @@
|
|||
"@babel/preset-env": "^7.20.0",
|
||||
"@babel/runtime": "^7.20.0",
|
||||
"@jridgewell/trace-mapping": "^0.3.18",
|
||||
"@react-native/metro-config": "^0.72.0",
|
||||
"@react-native/babel-preset": "^0.73.0",
|
||||
"@react-native/metro-config": "^0.73.0",
|
||||
"@rnx-kit/babel-preset-metro-react-native": "workspace:*",
|
||||
"@rnx-kit/cli": "workspace:*",
|
||||
"@rnx-kit/eslint-config": "workspace:*",
|
||||
|
@ -57,7 +58,6 @@
|
|||
"@types/react": "^18.0.0",
|
||||
"eslint": "^8.23.0",
|
||||
"jest": "^29.2.1",
|
||||
"metro-react-native-babel-preset": "^0.76.5",
|
||||
"prettier": "^3.0.0",
|
||||
"react-native-test-app": "^3.0.0",
|
||||
"react-test-renderer": "18.2.0",
|
||||
|
@ -188,7 +188,7 @@
|
|||
"@rnx-kit/scripts/align-deps-preset.cjs"
|
||||
],
|
||||
"requirements": [
|
||||
"react-native@0.72"
|
||||
"react-native@0.73"
|
||||
],
|
||||
"capabilities": [
|
||||
"core-android",
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
"@types/yargs": "^16.0.0",
|
||||
"eslint": "^8.23.0",
|
||||
"jest": "^29.2.1",
|
||||
"metro-source-map": "^0.76.8",
|
||||
"metro-source-map": "^0.80.0",
|
||||
"prettier": "^3.0.0",
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
|
|
|
@ -55,11 +55,11 @@
|
|||
"@types/node": "^20.0.0",
|
||||
"eslint": "^8.23.0",
|
||||
"jest": "^29.2.1",
|
||||
"metro": "^0.76.5",
|
||||
"metro-config": "^0.76.5",
|
||||
"metro-core": "^0.76.5",
|
||||
"metro-resolver": "^0.76.5",
|
||||
"metro-source-map": "^0.76.5",
|
||||
"metro": "^0.80.0",
|
||||
"metro-config": "^0.80.0",
|
||||
"metro-core": "^0.80.0",
|
||||
"metro-resolver": "^0.80.0",
|
||||
"metro-source-map": "^0.80.0",
|
||||
"prettier": "^3.0.0",
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
|
|
|
@ -8,7 +8,7 @@ cli({
|
|||
"microsoft/react-native",
|
||||
new URL("align-deps-preset.cjs", import.meta.url).pathname,
|
||||
],
|
||||
requirements: ["react-native@0.72"],
|
||||
requirements: ["react-native@0.73"],
|
||||
write: process.argv.includes("--write"),
|
||||
"exclude-packages": ["@rnx-kit/build", "@rnx-kit/metro-plugin-typescript"],
|
||||
});
|
||||
|
|
1360
yarn.lock
1360
yarn.lock
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче