Skip to content
Open
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
18 changes: 18 additions & 0 deletions .yarn/patches/@appium-base-driver-npm-10.7.1-e4f8d93069.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
diff --git a/build/lib/test-pages/static-dir.js b/build/lib/test-pages/static-dir.js
index 598d6657274a371956f2c423da57bd702316982c..e703eb4f7f0bd92f26913a1ace9a1ae030d6e970 100644
--- a/build/lib/test-pages/static-dir.js
+++ b/build/lib/test-pages/static-dir.js
@@ -13,12 +13,6 @@ const node_path_1 = __importDefault(require("node:path"));
*/
exports.TEST_FIXTURES_DIR = resolveTestFixturesDir();
function resolveTestFixturesDir() {
- const fromDir = __dirname;
- const parts = node_path_1.default.resolve(fromDir).split(node_path_1.default.sep);
- const baseDriverIndex = parts.indexOf('base-driver');
- if (baseDriverIndex < 0) {
- throw new Error(`Could not find the module root folder in the path: ${fromDir}`);
- }
- return node_path_1.default.join(parts.slice(0, baseDriverIndex + 1).join(node_path_1.default.sep), 'test-fixtures', 'static');
+ return node_path_1.default.resolve(__dirname, '..', '..', '..', 'test-fixtures', 'static');
}
//# sourceMappingURL=static-dir.js.map
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ logFilters:
- code: YN0069 # This rule seems redundant when applied on the original package
level: error
nodeLinker: pnpm
npmMinimalAgeGate: 7d
#npmMinimalAgeGate: 7d
npmRegistryServer: "https://registry.npmjs.org"
packageExtensions:
appium@3:
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@
"@appium/base-driver/axios": "^1.18.0",
"@appium/base-driver/lru-cache": "^11.5.1",
"@appium/base-driver/path-to-regexp": "^8.4.2",
"@appium/base-driver@npm:10.7.1": "patch:@appium/base-driver@npm%3A10.7.1#~/.yarn/patches/@appium-base-driver-npm-10.7.1-e4f8d93069.patch",
"@appium/base-driver@npm:^10.0.0-rc.1": "patch:@appium/base-driver@npm%3A10.7.1#~/.yarn/patches/@appium-base-driver-npm-10.7.1-e4f8d93069.patch",
"@appium/base-driver@npm:^10.0.0-rc.2": "patch:@appium/base-driver@npm%3A10.7.1#~/.yarn/patches/@appium-base-driver-npm-10.7.1-e4f8d93069.patch",
"@appium/base-driver@npm:^10.3.0": "patch:@appium/base-driver@npm%3A10.7.1#~/.yarn/patches/@appium-base-driver-npm-10.7.1-e4f8d93069.patch",
"@appium/docutils": "ignore:",
"@appium/logger/lru-cache": "^11.5.1",
"@appium/support/archiver": "~8.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"@callstack/react-native-visionos": "0.76 - 0.79",
"@expo/config-plugins": ">=5.0",
"react": "18.2 - 19.2",
"react-native": "0.76 - 0.86 || >=0.86.0-0 <0.87.0",
"react-native": "0.76 - 0.87 || >=0.88.0-0 <0.88.0",
"react-native-macos": "^0.0.0-0 || 0.76 - 0.81",
"react-native-windows": "^0.0.0-0 || 0.76 - 0.83"
},
Expand Down
16 changes: 11 additions & 5 deletions packages/app/scripts/internal/set-react-version.mts
Original file line number Diff line number Diff line change
Expand Up @@ -85,17 +85,23 @@ function fetchPackageInfo(pkg: string, version: string): Promise<Manifest> {
/**
* Fetches the template manifest for the specified React Native version.
*/
function fetchTemplateManifest(version: string): Promise<Manifest> {
async function fetchTemplateManifest(version: string): Promise<Manifest> {
const url = `https://raw.githubusercontent.com/react-native-community/template/refs/heads/${version}-stable/template/package.json`;
console.log(`Fetching template manifest from ${url}`);
return fetch(url, {
const res = await fetch(url, {
headers: {
Accept:
"application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*",
},
})
.then((res) => res.text())
.then((text) => JSON.parse(text));
});

const body = await res.text();
if (res.status !== 200) {
console.error(`Failed to fetch template: ${body}`);
return { name: "", version: "" };
}

return JSON.parse(body);
}

/**
Expand Down
31 changes: 29 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ __metadata:
version: 8
cacheKey: 10c0

"@appium/base-driver@npm:10.7.1, @appium/base-driver@npm:^10.0.0-rc.1, @appium/base-driver@npm:^10.0.0-rc.2, @appium/base-driver@npm:^10.3.0":
"@appium/base-driver@npm:10.7.1":
version: 10.7.1
resolution: "@appium/base-driver@npm:10.7.1"
dependencies:
Expand All @@ -32,6 +32,33 @@ __metadata:
languageName: node
linkType: hard

"@appium/base-driver@patch:@appium/base-driver@npm%3A10.7.1#~/.yarn/patches/@appium-base-driver-npm-10.7.1-e4f8d93069.patch":
version: 10.7.1
resolution: "@appium/base-driver@patch:@appium/base-driver@npm%3A10.7.1#~/.yarn/patches/@appium-base-driver-npm-10.7.1-e4f8d93069.patch::version=10.7.1&hash=7288fd"
dependencies:
"@appium/support": "npm:7.2.5"
"@appium/types": "npm:1.5.1"
async-lock: "npm:1.4.1"
asyncbox: "npm:6.3.0"
axios: "npm:1.18.0"
body-parser: "npm:2.2.2"
express: "npm:5.2.1"
fastest-levenshtein: "npm:1.0.16"
http-status-codes: "npm:2.3.0"
lru-cache: "npm:11.5.1"
method-override: "npm:3.0.0"
morgan: "npm:1.11.0"
path-to-regexp: "npm:8.4.2"
serve-favicon: "npm:2.5.1"
spdy: "npm:4.0.2"
type-fest: "npm:5.7.0"
dependenciesMeta:
spdy:
optional: true
checksum: 10c0/1698d5aefcdeba3b50be2c3ce977233352338c8cd8bf336735b67e651f166a026f7b9711db8d0cb5b59439144bb400906ab8d22e74e0b2450c51f342c39394d0
languageName: node
linkType: hard

"@appium/base-plugin@npm:3.3.2":
version: 3.3.2
resolution: "@appium/base-plugin@npm:3.3.2"
Expand Down Expand Up @@ -13302,7 +13329,7 @@ __metadata:
"@callstack/react-native-visionos": 0.76 - 0.79
"@expo/config-plugins": ">=5.0"
react: 18.2 - 19.2
react-native: 0.76 - 0.86 || >=0.86.0-0 <0.87.0
react-native: 0.76 - 0.87 || >=0.88.0-0 <0.88.0
react-native-macos: ^0.0.0-0 || 0.76 - 0.81
react-native-windows: ^0.0.0-0 || 0.76 - 0.83
peerDependenciesMeta:
Expand Down
Loading