@todesktop/cli 1.7.0-1 → 1.7.0-2

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.js CHANGED
@@ -4178,7 +4178,7 @@ function BuildPicker({
4178
4178
  state: state.state,
4179
4179
  updateState
4180
4180
  });
4181
- }, [buildId, configPath, state.state]);
4181
+ }, []);
4182
4182
  onInput((input, key) => {
4183
4183
  if (key.escape && ["show-builds", "loading"].includes(state.state)) {
4184
4184
  exit();
@@ -4411,7 +4411,8 @@ function OsProgress({
4411
4411
  const colors = {
4412
4412
  progress: "white",
4413
4413
  error: "red",
4414
- done: "green"
4414
+ done: "green",
4415
+ skipped: "yellow"
4415
4416
  };
4416
4417
  const text = progress.message + (progress.state === "progress" ? "..." : "");
4417
4418
  return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
@@ -4624,7 +4625,7 @@ function makeProgress(build) {
4624
4625
  shouldSkip: ((_f = build.windows) == null ? void 0 : _f.shouldSkip) || false
4625
4626
  };
4626
4627
  const platforms = [linux, mac, windows].filter(
4627
- (p) => !p.shouldSkip
4628
+ (p) => !p.shouldSkip && p.state !== "skipped"
4628
4629
  );
4629
4630
  const isFinished = platforms.every((p) => p.state !== "progress");
4630
4631
  let totalState = "progress";
@@ -4683,7 +4684,7 @@ function SmokeTestContainer({
4683
4684
  const abortSignal = abortController.signal;
4684
4685
  (0, import_react22.useEffect)(() => {
4685
4686
  smokeTestWorkflow({ abortSignal, buildId, configPath, updateState });
4686
- }, [buildId, configPath]);
4687
+ }, []);
4687
4688
  function updateState(changes) {
4688
4689
  setState((previousState) => ({ ...previousState, ...changes }));
4689
4690
  if (["build-error", "complete", "progress-error"].includes(changes.state)) {
@@ -4810,7 +4811,7 @@ var package_default = {
4810
4811
  access: "public"
4811
4812
  },
4812
4813
  name: "@todesktop/cli",
4813
- version: "1.7.0-0",
4814
+ version: "1.7.0-1",
4814
4815
  license: "MIT",
4815
4816
  author: "Dave Jeffery <dave@todesktop.com> (http://www.todesktop.com/)",
4816
4817
  homepage: "https://todesktop.com/cli",
@@ -4890,7 +4891,7 @@ var package_default = {
4890
4891
  "xdg-basedir": "^4.0.0"
4891
4892
  },
4892
4893
  devDependencies: {
4893
- "@todesktop/shared": "^7.178.0",
4894
+ "@todesktop/shared": "^7.179.0",
4894
4895
  "@types/bunyan": "^1.8.6",
4895
4896
  "@types/react": "^18.0.26",
4896
4897
  "@typescript-eslint/eslint-plugin": "^5.46.1",