@todesktop/cli 1.21.0 → 1.23.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 +72 -6
- package/dist/cli.js +381 -206
- package/dist/cli.js.map +4 -4
- package/dist/types.d.ts +15 -2
- package/package.json +1 -1
- package/schemas/schema.json +30 -6
package/dist/types.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
* The version of app-builder-lib that ToDesktop should use for building your app. This can be useful if you need to use a specific version that includes certain features or fixes.
|
|
8
|
+
* The version of app-builder-lib that ToDesktop should use for building your app. This can be a specific version, a semantic version range, or "latest". This can be useful if you need to use a specific version that includes certain features or fixes.
|
|
9
9
|
*/
|
|
10
10
|
export type AppBuilderLibVersionProperty = string;
|
|
11
11
|
/**
|
|
@@ -328,6 +328,19 @@ export interface LinuxConfigProperty {
|
|
|
328
328
|
* Additional command-line arguments to pass to the executable in the Linux .desktop file Exec line.
|
|
329
329
|
*/
|
|
330
330
|
executableArgs?: string[];
|
|
331
|
+
/**
|
|
332
|
+
* Configuration for Debian (.deb) packaging.
|
|
333
|
+
*/
|
|
334
|
+
deb?: {
|
|
335
|
+
/**
|
|
336
|
+
* Additional package dependencies to append to ToDesktop's default .deb dependencies.
|
|
337
|
+
*/
|
|
338
|
+
additionalDepends?: string[];
|
|
339
|
+
/**
|
|
340
|
+
* The list of package dependencies for the .deb package. This overwrites ToDesktop's default dependency list and linux.deb.additionalDepends.
|
|
341
|
+
*/
|
|
342
|
+
depends?: string[];
|
|
343
|
+
};
|
|
331
344
|
/**
|
|
332
345
|
* This option allows you to configure whether your app should run in a sandboxed environment.
|
|
333
346
|
*/
|
|
@@ -358,7 +371,7 @@ export interface MacConfigProperty {
|
|
|
358
371
|
*/
|
|
359
372
|
extendInfo?: {};
|
|
360
373
|
/**
|
|
361
|
-
* The path to your application's Mac desktop icon. It must be an ICNS or
|
|
374
|
+
* The path to your application's Mac desktop icon. It must be an ICNS, PNG, or Apple `.icon` package directory.
|
|
362
375
|
*/
|
|
363
376
|
icon?: string;
|
|
364
377
|
/**
|
package/package.json
CHANGED
package/schemas/schema.json
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"else": {
|
|
11
11
|
"required": ["id", "icon", "schemaVersion"]
|
|
12
12
|
},
|
|
13
|
+
"macIconComposerAppBuilderLibVersion": {},
|
|
13
14
|
"properties": {
|
|
14
15
|
"$schema": {
|
|
15
16
|
"type": "string",
|
|
@@ -123,10 +124,10 @@
|
|
|
123
124
|
"definitions": {
|
|
124
125
|
"appBuilderLibVersionProperty": {
|
|
125
126
|
"type": "string",
|
|
126
|
-
"
|
|
127
|
+
"validSemverOrLatest": {},
|
|
127
128
|
"minLength": 1,
|
|
128
|
-
"description": "The version of app-builder-lib that ToDesktop should use for building your app. This can be useful if you need to use a specific version that includes certain features or fixes.",
|
|
129
|
-
"examples": ["22.14.13"]
|
|
129
|
+
"description": "The version of app-builder-lib that ToDesktop should use for building your app. This can be a specific version, a semantic version range, or \"latest\". This can be useful if you need to use a specific version that includes certain features or fixes.",
|
|
130
|
+
"examples": ["22.14.13", "latest"]
|
|
130
131
|
},
|
|
131
132
|
"appIdProperty": {
|
|
132
133
|
"type": "string",
|
|
@@ -453,6 +454,27 @@
|
|
|
453
454
|
["--enable-features=UseOzonePlatform", "--ozone-platform=x11"]
|
|
454
455
|
]
|
|
455
456
|
},
|
|
457
|
+
"deb": {
|
|
458
|
+
"type": "object",
|
|
459
|
+
"description": "Configuration for Debian (.deb) packaging.",
|
|
460
|
+
"additionalProperties": false,
|
|
461
|
+
"properties": {
|
|
462
|
+
"additionalDepends": {
|
|
463
|
+
"type": "array",
|
|
464
|
+
"items": {
|
|
465
|
+
"type": "string"
|
|
466
|
+
},
|
|
467
|
+
"description": "Additional package dependencies to append to ToDesktop's default .deb dependencies."
|
|
468
|
+
},
|
|
469
|
+
"depends": {
|
|
470
|
+
"type": "array",
|
|
471
|
+
"items": {
|
|
472
|
+
"type": "string"
|
|
473
|
+
},
|
|
474
|
+
"description": "The list of package dependencies for the .deb package. This overwrites ToDesktop's default dependency list and linux.deb.additionalDepends."
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
},
|
|
456
478
|
"noSandbox": {
|
|
457
479
|
"type": "boolean",
|
|
458
480
|
"description": "This option allows you to configure whether your app should run in a sandboxed environment.",
|
|
@@ -517,11 +539,13 @@
|
|
|
517
539
|
},
|
|
518
540
|
"icon": {
|
|
519
541
|
"type": "string",
|
|
520
|
-
"description": "The path to your application's Mac desktop icon. It must be an ICNS or
|
|
542
|
+
"description": "The path to your application's Mac desktop icon. It must be an ICNS, PNG, or Apple `.icon` package directory.",
|
|
521
543
|
"examples": ["./mac-icon.png"],
|
|
522
544
|
"file": {
|
|
523
|
-
"extensions": ["icns", "png"],
|
|
524
|
-
"mustBeFile": true
|
|
545
|
+
"extensions": ["icns", "png", "icon"],
|
|
546
|
+
"mustBeFile": true,
|
|
547
|
+
"allowDirectoryExtensions": ["icon"],
|
|
548
|
+
"mustBeDirectoryExtensions": ["icon"]
|
|
525
549
|
},
|
|
526
550
|
"minLength": 3
|
|
527
551
|
},
|