Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions android/autolink.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -80,18 +80,18 @@ export function pickAndroidDependencies({ dependencies }) {
/** @type {AndroidDependencies} */
const result = {};
for (const dependency of Object.values(dependencies)) {
const projectDir = dependency.platforms.android?.sourceDir;
const { android } = dependency.platforms;
const projectDir = android?.sourceDir;
if (projectDir) {
const name = ":" + cleanDependencyName(dependency.name);

/** @type {AndroidDependencies[string]["configurations"]} */
const configurations = [];
const dependencyConfiguration =
dependency.platforms?.android?.dependencyConfiguration;
const dependencyConfiguration = android.dependencyConfiguration;
if (dependencyConfiguration) {
configurations.push(dependencyConfiguration);
} else {
const buildTypes = dependency.platforms?.android?.buildTypes ?? [];
const buildTypes = android.buildTypes ?? [];
if (buildTypes.length === 0) {
configurations.push("implementation");
} else {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"fast-xml-parser": "^4.0.0",
"prompts": "^2.4.0",
"semver": "^7.3.5",
"uuid": "^9.0.0"
"uuid": "^10.0.0"
},
"peerDependencies": {
"@callstack/react-native-visionos": "0.73 - 0.74",
Expand Down Expand Up @@ -137,7 +137,7 @@
"@types/node": "^20.0.0",
"@types/prompts": "~2.4.0",
"@types/semver": "^7.3.6",
"@types/uuid": "^9.0.0",
"@types/uuid": "^10.0.0",
"eslint": "^8.56.0",
"eslint-plugin-wdio": "^8.20.0",
"js-yaml": "^4.1.0",
Expand Down
13 changes: 3 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4174,20 +4174,13 @@ __metadata:
languageName: node
linkType: hard

"@types/uuid@npm:10.0.0":
"@types/uuid@npm:10.0.0, @types/uuid@npm:^10.0.0":
version: 10.0.0
resolution: "@types/uuid@npm:10.0.0"
checksum: 10c0/9a1404bf287164481cb9b97f6bb638f78f955be57c40c6513b7655160beb29df6f84c915aaf4089a1559c216557dc4d2f79b48d978742d3ae10b937420ddac60
languageName: node
linkType: hard

"@types/uuid@npm:^9.0.0":
version: 9.0.8
resolution: "@types/uuid@npm:9.0.8"
checksum: 10c0/b411b93054cb1d4361919579ef3508a1f12bf15b5fdd97337d3d351bece6c921b52b6daeef89b62340fd73fd60da407878432a1af777f40648cbe53a01723489
languageName: node
linkType: hard

"@types/which@npm:3.0.4":
version: 3.0.4
resolution: "@types/which@npm:3.0.4"
Expand Down Expand Up @@ -12448,7 +12441,7 @@ __metadata:
"@types/node": "npm:^20.0.0"
"@types/prompts": "npm:~2.4.0"
"@types/semver": "npm:^7.3.6"
"@types/uuid": "npm:^9.0.0"
"@types/uuid": "npm:^10.0.0"
ajv: "npm:^8.0.0"
cliui: "npm:^8.0.0"
eslint: "npm:^8.56.0"
Expand All @@ -12468,7 +12461,7 @@ __metadata:
suggestion-bot: "npm:^3.0.0"
tsx: "npm:^4.16.2"
typescript: "npm:^5.0.0"
uuid: "npm:^9.0.0"
uuid: "npm:^10.0.0"
peerDependencies:
"@callstack/react-native-visionos": 0.73 - 0.74
"@expo/config-plugins": ">=5.0"
Expand Down