@moneysiren/cli 0.1.0-alpha.7 → 0.1.0-alpha.9
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 +11 -3
- package/dist/apps/cli/src/release-installer.d.ts +1 -1
- package/dist/apps/cli/src/release-installer.js +1 -1
- package/dist/apps/cli/src/runtime-adapter.js +1 -1
- package/dist/apps/cli/src/version.d.ts +1 -1
- package/dist/apps/cli/src/version.js +1 -1
- package/dist/packages/local-api/src/server.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,7 +12,15 @@ MoneySiren is local-first. The CLI reads configuration and secrets from the proc
|
|
|
12
12
|
|
|
13
13
|
## Published Alpha Usage
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
For normal source-free installs, prefer the app package because it downloads the matching Web/HUD release assets during global npm install:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npm install -g @moneysiren/app@alpha
|
|
19
|
+
msiren start
|
|
20
|
+
msiren hud
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
For CLI-only automation:
|
|
16
24
|
|
|
17
25
|
```bash
|
|
18
26
|
npm install -g @moneysiren/cli@alpha
|
|
@@ -67,7 +75,7 @@ Install the generated tarball into a temporary project:
|
|
|
67
75
|
mkdir -p /tmp/moneysiren-alpha-review
|
|
68
76
|
cd /tmp/moneysiren-alpha-review
|
|
69
77
|
npm init -y
|
|
70
|
-
npm install /path/to/moneysiren-cli-0.1.0-alpha.
|
|
78
|
+
npm install /path/to/moneysiren-cli-0.1.0-alpha.9.tgz
|
|
71
79
|
npm exec moneysiren
|
|
72
80
|
npm exec moneysiren -- --version
|
|
73
81
|
npm exec moneysiren -- /version
|
|
@@ -83,7 +91,7 @@ PowerShell equivalent for the temporary project:
|
|
|
83
91
|
New-Item -ItemType Directory -Force -Path $env:TEMP\moneysiren-alpha-review
|
|
84
92
|
Set-Location $env:TEMP\moneysiren-alpha-review
|
|
85
93
|
npm init -y
|
|
86
|
-
npm install C:\path\to\moneysiren-cli-0.1.0-alpha.
|
|
94
|
+
npm install C:\path\to\moneysiren-cli-0.1.0-alpha.9.tgz
|
|
87
95
|
npm exec moneysiren
|
|
88
96
|
npm exec moneysiren -- --version
|
|
89
97
|
npm exec moneysiren -- modes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { InstallSurface } from "./install-profile.js";
|
|
2
2
|
export declare const DEFAULT_RELEASE_REPOSITORY = "ztwz11/moneysiren";
|
|
3
|
-
export declare const DEFAULT_RELEASE_TAG = "v0.1.0-alpha.
|
|
3
|
+
export declare const DEFAULT_RELEASE_TAG = "v0.1.0-alpha.9";
|
|
4
4
|
export interface ReleaseInstallOptions {
|
|
5
5
|
env?: Record<string, string | undefined>;
|
|
6
6
|
fetchImpl: typeof fetch;
|
|
@@ -7,7 +7,7 @@ import { promisify } from "node:util";
|
|
|
7
7
|
const execFileAsync = promisify(execFile);
|
|
8
8
|
export const DEFAULT_RELEASE_REPOSITORY = "ztwz11/moneysiren";
|
|
9
9
|
// Keep the source-free installer pinned to the latest published desktop/web release tag.
|
|
10
|
-
export const DEFAULT_RELEASE_TAG = "v0.1.0-alpha.
|
|
10
|
+
export const DEFAULT_RELEASE_TAG = "v0.1.0-alpha.9";
|
|
11
11
|
const RELEASE_REPOSITORY_ENV_KEY = "MONEYSIREN_RELEASE_REPOSITORY";
|
|
12
12
|
const RELEASE_TAG_ENV_KEY = "MONEYSIREN_RELEASE_TAG";
|
|
13
13
|
const RELEASE_INSTALL_DIR_ENV_KEY = "MONEYSIREN_RELEASE_INSTALL_DIR";
|
|
@@ -64,7 +64,7 @@ export async function openUrlInBrowser(url) {
|
|
|
64
64
|
throw new Error("Refusing to open a non-loopback runtime URL.");
|
|
65
65
|
}
|
|
66
66
|
const child = process.platform === "win32"
|
|
67
|
-
? spawn("
|
|
67
|
+
? spawn("rundll32.exe", ["url.dll,FileProtocolHandler", parsedUrl.toString()], {
|
|
68
68
|
detached: true,
|
|
69
69
|
stdio: "ignore",
|
|
70
70
|
windowsHide: true,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const CLI_VERSION = "0.1.0-alpha.
|
|
1
|
+
export declare const CLI_VERSION = "0.1.0-alpha.9";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const CLI_VERSION = "0.1.0-alpha.
|
|
1
|
+
export const CLI_VERSION = "0.1.0-alpha.9";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
|
@@ -3,7 +3,7 @@ import { parseNotificationPreferences, readNotificationDigest, readNotificationP
|
|
|
3
3
|
import { assertLoopbackHost, isLoopbackHost, removeRuntimeLock, writeRuntimeLock, } from "../../runtime/src/index.js";
|
|
4
4
|
const DEFAULT_HOST = "127.0.0.1";
|
|
5
5
|
const DEFAULT_PORT = 47831;
|
|
6
|
-
const DEFAULT_VERSION = "0.1.0-alpha.
|
|
6
|
+
const DEFAULT_VERSION = "0.1.0-alpha.9";
|
|
7
7
|
export async function startLocalApiServer(options = {}) {
|
|
8
8
|
const host = options.host ?? DEFAULT_HOST;
|
|
9
9
|
const requestedPort = options.port ?? DEFAULT_PORT;
|