@swmansion/argent 0.25.1-next.23 → 0.25.1-next.25
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 +7 -2
- package/dist/tool-server.cjs +3 -3
- package/package.json +1 -1
package/dist/cli-cmds.mjs
CHANGED
|
@@ -21857,7 +21857,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
21857
21857
|
var SESSION_ID2 = randomUUID5();
|
|
21858
21858
|
function readCliVersion() {
|
|
21859
21859
|
if (true) {
|
|
21860
|
-
return "0.25.1-next.
|
|
21860
|
+
return "0.25.1-next.25";
|
|
21861
21861
|
}
|
|
21862
21862
|
return "0.0.0";
|
|
21863
21863
|
}
|
package/dist/installer.mjs
CHANGED
|
@@ -16710,7 +16710,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
16710
16710
|
var SESSION_ID = randomUUID4();
|
|
16711
16711
|
function readCliVersion() {
|
|
16712
16712
|
if (true) {
|
|
16713
|
-
return "0.25.1-next.
|
|
16713
|
+
return "0.25.1-next.25";
|
|
16714
16714
|
}
|
|
16715
16715
|
return "0.0.0";
|
|
16716
16716
|
}
|
|
@@ -19581,6 +19581,9 @@ function formatShellCommand(cmd) {
|
|
|
19581
19581
|
const parts = [cmd.bin, ...cmd.args.map((a3) => a3.includes(" ") ? `"${a3}"` : a3)];
|
|
19582
19582
|
return parts.join(" ");
|
|
19583
19583
|
}
|
|
19584
|
+
function shellQuotePath(dir) {
|
|
19585
|
+
return "'" + dir.split("'").join("'\\''") + "'";
|
|
19586
|
+
}
|
|
19584
19587
|
function detectPackageManager() {
|
|
19585
19588
|
const agent = process.env.npm_config_user_agent ?? "";
|
|
19586
19589
|
if (agent.startsWith("yarn")) return "yarn";
|
|
@@ -22107,7 +22110,9 @@ async function installLocally(opts) {
|
|
|
22107
22110
|
log.error(
|
|
22108
22111
|
installError ? `${installError}` : `The install reported success but ${import_picocolors3.default.cyan(PACKAGE_NAME)} is not in node_modules.`
|
|
22109
22112
|
);
|
|
22110
|
-
log.info(
|
|
22113
|
+
log.info(
|
|
22114
|
+
`Install manually with: ${import_picocolors3.default.cyan(`cd ${shellQuotePath(projectRoot)} && ${cmdStr}`)}`
|
|
22115
|
+
);
|
|
22111
22116
|
}
|
|
22112
22117
|
await tel.trackPackageAction(
|
|
22113
22118
|
"fresh_install",
|
package/dist/tool-server.cjs
CHANGED
|
@@ -94704,7 +94704,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
94704
94704
|
var SESSION_ID = (0, import_node_crypto3.randomUUID)();
|
|
94705
94705
|
function readCliVersion() {
|
|
94706
94706
|
if (true) {
|
|
94707
|
-
return "0.25.1-next.
|
|
94707
|
+
return "0.25.1-next.25";
|
|
94708
94708
|
}
|
|
94709
94709
|
return "0.0.0";
|
|
94710
94710
|
}
|
|
@@ -122069,7 +122069,7 @@ function buildIosHandler(backend) {
|
|
|
122069
122069
|
const { udid, action, permission, bundleId } = params;
|
|
122070
122070
|
const services = IOS_SERVICES[permission];
|
|
122071
122071
|
if (services.length === 0) {
|
|
122072
|
-
throw new
|
|
122072
|
+
throw new InvalidToolInputError(
|
|
122073
122073
|
`Permission '${permission}' cannot be changed on the iOS simulator \u2014 \`xcrun simctl privacy\` has no service for it. Interact with the notification permission dialog in the app instead.`,
|
|
122074
122074
|
{
|
|
122075
122075
|
error_code: FAILURE_CODES.SETTINGS_PERMISSION_UNSUPPORTED,
|
|
@@ -122204,7 +122204,7 @@ var androidImpl4 = {
|
|
|
122204
122204
|
const { udid, action, permission, bundleId } = params;
|
|
122205
122205
|
const permissions = permissionsFor(permission, action);
|
|
122206
122206
|
if (permissions.length === 0) {
|
|
122207
|
-
throw new
|
|
122207
|
+
throw new InvalidToolInputError(
|
|
122208
122208
|
`Permission '${permission}' has no Android runtime-permission equivalent, so there is nothing to ${action}.`,
|
|
122209
122209
|
{
|
|
122210
122210
|
error_code: FAILURE_CODES.SETTINGS_PERMISSION_UNSUPPORTED,
|
package/package.json
CHANGED