mygo-cli 0.1.16 → 0.1.18
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/index.d.ts +26 -0
- package/package.json +7 -7
package/index.d.ts
CHANGED
|
@@ -128,6 +128,8 @@ export interface UpdatesConfig {
|
|
|
128
128
|
tagPrefix?: string;
|
|
129
129
|
/** Instead of `github`, the HTTPS URL of a directory holding the updates. */
|
|
130
130
|
url?: string;
|
|
131
|
+
/** The bucket that serves `url`, which `mygo build -upload` uploads to. */
|
|
132
|
+
s3?: S3Config;
|
|
131
133
|
/** The path of mygo-update.key; `MYGO_UPDATER_PRIVATE_KEY`, holding the key, takes precedence. */
|
|
132
134
|
privateKey?: string;
|
|
133
135
|
/** A Markdown file whose `## <version>` section becomes the release notes (default: `CHANGELOG.md` when it exists). */
|
|
@@ -136,6 +138,24 @@ export interface UpdatesConfig {
|
|
|
136
138
|
deltas?: number;
|
|
137
139
|
}
|
|
138
140
|
|
|
141
|
+
/**
|
|
142
|
+
* A bucket of Amazon S3, or of a compatible service such as Cloudflare R2.
|
|
143
|
+
* The credentials come from `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY` and
|
|
144
|
+
* `AWS_SESSION_TOKEN`.
|
|
145
|
+
*/
|
|
146
|
+
export interface S3Config {
|
|
147
|
+
/** The name of the bucket. */
|
|
148
|
+
bucket: string;
|
|
149
|
+
/** The directory of the files in the bucket, e.g. `my-app` (default: its root). */
|
|
150
|
+
prefix?: string;
|
|
151
|
+
/** The region of the bucket (default: `AWS_REGION`, else `AWS_DEFAULT_REGION`, else `us-east-1`). */
|
|
152
|
+
region?: string;
|
|
153
|
+
/** The endpoint of a compatible service, e.g. `https://<account>.r2.cloudflarestorage.com` (default: Amazon S3's). */
|
|
154
|
+
endpoint?: string;
|
|
155
|
+
/** Names the bucket in the path of URLs rather than in the host name (default: with `endpoint`, or a bucket name with dots). */
|
|
156
|
+
pathStyle?: boolean;
|
|
157
|
+
}
|
|
158
|
+
|
|
139
159
|
/** macOS packaging. */
|
|
140
160
|
export interface MacOSConfig {
|
|
141
161
|
/** The oldest macOS the app runs on (default: `12.0`). */
|
|
@@ -187,4 +207,10 @@ export interface LinuxConfig {
|
|
|
187
207
|
categories?: string[];
|
|
188
208
|
/** Debian packages the app needs besides GTK and WebKitGTK. */
|
|
189
209
|
depends?: string[];
|
|
210
|
+
/**
|
|
211
|
+
* A command that runs the app, such as `my-app`: a link in `/usr/bin` from
|
|
212
|
+
* the Debian package, and in `~/.local/bin` from install.sh (default: none;
|
|
213
|
+
* the app opens from the applications menu).
|
|
214
|
+
*/
|
|
215
|
+
command?: string;
|
|
190
216
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mygo-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.18",
|
|
4
4
|
"description": "The mygo command line tool: create, develop and package MyGo desktop apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mygo",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"test": "bun test"
|
|
41
41
|
},
|
|
42
42
|
"optionalDependencies": {
|
|
43
|
-
"@egoist/mygo-cli-darwin-arm64": "0.1.
|
|
44
|
-
"@egoist/mygo-cli-darwin-x64": "0.1.
|
|
45
|
-
"@egoist/mygo-cli-linux-arm64": "0.1.
|
|
46
|
-
"@egoist/mygo-cli-linux-x64": "0.1.
|
|
47
|
-
"@egoist/mygo-cli-win32-arm64": "0.1.
|
|
48
|
-
"@egoist/mygo-cli-win32-x64": "0.1.
|
|
43
|
+
"@egoist/mygo-cli-darwin-arm64": "0.1.18",
|
|
44
|
+
"@egoist/mygo-cli-darwin-x64": "0.1.18",
|
|
45
|
+
"@egoist/mygo-cli-linux-arm64": "0.1.18",
|
|
46
|
+
"@egoist/mygo-cli-linux-x64": "0.1.18",
|
|
47
|
+
"@egoist/mygo-cli-win32-arm64": "0.1.18",
|
|
48
|
+
"@egoist/mygo-cli-win32-x64": "0.1.18"
|
|
49
49
|
}
|
|
50
50
|
}
|