wachi 0.3.1 → 0.3.3
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/bin/wachi.js +8 -2
- package/package.json +6 -7
package/bin/wachi.js
CHANGED
|
@@ -42,7 +42,11 @@ const runBinary = (binaryPath) => {
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
if (typeof result.signal === "string") {
|
|
45
|
-
process.stderr.write(
|
|
45
|
+
process.stderr.write(
|
|
46
|
+
`Error: wachi binary terminated by signal ${result.signal}.\n` +
|
|
47
|
+
"The process was killed externally (e.g. by the OS, another process, or resource limits).\n" +
|
|
48
|
+
"Try running the command again. If it persists, check system resource usage or try reinstalling wachi.\n",
|
|
49
|
+
);
|
|
46
50
|
}
|
|
47
51
|
|
|
48
52
|
process.exit(1);
|
|
@@ -122,7 +126,9 @@ if (existsSync(sourceEntry)) {
|
|
|
122
126
|
if (!packageName) {
|
|
123
127
|
process.stderr.write(
|
|
124
128
|
`Error: Unsupported platform for prebuilt binaries (${key}).\n` +
|
|
125
|
-
"The published wachi package is binary-only.\n"
|
|
129
|
+
"The published wachi package is binary-only.\n" +
|
|
130
|
+
`Supported platforms: ${Object.keys(PLATFORM_PACKAGE_MAP).join(", ")}.\n` +
|
|
131
|
+
"Install from source with Bun, or use a supported platform.\n",
|
|
126
132
|
);
|
|
127
133
|
process.exit(1);
|
|
128
134
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wachi",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "Subscribe any link and get notified on change",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -37,7 +37,6 @@
|
|
|
37
37
|
"drizzle-kit": "0.31.9",
|
|
38
38
|
"drizzle-orm": "0.45.1",
|
|
39
39
|
"drizzle-zod": "0.8.3",
|
|
40
|
-
"env-paths": "4.0.0",
|
|
41
40
|
"jsonc-parser": "3.3.1",
|
|
42
41
|
"knip": "5.84.1",
|
|
43
42
|
"ofetch": "1.5.1",
|
|
@@ -48,10 +47,10 @@
|
|
|
48
47
|
"zod-validation-error": "5.0.0"
|
|
49
48
|
},
|
|
50
49
|
"optionalDependencies": {
|
|
51
|
-
"@wachi-cli/darwin-arm64": "0.3.
|
|
52
|
-
"@wachi-cli/darwin-x64": "0.3.
|
|
53
|
-
"@wachi-cli/linux-arm64": "0.3.
|
|
54
|
-
"@wachi-cli/linux-x64": "0.3.
|
|
55
|
-
"@wachi-cli/win32-x64": "0.3.
|
|
50
|
+
"@wachi-cli/darwin-arm64": "0.3.3",
|
|
51
|
+
"@wachi-cli/darwin-x64": "0.3.3",
|
|
52
|
+
"@wachi-cli/linux-arm64": "0.3.3",
|
|
53
|
+
"@wachi-cli/linux-x64": "0.3.3",
|
|
54
|
+
"@wachi-cli/win32-x64": "0.3.3"
|
|
56
55
|
}
|
|
57
56
|
}
|