hanoman 0.1.45 → 0.1.46
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/README.md +1 -1
- package/dist/build-info.json +3 -3
- package/dist/cli.js +1 -1
- package/dist/server.js +1 -1
- package/package.json +1 -1
- package/web/assets/index-pMhBDQcJ.js +7779 -0
- package/web/index.html +1 -1
- package/web/assets/index-Bwx_Vz8-.js +0 -7615
package/README.md
CHANGED
|
@@ -75,7 +75,7 @@ langsung), panel tetap hanya menampilkan perintah untuk disalin.
|
|
|
75
75
|
Dari terminal:
|
|
76
76
|
|
|
77
77
|
```bash
|
|
78
|
-
hanoman update # npm i -g hanoman@latest
|
|
78
|
+
hanoman update # npm i -g hanoman@latest --prefer-online
|
|
79
79
|
```
|
|
80
80
|
|
|
81
81
|
Sesudah `hanoman update`, instance yang berjalan perlu di-restart (mis. `systemctl restart hanoman`).
|
package/dist/build-info.json
CHANGED
package/dist/cli.js
CHANGED
|
@@ -7832,7 +7832,7 @@ var init_update = __esm({
|
|
|
7832
7832
|
init_src();
|
|
7833
7833
|
init_router();
|
|
7834
7834
|
PKG = "hanoman";
|
|
7835
|
-
INSTALL_ARGS = ["i", "-g", `${PKG}@latest
|
|
7835
|
+
INSTALL_ARGS = ["i", "-g", `${PKG}@latest`, "--prefer-online"];
|
|
7836
7836
|
DEFAULT_REGISTRY = "https://registry.npmjs.org";
|
|
7837
7837
|
}
|
|
7838
7838
|
});
|
package/dist/server.js
CHANGED
|
@@ -32356,7 +32356,7 @@ init_config2();
|
|
|
32356
32356
|
import { readFileSync as readFileSync12 } from "node:fs";
|
|
32357
32357
|
import { resolve as resolve16, dirname as dirname12 } from "node:path";
|
|
32358
32358
|
import { fileURLToPath as fileURLToPath3 } from "node:url";
|
|
32359
|
-
var UPDATE_COMMAND = "npm i -g hanoman@latest";
|
|
32359
|
+
var UPDATE_COMMAND = "npm i -g hanoman@latest --prefer-online";
|
|
32360
32360
|
function composeUpdate(x) {
|
|
32361
32361
|
const available = x.registryStatus === "ok" && x.latestVersion != null && compareSemver(x.latestVersion, x.currentVersion) > 0;
|
|
32362
32362
|
return {
|