@todesktop/cli 1.18.0 → 1.18.2
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 +341 -153
- package/dist/cli.js +118 -155
- package/dist/cli.js.map +3 -3
- package/dist/types.d.ts +4 -0
- package/package.json +9 -35
- package/schemas/schema.json +6 -0
package/dist/types.d.ts
CHANGED
|
@@ -339,6 +339,10 @@ export interface MasConfigProperty {
|
|
|
339
339
|
* Whether to sign app for development or for distribution.
|
|
340
340
|
*/
|
|
341
341
|
type?: 'development' | 'distribution';
|
|
342
|
+
/**
|
|
343
|
+
* The minimum macOS version required to run the app. Set to '12.0' or higher for arm64-only Mac App Store submissions.
|
|
344
|
+
*/
|
|
345
|
+
minimumSystemVersion?: string;
|
|
342
346
|
/**
|
|
343
347
|
* Minimatch pattern of paths that are allowed to be x64 binaries in both ASAR files.
|
|
344
348
|
*/
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"name": "@todesktop/cli",
|
|
7
|
-
"version": "1.18.
|
|
7
|
+
"version": "1.18.2",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"author": "Dave Jeffery <dave@todesktop.com> (http://www.todesktop.com/)",
|
|
10
10
|
"homepage": "https://todesktop.com/cli",
|
|
@@ -19,16 +19,13 @@
|
|
|
19
19
|
"node": ">=16"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
|
-
"build": "scripts/esbuild.js",
|
|
23
|
-
"dev": "scripts/esbuild.js --link --watch --stage dev",
|
|
24
|
-
"dev:local:prod": "scripts/esbuild.js --link --watch --stage prod-local",
|
|
25
|
-
"dev:prod": "scripts/esbuild.js --link --watch",
|
|
22
|
+
"build": "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
26
|
"docs:generate": "node scripts/generate-readme.js",
|
|
27
|
-
"format": "prettier --write
|
|
28
|
-
"lint": "
|
|
29
|
-
"lint--fix": "eslint src test --fix",
|
|
30
|
-
"lint:styles": "eslint src test .eslintrc.js && prettier --check .",
|
|
31
|
-
"lint:types": "tsc && tsc-strict",
|
|
27
|
+
"format": "prettier . --write && eslint --fix",
|
|
28
|
+
"lint": "prettier . --check && eslint",
|
|
32
29
|
"types:generate": "node scripts/generate-types.js",
|
|
33
30
|
"release": "npm run docs:generate && npm run build && pnpx np --tag=latest",
|
|
34
31
|
"release-beta": "npm run docs:generate && npm run build && npx np --any-branch --no-tests --tag=beta",
|
|
@@ -96,30 +93,18 @@
|
|
|
96
93
|
"@types/is-ci": "^3.0.4",
|
|
97
94
|
"@types/node": "^20.8.4",
|
|
98
95
|
"@types/react": "^18.0.26",
|
|
99
|
-
"@typescript-eslint/eslint-plugin": "^5.46.1",
|
|
100
|
-
"@typescript-eslint/parser": "^5.46.1",
|
|
101
96
|
"ava": "^4.3.1",
|
|
102
97
|
"cp-cli": "^2.0.0",
|
|
103
98
|
"esbuild": "^0.25.10",
|
|
104
99
|
"esbuild-register": "^3.4.1",
|
|
105
|
-
"eslint": "
|
|
106
|
-
"eslint-config-prettier": "^8.5.0",
|
|
107
|
-
"eslint-plugin-import": "^2.26.0",
|
|
108
|
-
"eslint-plugin-node": "^11.1.0",
|
|
109
|
-
"eslint-plugin-prettier": "^4.2.1",
|
|
110
|
-
"eslint-plugin-promise": "^6.1.1",
|
|
111
|
-
"eslint-plugin-react": "^7.31.11",
|
|
112
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
113
|
-
"eslint-plugin-standard": "^4.1.0",
|
|
100
|
+
"eslint": "catalog:",
|
|
114
101
|
"execa": "^4.0.3",
|
|
115
102
|
"extract-zip": "^2.0.1",
|
|
116
103
|
"fs-extra": "^9.0.1",
|
|
117
|
-
"husky": "^4.3.0",
|
|
118
104
|
"ink-testing-library": "^2.1.0",
|
|
119
105
|
"json-schema-to-typescript": "^15.0.4",
|
|
120
|
-
"lint-staged": "^10.2.11",
|
|
121
106
|
"package-json-type": "^1.0.3",
|
|
122
|
-
"prettier": "
|
|
107
|
+
"prettier": "catalog:",
|
|
123
108
|
"proxyquire": "^2.1.3",
|
|
124
109
|
"sinon": "^9.0.3",
|
|
125
110
|
"typescript": "catalog:",
|
|
@@ -145,17 +130,6 @@
|
|
|
145
130
|
],
|
|
146
131
|
"timeout": "10m"
|
|
147
132
|
},
|
|
148
|
-
"lint-staged": {
|
|
149
|
-
"**/*.{js,ts,tsx}": [
|
|
150
|
-
"eslint src --fix",
|
|
151
|
-
"git add"
|
|
152
|
-
]
|
|
153
|
-
},
|
|
154
|
-
"husky": {
|
|
155
|
-
"hooks": {
|
|
156
|
-
"pre-commit": "lint-staged"
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
133
|
"packageExtensions": {
|
|
160
134
|
"ink-progress-bar@*": {
|
|
161
135
|
"dependencies": {
|
package/schemas/schema.json
CHANGED
|
@@ -533,6 +533,12 @@
|
|
|
533
533
|
"examples": ["distribution"],
|
|
534
534
|
"default": "development"
|
|
535
535
|
},
|
|
536
|
+
"minimumSystemVersion": {
|
|
537
|
+
"type": "string",
|
|
538
|
+
"description": "The minimum macOS version required to run the app. Set to '12.0' or higher for arm64-only Mac App Store submissions.",
|
|
539
|
+
"examples": ["12.0", "11.0", "10.15"],
|
|
540
|
+
"pattern": "^[0-9]+\\.[0-9]+(\\.[0-9]+)?$"
|
|
541
|
+
},
|
|
536
542
|
"x64ArchFiles": {
|
|
537
543
|
"type": "string",
|
|
538
544
|
"description": "Minimatch pattern of paths that are allowed to be x64 binaries in both ASAR files.",
|