@todesktop/cli 1.22.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/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
  /**
@@ -371,7 +371,7 @@ export interface MacConfigProperty {
371
371
  */
372
372
  extendInfo?: {};
373
373
  /**
374
- * The path to your application's Mac desktop icon. It must be an ICNS or PNG.
374
+ * The path to your application's Mac desktop icon. It must be an ICNS, PNG, or Apple `.icon` package directory.
375
375
  */
376
376
  icon?: string;
377
377
  /**
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "name": "@todesktop/cli",
7
- "version": "1.22.0",
7
+ "version": "1.23.0",
8
8
  "license": "MIT",
9
9
  "author": "Dave Jeffery <dave@todesktop.com> (http://www.todesktop.com/)",
10
10
  "homepage": "https://todesktop.com/cli",
@@ -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
- "validSemver": {},
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",
@@ -538,11 +539,13 @@
538
539
  },
539
540
  "icon": {
540
541
  "type": "string",
541
- "description": "The path to your application's Mac desktop icon. It must be an ICNS or PNG.",
542
+ "description": "The path to your application's Mac desktop icon. It must be an ICNS, PNG, or Apple `.icon` package directory.",
542
543
  "examples": ["./mac-icon.png"],
543
544
  "file": {
544
- "extensions": ["icns", "png"],
545
- "mustBeFile": true
545
+ "extensions": ["icns", "png", "icon"],
546
+ "mustBeFile": true,
547
+ "allowDirectoryExtensions": ["icon"],
548
+ "mustBeDirectoryExtensions": ["icon"]
546
549
  },
547
550
  "minLength": 3
548
551
  },