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.
- package/dist/bin/percher.d.ts +1 -1
- package/dist/bin/percher.js +12440 -4
- package/dist/bin/percher.js.map +1 -1
- package/dist/src/context.js +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/telemetry.d.ts +1 -1
- package/dist/src/telemetry.js +1 -1
- package/package.json +5 -5
package/dist/bin/percher.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"percher.js","sourceRoot":"","sources":["../../bin/percher.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,GAAG,EAAE,MAAM,
|
|
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"}
|
package/dist/src/context.js
CHANGED
|
@@ -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.
|
|
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.
|
|
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;
|
package/dist/src/telemetry.d.ts
CHANGED
package/dist/src/telemetry.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "percher",
|
|
3
|
-
"version": "0.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.
|
|
26
|
-
"@percher/core": "^0.2.
|
|
27
|
-
"@percher/toml": "^0.1.
|
|
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
|
},
|