@todesktop/cli 1.20.0-1 → 1.21.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 +61 -2
- package/dist/cli.js +167 -116
- package/dist/cli.js.map +3 -3
- package/dist/types.d.ts +4 -0
- package/package.json +8 -7
- package/schemas/schema.json +10 -0
package/dist/types.d.ts
CHANGED
|
@@ -324,6 +324,10 @@ export interface LinuxConfigProperty {
|
|
|
324
324
|
* The version of the Linux image that ToDesktop should use to build your app.
|
|
325
325
|
*/
|
|
326
326
|
imageVersion?: string;
|
|
327
|
+
/**
|
|
328
|
+
* Additional command-line arguments to pass to the executable in the Linux .desktop file Exec line.
|
|
329
|
+
*/
|
|
330
|
+
executableArgs?: string[];
|
|
327
331
|
/**
|
|
328
332
|
* This option allows you to configure whether your app should run in a sandboxed environment.
|
|
329
333
|
*/
|
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.21.0",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"author": "Dave Jeffery <dave@todesktop.com> (http://www.todesktop.com/)",
|
|
10
10
|
"homepage": "https://todesktop.com/cli",
|
|
@@ -20,18 +20,19 @@
|
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
22
|
"build": "npm run docs:generate && npm run types:generate && node scripts/esbuild.js",
|
|
23
|
-
"dev": "node scripts/esbuild.js --link --watch --stage dev",
|
|
24
|
-
"dev:local:prod": "node scripts/esbuild.js --link --watch --stage prod-local",
|
|
25
|
-
"dev:prod": "node scripts/esbuild.js --link --watch",
|
|
26
23
|
"docs:generate": "node scripts/generate-readme.js",
|
|
27
24
|
"format": "prettier . --write && eslint --fix",
|
|
28
25
|
"lint": "prettier . --check && eslint",
|
|
29
|
-
"
|
|
26
|
+
"prepublishOnly": "npm run docs:generate",
|
|
30
27
|
"test": "ava",
|
|
31
28
|
"test:e2e": "node test/output-snapshots/output.test.js",
|
|
32
|
-
"test
|
|
29
|
+
"test:watch": "npm test -- --watch",
|
|
33
30
|
"typecheck": "tsc --noEmit && tsc-strict",
|
|
34
|
-
"
|
|
31
|
+
"types:generate": "node scripts/generate-types.js",
|
|
32
|
+
"watch:dev": "node scripts/esbuild.js --link --watch --stage dev",
|
|
33
|
+
"watch:dev-local": "node scripts/esbuild.js --link --watch --stage dev-local",
|
|
34
|
+
"watch:prod": "node scripts/esbuild.js --link --watch",
|
|
35
|
+
"watch:prod-local": "node scripts/esbuild.js --link --watch --stage prod-local"
|
|
35
36
|
},
|
|
36
37
|
"files": [
|
|
37
38
|
"scripts/postinstall.js",
|
package/schemas/schema.json
CHANGED
|
@@ -443,6 +443,16 @@
|
|
|
443
443
|
"examples": ["0.1.0"],
|
|
444
444
|
"default": "0.0.12"
|
|
445
445
|
},
|
|
446
|
+
"executableArgs": {
|
|
447
|
+
"type": "array",
|
|
448
|
+
"items": {
|
|
449
|
+
"type": "string"
|
|
450
|
+
},
|
|
451
|
+
"description": "Additional command-line arguments to pass to the executable in the Linux .desktop file Exec line.",
|
|
452
|
+
"examples": [
|
|
453
|
+
["--enable-features=UseOzonePlatform", "--ozone-platform=x11"]
|
|
454
|
+
]
|
|
455
|
+
},
|
|
446
456
|
"noSandbox": {
|
|
447
457
|
"type": "boolean",
|
|
448
458
|
"description": "This option allows you to configure whether your app should run in a sandboxed environment.",
|