replicas-cli 0.3.647 → 0.3.648

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.
Files changed (2) hide show
  1. package/dist/index.cjs +20 -19
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -30011,11 +30011,30 @@ When someone asks for a recurring task or accepts an offer to automate a repeate
30011
30011
  }
30012
30012
  });
30013
30013
 
30014
+ // ../shared/src/version.ts
30015
+ function compareVersions(v1, v2) {
30016
+ const parts1 = v1.split(".").map(Number);
30017
+ const parts2 = v2.split(".").map(Number);
30018
+ for (let i = 0; i < Math.max(parts1.length, parts2.length); i++) {
30019
+ const num1 = parts1[i] || 0;
30020
+ const num2 = parts2[i] || 0;
30021
+ if (num1 > num2) return 1;
30022
+ if (num1 < num2) return -1;
30023
+ }
30024
+ return 0;
30025
+ }
30026
+ var init_version = __esm({
30027
+ "../shared/src/version.ts"() {
30028
+ "use strict";
30029
+ }
30030
+ });
30031
+
30014
30032
  // ../shared/src/artifact-commands.ts
30015
30033
  var GITHUB_ARTIFACT_IMAGES;
30016
30034
  var init_artifact_commands = __esm({
30017
30035
  "../shared/src/artifact-commands.ts"() {
30018
30036
  "use strict";
30037
+ init_version();
30019
30038
  GITHUB_ARTIFACT_IMAGES = "On GitHub, attach each image with `--attach <file>` on `gh pr create`, `gh pr edit` or `gh pr|issue comment`: it uploads the image and embeds a link GitHub can show, so you need no other flag. Only when you write an embed yourself, such as a recording linked from its GIF, upload with `replicas artifact upload --public` and use the public link it prints.";
30020
30039
  }
30021
30040
  });
@@ -43308,25 +43327,7 @@ var CLI_VERSION;
43308
43327
  var init_cli_version = __esm({
43309
43328
  "../shared/src/cli-version.ts"() {
43310
43329
  "use strict";
43311
- CLI_VERSION = "0.3.647";
43312
- }
43313
- });
43314
-
43315
- // ../shared/src/version.ts
43316
- function compareVersions(v1, v2) {
43317
- const parts1 = v1.split(".").map(Number);
43318
- const parts2 = v2.split(".").map(Number);
43319
- for (let i = 0; i < Math.max(parts1.length, parts2.length); i++) {
43320
- const num1 = parts1[i] || 0;
43321
- const num2 = parts2[i] || 0;
43322
- if (num1 > num2) return 1;
43323
- if (num1 < num2) return -1;
43324
- }
43325
- return 0;
43326
- }
43327
- var init_version = __esm({
43328
- "../shared/src/version.ts"() {
43329
- "use strict";
43330
+ CLI_VERSION = "0.3.648";
43330
43331
  }
43331
43332
  });
43332
43333
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.647",
3
+ "version": "0.3.648",
4
4
  "description": "CLI for managing Replicas workspaces - SSH into cloud dev environments with automatic port forwarding",
5
5
  "main": "dist/index.cjs",
6
6
  "bin": {