percher 0.2.2 → 0.2.4

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.
@@ -1 +1 @@
1
- {"version":3,"file":"percher.js","sourceRoot":"","sources":["../../bin/percher.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAEnC,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,IAAI,CAAC,IAAI,CAAC,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.1.1" });
5
+ const client = new PercherClient({ clientVersion: "percher-cli/0.2.4" });
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.2";
8
+ const VERSION = "0.2.4";
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.1.1";
1
+ export declare const VERSION = "0.2.4";
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.1.1";
1
+ export const VERSION = "0.2.4";
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.2",
3
+ "version": "0.2.4",
4
4
  "description": "CLI for the Percher hosting platform — publish apps with one command",
5
5
  "type": "module",
6
6
  "bin": {
@@ -17,14 +17,14 @@
17
17
  },
18
18
  "files": ["dist"],
19
19
  "scripts": {
20
- "build": "tsc -p tsconfig.json && node -e \"require('fs').chmodSync('dist/bin/percher.js',0o755)\"",
20
+ "build": "tsc -p tsconfig.json && bun build bin/percher.ts --outfile dist/bin/percher.js --target node --format esm && node -e \"require('fs').chmodSync('dist/bin/percher.js',0o755)\"",
21
21
  "test": "bun test",
22
22
  "typecheck": "tsc --noEmit"
23
23
  },
24
24
  "dependencies": {
25
- "@percher/client": "^0.1.0",
26
- "@percher/core": "^0.2.0",
27
- "@percher/toml": "^0.1.0",
25
+ "@percher/client": "^0.2.0",
26
+ "@percher/core": "^0.2.1",
27
+ "@percher/toml": "^0.1.1",
28
28
  "cac": "^6.7.14",
29
29
  "picocolors": "^1.1.1"
30
30
  },