@todesktop/cli 1.21.0 → 1.22.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 CHANGED
@@ -48,7 +48,7 @@ Create a `todesktop.json` file in the root of your Electron project.
48
48
 
49
49
  ```json
50
50
  {
51
- "$schema": "https://unpkg.com/@todesktop/cli@1.21.0/schemas/schema.json",
51
+ "$schema": "https://unpkg.com/@todesktop/cli@1.22.0/schemas/schema.json",
52
52
  "schemaVersion": 1
53
53
  "id": "your-todesktop-id",
54
54
  "icon": "./desktop-icon.png",
@@ -413,7 +413,7 @@ To enable JSON validation and IntelliSense for your `todesktop.json` file in com
413
413
  - For example, if using a hosted version of the schema:
414
414
  ```json
415
415
  {
416
- "$schema": "https://unpkg.com/@todesktop/cli@1.21.0/schemas/schema.json",
416
+ "$schema": "https://unpkg.com/@todesktop/cli@1.22.0/schemas/schema.json",
417
417
  "id": "your-todesktop-id"
418
418
  }
419
419
  ```
@@ -931,6 +931,30 @@ example, some apps need Ozone platform flags for Wayland/X11 compatibility:
931
931
  Note: `--no-sandbox` is included by default. If you set `executableArgs`, it
932
932
  will be preserved automatically unless you also set `noSandbox` to `false`.
933
933
 
934
+ ### `linux.deb` - (optional) object
935
+
936
+ Configuration for Debian (.deb) packaging.
937
+
938
+ #### `linux.deb.additionalDepends` - (optional) string[]
939
+
940
+ Additional package dependencies to append to ToDesktop's default .deb dependencies.
941
+
942
+ This appends to ToDesktop's default Debian dependency list:
943
+
944
+ - `libgtk-3-0`
945
+ - `libnotify4`
946
+ - `libnss3`
947
+ - `libxss1`
948
+ - `libxtst6`
949
+ - `xdg-utils`
950
+ - `libatspi2.0-0`
951
+ - `libuuid1`
952
+ - `libsecret-1-0`
953
+
954
+ #### `linux.deb.depends` - (optional) string[]
955
+
956
+ The list of package dependencies for the .deb package. This overwrites ToDesktop's default dependency list and linux.deb.additionalDepends.
957
+
934
958
  ### `linux.noSandbox` - (optional) boolean
935
959
 
936
960
  Default: `true`
@@ -1702,6 +1726,13 @@ Now, when we build your app on ToDesktop servers, it will also run your custom
1702
1726
 
1703
1727
  ## Changelog
1704
1728
 
1729
+ ### 1.22.0
1730
+
1731
+ #### Minor Changes
1732
+
1733
+ - c0222ed: Added support for custom deb package dependencies via
1734
+ `linux.deb.depends` in todesktop.json
1735
+
1705
1736
  ### 1.21.0
1706
1737
 
1707
1738
  #### Minor Changes
package/dist/cli.js CHANGED
@@ -2902,6 +2902,27 @@ var schema_default = {
2902
2902
  ["--enable-features=UseOzonePlatform", "--ozone-platform=x11"]
2903
2903
  ]
2904
2904
  },
2905
+ deb: {
2906
+ type: "object",
2907
+ description: "Configuration for Debian (.deb) packaging.",
2908
+ additionalProperties: false,
2909
+ properties: {
2910
+ additionalDepends: {
2911
+ type: "array",
2912
+ items: {
2913
+ type: "string"
2914
+ },
2915
+ description: "Additional package dependencies to append to ToDesktop's default .deb dependencies."
2916
+ },
2917
+ depends: {
2918
+ type: "array",
2919
+ items: {
2920
+ type: "string"
2921
+ },
2922
+ description: "The list of package dependencies for the .deb package. This overwrites ToDesktop's default dependency list and linux.deb.additionalDepends."
2923
+ }
2924
+ }
2925
+ },
2905
2926
  noSandbox: {
2906
2927
  type: "boolean",
2907
2928
  description: "This option allows you to configure whether your app should run in a sandboxed environment.",
@@ -8737,7 +8758,7 @@ var package_default = {
8737
8758
  access: "public"
8738
8759
  },
8739
8760
  name: "@todesktop/cli",
8740
- version: "1.21.0",
8761
+ version: "1.22.0",
8741
8762
  license: "MIT",
8742
8763
  author: "Dave Jeffery <dave@todesktop.com> (http://www.todesktop.com/)",
8743
8764
  homepage: "https://todesktop.com/cli",