percher 0.2.4 → 0.2.5

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.
@@ -11960,7 +11960,7 @@ async function prompt(question, options) {
11960
11960
 
11961
11961
  // src/context.ts
11962
11962
  async function createCliContext() {
11963
- const client = new PercherClient({ clientVersion: "percher-cli/0.2.4" });
11963
+ const client = new PercherClient({ clientVersion: "percher-cli/0.2.5" });
11964
11964
  const encoder = new TextEncoder;
11965
11965
  const stdout = new WritableStream({
11966
11966
  write(chunk) {
@@ -12030,7 +12030,7 @@ async function renderError(stderr, error) {
12030
12030
  }
12031
12031
 
12032
12032
  // src/telemetry.ts
12033
- var VERSION = "0.2.4";
12033
+ var VERSION = "0.2.5";
12034
12034
  var API_URL = "https://api.percher.run";
12035
12035
  function isDisabled() {
12036
12036
  return process.env.PERCHER_NO_TELEMETRY === "1" || process.env.PERCHER_NO_TELEMETRY === "true" || process.env.DO_NOT_TRACK === "1";
@@ -12093,7 +12093,7 @@ Update available: ${VERSION} → ${latest}`));
12093
12093
  }
12094
12094
 
12095
12095
  // src/index.ts
12096
- var VERSION2 = "0.2.4";
12096
+ var VERSION2 = "0.2.5";
12097
12097
 
12098
12098
  class SilentExitError {
12099
12099
  exitCode;
@@ -12438,4 +12438,4 @@ async function run(argv, ctxOverride) {
12438
12438
 
12439
12439
  // bin/percher.ts
12440
12440
  var code = await run(process.argv.slice(2));
12441
- process.exit(code);
12441
+ process.exitCode = code;
@@ -1 +1 @@
1
- {"version":3,"file":"percher.js","sourceRoot":"","sources":["../../bin/percher.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAEtC,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AAC9C,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC"}
1
+ {"version":3,"file":"percher.js","sourceRoot":"","sources":["../../bin/percher.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAEtC,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AAC9C,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC"}
@@ -2,7 +2,7 @@ import { PercherClient } from "@percher/client";
2
2
  import { openUrl } from "./open";
3
3
  import { prompt } from "./prompt";
4
4
  export async function createCliContext() {
5
- const client = new PercherClient({ clientVersion: "percher-cli/0.2.4" });
5
+ const client = new PercherClient({ clientVersion: "percher-cli/0.2.5" });
6
6
  const encoder = new TextEncoder();
7
7
  const stdout = new WritableStream({
8
8
  write(chunk) {
package/dist/src/index.js CHANGED
@@ -5,7 +5,7 @@ import { createCliContext } from "./context";
5
5
  import { renderError } from "./output";
6
6
  import { showTelemetryNotice, trackEvent } from "./telemetry";
7
7
  import { checkForUpdates } from "./version-check";
8
- const VERSION = "0.2.4";
8
+ const VERSION = "0.2.5";
9
9
  /** Thrown after output is already printed, to signal non-zero exit without an error message. */
10
10
  class SilentExitError {
11
11
  exitCode;
@@ -1,4 +1,4 @@
1
- export declare const VERSION = "0.2.4";
1
+ export declare const VERSION = "0.2.5";
2
2
  /**
3
3
  * Send a telemetry event. Fire-and-forget — never blocks, never throws.
4
4
  * Respects PERCHER_NO_TELEMETRY=1 and DO_NOT_TRACK=1.
@@ -1,4 +1,4 @@
1
- export const VERSION = "0.2.4";
1
+ export const VERSION = "0.2.5";
2
2
  const API_URL = "https://api.percher.run";
3
3
  /** Check if telemetry is disabled via env var. */
4
4
  function isDisabled() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "percher",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "CLI for the Percher hosting platform — publish apps with one command",
5
5
  "type": "module",
6
6
  "bin": {