mygo-cli 0.1.15 → 0.1.17
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 +21 -1
- 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`). */
|
|
@@ -179,7 +199,7 @@ export interface WindowsConfig {
|
|
|
179
199
|
|
|
180
200
|
/** Linux packaging. */
|
|
181
201
|
export interface LinuxConfig {
|
|
182
|
-
/** `Name <email
|
|
202
|
+
/** `Name <email>`, the maintainer of the Debian package (default: `author` in package.json, else the app's name). */
|
|
183
203
|
maintainer?: string;
|
|
184
204
|
/** A short description, for the desktop entry and the package. */
|
|
185
205
|
comment?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mygo-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.17",
|
|
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.17",
|
|
44
|
+
"@egoist/mygo-cli-darwin-x64": "0.1.17",
|
|
45
|
+
"@egoist/mygo-cli-linux-arm64": "0.1.17",
|
|
46
|
+
"@egoist/mygo-cli-linux-x64": "0.1.17",
|
|
47
|
+
"@egoist/mygo-cli-win32-arm64": "0.1.17",
|
|
48
|
+
"@egoist/mygo-cli-win32-x64": "0.1.17"
|
|
49
49
|
}
|
|
50
50
|
}
|