@swmansion/argent 0.33.1-next.21 → 0.33.1-next.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli-cmds.mjs +1 -1
- package/dist/installer.mjs +1 -1
- package/dist/tool-server.cjs +29 -9
- package/package.json +1 -1
package/dist/cli-cmds.mjs
CHANGED
|
@@ -36069,7 +36069,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
36069
36069
|
var SESSION_ID2 = randomUUID5();
|
|
36070
36070
|
function readCliVersion() {
|
|
36071
36071
|
if (true) {
|
|
36072
|
-
return "0.33.1-next.
|
|
36072
|
+
return "0.33.1-next.22";
|
|
36073
36073
|
}
|
|
36074
36074
|
return "0.0.0";
|
|
36075
36075
|
}
|
package/dist/installer.mjs
CHANGED
|
@@ -16986,7 +16986,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
16986
16986
|
var SESSION_ID = randomUUID4();
|
|
16987
16987
|
function readCliVersion() {
|
|
16988
16988
|
if (true) {
|
|
16989
|
-
return "0.33.1-next.
|
|
16989
|
+
return "0.33.1-next.22";
|
|
16990
16990
|
}
|
|
16991
16991
|
return "0.0.0";
|
|
16992
16992
|
}
|
package/dist/tool-server.cjs
CHANGED
|
@@ -101278,7 +101278,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
101278
101278
|
var SESSION_ID = (0, import_node_crypto3.randomUUID)();
|
|
101279
101279
|
function readCliVersion() {
|
|
101280
101280
|
if (true) {
|
|
101281
|
-
return "0.33.1-next.
|
|
101281
|
+
return "0.33.1-next.22";
|
|
101282
101282
|
}
|
|
101283
101283
|
return "0.0.0";
|
|
101284
101284
|
}
|
|
@@ -133748,7 +133748,15 @@ function resolveRunnerProjectPath() {
|
|
|
133748
133748
|
}
|
|
133749
133749
|
);
|
|
133750
133750
|
}
|
|
133751
|
-
var FINGERPRINT_NOISE = /* @__PURE__ */ new Set([
|
|
133751
|
+
var FINGERPRINT_NOISE = /* @__PURE__ */ new Set([
|
|
133752
|
+
"xcuserdata",
|
|
133753
|
+
"DerivedData",
|
|
133754
|
+
"build",
|
|
133755
|
+
"Build",
|
|
133756
|
+
".build",
|
|
133757
|
+
".swiftpm",
|
|
133758
|
+
".DS_Store"
|
|
133759
|
+
]);
|
|
133752
133760
|
async function fingerprintRunnerSources(projectPath) {
|
|
133753
133761
|
const root = path27.dirname(projectPath);
|
|
133754
133762
|
const hash2 = (0, import_node_crypto9.createHash)("sha256");
|
|
@@ -133797,8 +133805,11 @@ async function removeBuildSharedByAllTeams(currentTeamId) {
|
|
|
133797
133805
|
entries.filter((entry) => entry !== currentTeamId && !TEAM_DIRECTORY_RE.test(entry)).map((entry) => fsp.rm(path27.join(root, entry), { recursive: true, force: true }))
|
|
133798
133806
|
);
|
|
133799
133807
|
}
|
|
133808
|
+
function runnerProductsDir(derivedDataPath) {
|
|
133809
|
+
return path27.join(derivedDataPath, "Build", "Products");
|
|
133810
|
+
}
|
|
133800
133811
|
function findBaseXctestrun(derivedDataPath) {
|
|
133801
|
-
const productsDir =
|
|
133812
|
+
const productsDir = runnerProductsDir(derivedDataPath);
|
|
133802
133813
|
if (!fs31.existsSync(productsDir)) {
|
|
133803
133814
|
return null;
|
|
133804
133815
|
}
|
|
@@ -133844,6 +133855,18 @@ function runnerBuildStaticArgs(projectPath, config2) {
|
|
|
133844
133855
|
`DEVELOPMENT_TEAM=${config2.teamId}`
|
|
133845
133856
|
];
|
|
133846
133857
|
}
|
|
133858
|
+
function runnerBuildLocationArgs(derivedDataPath) {
|
|
133859
|
+
const root = path27.resolve(derivedDataPath);
|
|
133860
|
+
const intermediatesDir = path27.join(root, "Build", "Intermediates.noindex");
|
|
133861
|
+
return [
|
|
133862
|
+
"-derivedDataPath",
|
|
133863
|
+
derivedDataPath,
|
|
133864
|
+
`SYMROOT=${runnerProductsDir(root)}`,
|
|
133865
|
+
`OBJROOT=${intermediatesDir}`,
|
|
133866
|
+
// Set from the same preference, and OBJROOT does not move it.
|
|
133867
|
+
`SHARED_PRECOMPS_DIR=${path27.join(intermediatesDir, "PrecompiledHeaders")}`
|
|
133868
|
+
];
|
|
133869
|
+
}
|
|
133847
133870
|
function computeRunnerCacheKey(sourcesHash, xcodeVersion, staticArgs) {
|
|
133848
133871
|
return (0, import_node_crypto9.createHash)("sha256").update([sourcesHash, xcodeVersion, ...staticArgs].join("\n")).digest("hex").slice(0, 16);
|
|
133849
133872
|
}
|
|
@@ -133857,9 +133880,7 @@ var EXPIRY_RE = /<key>ExpirationDate<\/key>\s*<date>([^<]+)<\/date>/;
|
|
|
133857
133880
|
var PROFILE_RENEWAL_MARGIN_MS = 60 * 60 * 1e3;
|
|
133858
133881
|
async function readRunnerExpiryDate(derivedDataPath) {
|
|
133859
133882
|
const file2 = path27.join(
|
|
133860
|
-
derivedDataPath,
|
|
133861
|
-
"Build",
|
|
133862
|
-
"Products",
|
|
133883
|
+
runnerProductsDir(derivedDataPath),
|
|
133863
133884
|
"Debug-iphoneos",
|
|
133864
133885
|
"ArgentRunnerUITests-Runner.app",
|
|
133865
133886
|
"embedded.mobileprovision"
|
|
@@ -133920,8 +133941,7 @@ async function buildRunnerArtifact(derivedDataPath, staticArgs, destinationUdid,
|
|
|
133920
133941
|
"-destination",
|
|
133921
133942
|
// A concrete UDID lets automatic signing register that device on the profile.
|
|
133922
133943
|
destinationUdid ? `platform=iOS,id=${destinationUdid}` : "generic/platform=iOS",
|
|
133923
|
-
|
|
133924
|
-
derivedDataPath
|
|
133944
|
+
...runnerBuildLocationArgs(derivedDataPath)
|
|
133925
133945
|
];
|
|
133926
133946
|
try {
|
|
133927
133947
|
await execFileAsync18("xcodebuild", args, {
|
|
@@ -133954,7 +133974,7 @@ ${xcodebuildFailureSummary(output2)}`,
|
|
|
133954
133974
|
if (!built) {
|
|
133955
133975
|
throw withFailureSignal(
|
|
133956
133976
|
new Error(
|
|
133957
|
-
`xcodebuild reported success but no iphoneos .xctestrun was found under ${derivedDataPath}
|
|
133977
|
+
`xcodebuild reported success but no iphoneos .xctestrun was found under ${runnerProductsDir(derivedDataPath)}.`
|
|
133958
133978
|
),
|
|
133959
133979
|
{
|
|
133960
133980
|
error_code: FAILURE_CODES.IOS_DEVICE_RUNNER_NOT_READY,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swmansion/argent",
|
|
3
|
-
"version": "0.33.1-next.
|
|
3
|
+
"version": "0.33.1-next.22",
|
|
4
4
|
"mcpName": "io.github.software-mansion/argent",
|
|
5
5
|
"description": "MCP server for iOS Simulator, Android Emulator, Chromium app and Mac app control",
|
|
6
6
|
"license": "Apache-2.0",
|