Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): sync device tool license versions with installer pins #18121

MergedYash-Singh1(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/18121/headmerged by Yash-Singh1(GitHub profile, opens in a new tab) View on GitHub

Showing 7 changed files with 12 additions and 2 deletions (loading 4).

x
0 of 7 viewed, 7 left
3 additions and 2 deletionsapps/server/src/device/DeviceToolchain.tsModified
View file
@@ -1,4 +1,5 @@
import type { DeviceToolVersions } from "@t3tools/contracts";
+import { DEVICE_TOOL_VERSIONS } from "@t3tools/shared/deviceToolVersions";
/**
* Pinned installs of the two external tools device support is built on.
*
@@ -26,9 +27,9 @@
import * as ProcessRunner from "../processRunner.ts";
​
const DEVICE_HUB_PACKAGE = "expo-device-hub";
-export const DEVICE_HUB_VERSION = "0.15.3";
+export const DEVICE_HUB_VERSION = DEVICE_TOOL_VERSIONS[DEVICE_HUB_PACKAGE];
const AGENT_DEVICE_PACKAGE = "agent-device";
-export const AGENT_DEVICE_VERSION = "0.21.24";
+export const AGENT_DEVICE_VERSION = DEVICE_TOOL_VERSIONS[AGENT_DEVICE_PACKAGE];
​
const INSTALL_TIMEOUT = Duration.minutes(10);
const installLock = Semaphore.makeUnsafe(1);
4 additions and 0 deletionsdocs/internals/open-source-licenses.mdModified
View file
@@ -60,6 +60,10 @@
supplies the label shown to users. Use `includeInBundles` when those differ, such as an optional
server tool that should appear in both client manifests but is not bundled into either client.
​
+The `agent-device` and `expo-device-hub` custom notices take their versions from the
+[shared installer pins](../../packages/shared/src/deviceToolVersions.ts). Keep their package names
+in the config; their versions do not need manual updates.
+​