@swmansion/argent 0.27.1-next.2 → 0.27.1-next.3
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 +4 -3
- package/dist/installer.mjs +1 -1
- package/dist/tool-server.cjs +1 -1
- package/package.json +1 -1
package/dist/cli-cmds.mjs
CHANGED
|
@@ -21916,7 +21916,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
21916
21916
|
var SESSION_ID2 = randomUUID5();
|
|
21917
21917
|
function readCliVersion() {
|
|
21918
21918
|
if (true) {
|
|
21919
|
-
return "0.27.1-next.
|
|
21919
|
+
return "0.27.1-next.3";
|
|
21920
21920
|
}
|
|
21921
21921
|
return "0.0.0";
|
|
21922
21922
|
}
|
|
@@ -27495,13 +27495,14 @@ async function link(argv) {
|
|
|
27495
27495
|
const token = flags2.token ?? (existing && existing.host === host && existing.port === port ? existing.token : void 0);
|
|
27496
27496
|
let url2 = flags2.url ?? formatUrl(host, port);
|
|
27497
27497
|
if (!flags2.yes && existing) {
|
|
27498
|
-
|
|
27498
|
+
const sameUrl = existing.url === url2;
|
|
27499
|
+
if (sameUrl && existing.token === token) {
|
|
27499
27500
|
log.info(`Already linked to ${import_picocolors4.default.cyan(url2)}.`);
|
|
27500
27501
|
outro("No changes.");
|
|
27501
27502
|
return;
|
|
27502
27503
|
}
|
|
27503
27504
|
const overwrite = await confirm({
|
|
27504
|
-
message: `Replace existing link ${import_picocolors4.default.dim(existing.url)} with ${import_picocolors4.default.cyan(url2)}?`,
|
|
27505
|
+
message: sameUrl ? `Replace the token for ${import_picocolors4.default.cyan(url2)}?` : `Replace existing link ${import_picocolors4.default.dim(existing.url)} with ${import_picocolors4.default.cyan(url2)}?`,
|
|
27505
27506
|
initialValue: true
|
|
27506
27507
|
});
|
|
27507
27508
|
if (isCancel(overwrite) || !overwrite) {
|
package/dist/installer.mjs
CHANGED
|
@@ -16730,7 +16730,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
16730
16730
|
var SESSION_ID = randomUUID4();
|
|
16731
16731
|
function readCliVersion() {
|
|
16732
16732
|
if (true) {
|
|
16733
|
-
return "0.27.1-next.
|
|
16733
|
+
return "0.27.1-next.3";
|
|
16734
16734
|
}
|
|
16735
16735
|
return "0.0.0";
|
|
16736
16736
|
}
|
package/dist/tool-server.cjs
CHANGED
|
@@ -94814,7 +94814,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
94814
94814
|
var SESSION_ID = (0, import_node_crypto3.randomUUID)();
|
|
94815
94815
|
function readCliVersion() {
|
|
94816
94816
|
if (true) {
|
|
94817
|
-
return "0.27.1-next.
|
|
94817
|
+
return "0.27.1-next.3";
|
|
94818
94818
|
}
|
|
94819
94819
|
return "0.0.0";
|
|
94820
94820
|
}
|
package/package.json
CHANGED