@swmansion/argent 0.22.1-next.9 → 0.22.1

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.
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/dist/cli-cmds.mjs CHANGED
@@ -7210,7 +7210,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
7210
7210
  var SESSION_ID2 = randomUUID5();
7211
7211
  function readCliVersion() {
7212
7212
  if (true) {
7213
- return "0.22.1-next.9";
7213
+ return "0.22.1";
7214
7214
  }
7215
7215
  return "0.0.0";
7216
7216
  }
@@ -12758,19 +12758,27 @@ var TELEMETRY_OPTIONS = {
12758
12758
  async function telemetry(args) {
12759
12759
  const sub = args[0];
12760
12760
  let scope = "global";
12761
- try {
12762
- const { positionals, options } = parseCommandArgs(args.slice(1), TELEMETRY_OPTIONS);
12763
- if (positionals.length > 0) {
12764
- throw new UsageError(`Unexpected argument "${positionals[0]}".`);
12761
+ const wantsHelp2 = args.includes("--help") || args.includes("-h");
12762
+ if (!wantsHelp2) {
12763
+ try {
12764
+ const { positionals, options } = parseCommandArgs(args.slice(1), TELEMETRY_OPTIONS);
12765
+ if (positionals.length > 0) {
12766
+ throw new UsageError(`Unexpected argument "${positionals[0]}".`);
12767
+ }
12768
+ if (options.scope !== void 0) scope = options.scope;
12769
+ } catch (err) {
12770
+ if (!(err instanceof UsageError)) throw err;
12771
+ console.error(`Error: ${err.message}`);
12772
+ printUsage3();
12773
+ process.exit(2);
12765
12774
  }
12766
- if (options.scope !== void 0) scope = options.scope;
12767
- } catch (err) {
12768
- if (!(err instanceof UsageError)) throw err;
12769
- console.error(`Error: ${err.message}`);
12770
- printUsage3();
12771
- process.exit(2);
12772
12775
  }
12773
12776
  init("cli");
12777
+ if (wantsHelp2) {
12778
+ printUsage3();
12779
+ await shutdown();
12780
+ return;
12781
+ }
12774
12782
  switch (sub) {
12775
12783
  case void 0:
12776
12784
  printUsage3();
@@ -12786,11 +12794,6 @@ async function telemetry(args) {
12786
12794
  case "disable":
12787
12795
  await cmdDisable(scope);
12788
12796
  return;
12789
- case "--help":
12790
- case "-h":
12791
- printUsage3();
12792
- await shutdown();
12793
- return;
12794
12797
  default:
12795
12798
  console.error(`Unknown subcommand: telemetry ${sub}`);
12796
12799
  await shutdown();
@@ -16428,7 +16428,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
16428
16428
  var SESSION_ID = randomUUID4();
16429
16429
  function readCliVersion() {
16430
16430
  if (true) {
16431
- return "0.22.1-next.9";
16431
+ return "0.22.1";
16432
16432
  }
16433
16433
  return "0.0.0";
16434
16434
  }
@@ -95734,7 +95734,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
95734
95734
  var SESSION_ID = (0, import_node_crypto3.randomUUID)();
95735
95735
  function readCliVersion() {
95736
95736
  if (true) {
95737
- return "0.22.1-next.9";
95737
+ return "0.22.1";
95738
95738
  }
95739
95739
  return "0.0.0";
95740
95740
  }
@@ -97082,7 +97082,7 @@ var import_node_path5 = __toESM(require("node:path"));
97082
97082
  var import_semver2 = __toESM(require_semver2());
97083
97083
 
97084
97084
  // ../tool-server/package.json
97085
- var version2 = "0.22.0";
97085
+ var version2 = "0.22.1";
97086
97086
 
97087
97087
  // ../tool-server/src/utils/update-checker.ts
97088
97088
  var import_update_core = __toESM(require_dist4());
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swmansion/argent",
3
- "version": "0.22.1-next.9",
3
+ "version": "0.22.1",
4
4
  "mcpName": "io.github.software-mansion/argent",
5
5
  "description": "MCP server for iOS Simulator and Android Emulator control",
6
6
  "license": "Apache-2.0",