更新依赖

This commit is contained in:
lyswhut 2024-02-20 21:49:35 +08:00
parent fb7c6c913e
commit a1c0a62d3f
3 changed files with 27 additions and 74 deletions

View File

@ -6,51 +6,6 @@ const path = require('node:path')
const rootPath = path.join(__dirname, './') const rootPath = path.join(__dirname, './')
const patchs = [ const patchs = [
[
path.join(rootPath, './node_modules/react-native-navigation/lib/android/app/build.gradle'),
`
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8
}`,
'',
],
[
path.join(rootPath, './node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/stack/topbar/button/ButtonPresenter.kt'),
`override fun onInitializeAccessibilityNodeInfo(
host: View?,
info: AccessibilityNodeInfoCompat?
) {
super.onInitializeAccessibilityNodeInfo(host, info)
// Expose the testID prop as the resource-id name of the view. Black-box E2E/UI testing
// frameworks, which interact with the UI through the accessibility framework, do not have
// access to view tags. This allows developers/testers to avoid polluting the
// content-description with test identifiers.
val testId = host?.tag as String?
if(testId != null){
info!!.viewIdResourceName = testId
}
}`,
`override fun onInitializeAccessibilityNodeInfo(
host: View,
info: AccessibilityNodeInfoCompat
) {
super.onInitializeAccessibilityNodeInfo(host, info)
// Expose the testID prop as the resource-id name of the view. Black-box E2E/UI testing
// frameworks, which interact with the UI through the accessibility framework, do not have
// access to view tags. This allows developers/testers to avoid polluting the
// content-description with test identifiers.
val testId = host.tag as String?
if(testId != null){
info.viewIdResourceName = testId
}
}`,
],
] ]
;(async() => { ;(async() => {

47
package-lock.json generated
View File

@ -1,17 +1,16 @@
{ {
"name": "lx-music-mobile", "name": "lx-music-mobile",
"version": "1.2.0", "version": "1.2.1-beta.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "lx-music-mobile", "name": "lx-music-mobile",
"version": "1.2.0", "version": "1.2.1-beta.0",
"hasInstallScript": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@craftzdog/react-native-buffer": "^6.0.5", "@craftzdog/react-native-buffer": "^6.0.5",
"@react-native-async-storage/async-storage": "^1.21.0", "@react-native-async-storage/async-storage": "^1.22.0",
"@react-native-clipboard/clipboard": "^1.13.2", "@react-native-clipboard/clipboard": "^1.13.2",
"@react-native-community/slider": "^4.5.0", "@react-native-community/slider": "^4.5.0",
"iconv-lite": "^0.6.3", "iconv-lite": "^0.6.3",
@ -26,7 +25,7 @@
"react-native-file-system": "github:lyswhut/react-native-file-system#cb3b807ac68c5cdb2c32ca10fdbb5e5209154ece", "react-native-file-system": "github:lyswhut/react-native-file-system#cb3b807ac68c5cdb2c32ca10fdbb5e5209154ece",
"react-native-fs": "^2.20.0", "react-native-fs": "^2.20.0",
"react-native-local-media-metadata": "github:lyswhut/react-native-local-media-metadata#c8377d82c04aecf5ee79d446276ab9d0c1f167be", "react-native-local-media-metadata": "github:lyswhut/react-native-local-media-metadata#c8377d82c04aecf5ee79d446276ab9d0c1f167be",
"react-native-navigation": "^7.37.2", "react-native-navigation": "^7.38.1",
"react-native-pager-view": "^6.2.3", "react-native-pager-view": "^6.2.3",
"react-native-quick-base64": "^2.0.8", "react-native-quick-base64": "^2.0.8",
"react-native-quick-md5": "^3.0.6", "react-native-quick-md5": "^3.0.6",
@ -43,7 +42,7 @@
"@react-native/metro-config": "^0.73.5", "@react-native/metro-config": "^0.73.5",
"@react-native/typescript-config": "^0.74.0", "@react-native/typescript-config": "^0.74.0",
"@tsconfig/react-native": "^3.0.3", "@tsconfig/react-native": "^3.0.3",
"@types/react": "^18.2.55", "@types/react": "^18.2.57",
"@types/react-native": "^0.72.8", "@types/react-native": "^0.72.8",
"@types/react-native-background-timer": "^2.0.2", "@types/react-native-background-timer": "^2.0.2",
"@types/react-native-vector-icons": "^6.4.18", "@types/react-native-vector-icons": "^6.4.18",
@ -2568,9 +2567,9 @@
} }
}, },
"node_modules/@react-native-async-storage/async-storage": { "node_modules/@react-native-async-storage/async-storage": {
"version": "1.21.0", "version": "1.22.0",
"resolved": "https://registry.npmjs.org/@react-native-async-storage/async-storage/-/async-storage-1.21.0.tgz", "resolved": "https://registry.npmjs.org/@react-native-async-storage/async-storage/-/async-storage-1.22.0.tgz",
"integrity": "sha512-JL0w36KuFHFCvnbOXRekqVAUplmOyT/OuCQkogo6X98MtpSaJOKEAeZnYO8JB0U/RIEixZaGI5px73YbRm/oag==", "integrity": "sha512-b5KD010iiZnot86RbAaHpLuHwmPW2qA3SSN/OSZhd1kBoINEQEVBuv+uFtcaTxAhX27bT0wd13GOb2IOSDUXSA==",
"dependencies": { "dependencies": {
"merge-options": "^3.0.4" "merge-options": "^3.0.4"
}, },
@ -3402,9 +3401,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@types/react": { "node_modules/@types/react": {
"version": "18.2.55", "version": "18.2.57",
"resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.55.tgz", "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.57.tgz",
"integrity": "sha512-Y2Tz5P4yz23brwm2d7jNon39qoAtMMmalOQv6+fEFt1mT+FcM3D841wDpoUvFXhaYenuROCy3FZYqdTjM7qVyA==", "integrity": "sha512-ZvQsktJgSYrQiMirAN60y4O/LRevIV8hUzSOSNB6gfR3/o3wCBFQx3sPwIYtuDMeiVgsSS3UzCV26tEzgnfvQw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@types/prop-types": "*", "@types/prop-types": "*",
@ -8933,9 +8932,9 @@
} }
}, },
"node_modules/react-native-navigation": { "node_modules/react-native-navigation": {
"version": "7.37.2", "version": "7.38.1",
"resolved": "https://registry.npmjs.org/react-native-navigation/-/react-native-navigation-7.37.2.tgz", "resolved": "https://registry.npmjs.org/react-native-navigation/-/react-native-navigation-7.38.1.tgz",
"integrity": "sha512-DrF057o6JDzkSUF3Bas2AJKTC4k+xEJirrmntdJON/wV6kZ5e2BfOxRX0KUjtDpf7bcPs0KciuDb3rokFWmvqQ==", "integrity": "sha512-NMGXJjSWe9qfWRjuvWODV+egUYkQ6Emx4MMF/Ccf0LtikgfYzIUPm5vXXPW/BVEk24PGO1CDUFCVYAZmERZtdQ==",
"dependencies": { "dependencies": {
"hoist-non-react-statics": "3.x.x", "hoist-non-react-statics": "3.x.x",
"lodash": "4.17.x", "lodash": "4.17.x",
@ -12334,9 +12333,9 @@
} }
}, },
"@react-native-async-storage/async-storage": { "@react-native-async-storage/async-storage": {
"version": "1.21.0", "version": "1.22.0",
"resolved": "https://registry.npmjs.org/@react-native-async-storage/async-storage/-/async-storage-1.21.0.tgz", "resolved": "https://registry.npmjs.org/@react-native-async-storage/async-storage/-/async-storage-1.22.0.tgz",
"integrity": "sha512-JL0w36KuFHFCvnbOXRekqVAUplmOyT/OuCQkogo6X98MtpSaJOKEAeZnYO8JB0U/RIEixZaGI5px73YbRm/oag==", "integrity": "sha512-b5KD010iiZnot86RbAaHpLuHwmPW2qA3SSN/OSZhd1kBoINEQEVBuv+uFtcaTxAhX27bT0wd13GOb2IOSDUXSA==",
"requires": { "requires": {
"merge-options": "^3.0.4" "merge-options": "^3.0.4"
} }
@ -13031,9 +13030,9 @@
"dev": true "dev": true
}, },
"@types/react": { "@types/react": {
"version": "18.2.55", "version": "18.2.57",
"resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.55.tgz", "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.57.tgz",
"integrity": "sha512-Y2Tz5P4yz23brwm2d7jNon39qoAtMMmalOQv6+fEFt1mT+FcM3D841wDpoUvFXhaYenuROCy3FZYqdTjM7qVyA==", "integrity": "sha512-ZvQsktJgSYrQiMirAN60y4O/LRevIV8hUzSOSNB6gfR3/o3wCBFQx3sPwIYtuDMeiVgsSS3UzCV26tEzgnfvQw==",
"dev": true, "dev": true,
"requires": { "requires": {
"@types/prop-types": "*", "@types/prop-types": "*",
@ -17050,9 +17049,9 @@
"requires": {} "requires": {}
}, },
"react-native-navigation": { "react-native-navigation": {
"version": "7.37.2", "version": "7.38.1",
"resolved": "https://registry.npmjs.org/react-native-navigation/-/react-native-navigation-7.37.2.tgz", "resolved": "https://registry.npmjs.org/react-native-navigation/-/react-native-navigation-7.38.1.tgz",
"integrity": "sha512-DrF057o6JDzkSUF3Bas2AJKTC4k+xEJirrmntdJON/wV6kZ5e2BfOxRX0KUjtDpf7bcPs0KciuDb3rokFWmvqQ==", "integrity": "sha512-NMGXJjSWe9qfWRjuvWODV+egUYkQ6Emx4MMF/Ccf0LtikgfYzIUPm5vXXPW/BVEk24PGO1CDUFCVYAZmERZtdQ==",
"requires": { "requires": {
"hoist-non-react-statics": "3.x.x", "hoist-non-react-statics": "3.x.x",
"lodash": "4.17.x", "lodash": "4.17.x",

View File

@ -1,6 +1,6 @@
{ {
"name": "lx-music-mobile", "name": "lx-music-mobile",
"version": "1.2.0", "version": "1.2.1-beta.0",
"versionCode": 63, "versionCode": 63,
"private": true, "private": true,
"scripts": { "scripts": {
@ -19,7 +19,6 @@
"clear": "cd android && gradlew.bat clean", "clear": "cd android && gradlew.bat clean",
"clear:full": "git clean -fdx -e android/keystore.properties -e android/app/*.keystore", "clear:full": "git clean -fdx -e android/keystore.properties -e android/app/*.keystore",
"build:theme": "node src/theme/themes/createThemes.js", "build:theme": "node src/theme/themes/createThemes.js",
"postinstall": "node ./dependencies-patch.js",
"publish": "node publish" "publish": "node publish"
}, },
"engines": { "engines": {
@ -45,7 +44,7 @@
"homepage": "https://github.com/lyswhut/lx-music-mobile#readme", "homepage": "https://github.com/lyswhut/lx-music-mobile#readme",
"dependencies": { "dependencies": {
"@craftzdog/react-native-buffer": "^6.0.5", "@craftzdog/react-native-buffer": "^6.0.5",
"@react-native-async-storage/async-storage": "^1.21.0", "@react-native-async-storage/async-storage": "^1.22.0",
"@react-native-clipboard/clipboard": "^1.13.2", "@react-native-clipboard/clipboard": "^1.13.2",
"@react-native-community/slider": "^4.5.0", "@react-native-community/slider": "^4.5.0",
"iconv-lite": "^0.6.3", "iconv-lite": "^0.6.3",
@ -60,7 +59,7 @@
"react-native-file-system": "github:lyswhut/react-native-file-system#cb3b807ac68c5cdb2c32ca10fdbb5e5209154ece", "react-native-file-system": "github:lyswhut/react-native-file-system#cb3b807ac68c5cdb2c32ca10fdbb5e5209154ece",
"react-native-fs": "^2.20.0", "react-native-fs": "^2.20.0",
"react-native-local-media-metadata": "github:lyswhut/react-native-local-media-metadata#c8377d82c04aecf5ee79d446276ab9d0c1f167be", "react-native-local-media-metadata": "github:lyswhut/react-native-local-media-metadata#c8377d82c04aecf5ee79d446276ab9d0c1f167be",
"react-native-navigation": "^7.37.2", "react-native-navigation": "^7.38.1",
"react-native-pager-view": "^6.2.3", "react-native-pager-view": "^6.2.3",
"react-native-quick-base64": "^2.0.8", "react-native-quick-base64": "^2.0.8",
"react-native-quick-md5": "^3.0.6", "react-native-quick-md5": "^3.0.6",
@ -77,7 +76,7 @@
"@react-native/metro-config": "^0.73.5", "@react-native/metro-config": "^0.73.5",
"@react-native/typescript-config": "^0.74.0", "@react-native/typescript-config": "^0.74.0",
"@tsconfig/react-native": "^3.0.3", "@tsconfig/react-native": "^3.0.3",
"@types/react": "^18.2.55", "@types/react": "^18.2.57",
"@types/react-native": "^0.72.8", "@types/react-native": "^0.72.8",
"@types/react-native-background-timer": "^2.0.2", "@types/react-native-background-timer": "^2.0.2",
"@types/react-native-vector-icons": "^6.4.18", "@types/react-native-vector-icons": "^6.4.18",