@todesktop/cli 1.15.1 → 1.17.0
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 +19 -3
- package/dist/cli.js +687 -73
- package/dist/cli.js.map +4 -4
- package/dist/types.d.ts +9 -0
- package/package.json +4 -2
- package/schemas/schema.json +14 -0
package/dist/types.d.ts
CHANGED
|
@@ -188,6 +188,15 @@ export interface Schema {
|
|
|
188
188
|
appFiles?: AppFilesProperty;
|
|
189
189
|
appProtocolScheme?: AppProtocolSchemeProperty;
|
|
190
190
|
appPath?: AppPathProperty;
|
|
191
|
+
/**
|
|
192
|
+
* Useful when your application is a monorepo (e.g. pnpm workspaces). You can configure whether the CLI bundles workspace packages alongside the app upload. When enabled, workspace dependencies referenced via `workspace:` or local `file:` specifiers are bundled with your application upload and dependency ranges are rewritten to `file:` paths so they install deterministically on the build servers.
|
|
193
|
+
*/
|
|
194
|
+
bundleWorkspacePackages?: {
|
|
195
|
+
/**
|
|
196
|
+
* Enable automatic bundling of workspace packages for this project.
|
|
197
|
+
*/
|
|
198
|
+
enabled?: boolean;
|
|
199
|
+
};
|
|
191
200
|
asar?: AsarProperty;
|
|
192
201
|
asarUnpack?: AsarUnpackProperty;
|
|
193
202
|
buildVersion?: BuildVersionProperty;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"name": "@todesktop/cli",
|
|
7
|
-
"version": "1.
|
|
7
|
+
"version": "1.17.0",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"author": "Dave Jeffery <dave@todesktop.com> (http://www.todesktop.com/)",
|
|
10
10
|
"homepage": "https://todesktop.com/cli",
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
"ink-text-input": "^4.0.1",
|
|
73
73
|
"is-ci": "^3.0.1",
|
|
74
74
|
"is-installed-globally": "^0.3.2",
|
|
75
|
+
"js-yaml": "^4.1.0",
|
|
75
76
|
"latest-version": "^5.1.0",
|
|
76
77
|
"lodash.merge": "^4.6.2",
|
|
77
78
|
"lodash.throttle": "^4.1.1",
|
|
@@ -134,7 +135,8 @@
|
|
|
134
135
|
"**/*.test.tsx",
|
|
135
136
|
"!build/**/*",
|
|
136
137
|
"!test/fixtures/**/*",
|
|
137
|
-
"!test/utilities/**/*"
|
|
138
|
+
"!test/utilities/**/*",
|
|
139
|
+
"!worktrees/**/*"
|
|
138
140
|
],
|
|
139
141
|
"require": [
|
|
140
142
|
"esbuild-register",
|
package/schemas/schema.json
CHANGED
|
@@ -26,6 +26,20 @@
|
|
|
26
26
|
"appFiles": { "$ref": "#/definitions/appFilesProperty" },
|
|
27
27
|
"appProtocolScheme": { "$ref": "#/definitions/appProtocolSchemeProperty" },
|
|
28
28
|
"appPath": { "$ref": "#/definitions/appPathProperty" },
|
|
29
|
+
"bundleWorkspacePackages": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"additionalProperties": false,
|
|
32
|
+
"description": "Useful when your application is a monorepo (e.g. pnpm workspaces). You can configure whether the CLI bundles workspace packages alongside the app upload. When enabled, workspace dependencies referenced via `workspace:` or local `file:` specifiers are bundled with your application upload and dependency ranges are rewritten to `file:` paths so they install deterministically on the build servers.",
|
|
33
|
+
"examples": ["{\"enabled\":true}"],
|
|
34
|
+
"default": { "enabled": false },
|
|
35
|
+
"properties": {
|
|
36
|
+
"enabled": {
|
|
37
|
+
"type": "boolean",
|
|
38
|
+
"default": false,
|
|
39
|
+
"description": "Enable automatic bundling of workspace packages for this project."
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
29
43
|
"asar": { "$ref": "#/definitions/asarProperty" },
|
|
30
44
|
"asarUnpack": { "$ref": "#/definitions/asarUnpackProperty" },
|
|
31
45
|
"buildVersion": { "$ref": "#/definitions/buildVersionProperty" },
|