@tauri-apps/cli 1.5.14 → 1.6.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/package.json +11 -11
  3. package/schema.json +316 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## \[1.6.0]
4
+
5
+ ### New Features
6
+
7
+ - [`253595a22`](https://www.github.com/tauri-apps/tauri/commit/253595a22d8659a1cb199bfc423e988ea82191e6) ([#9809](https://www.github.com/tauri-apps/tauri/pull/9809)) Add RPM packaging
8
+ - [`a301be52d`](https://www.github.com/tauri-apps/tauri/commit/a301be52d276f1e99316d23b4f0a8e458e29bc35) ([#9914](https://www.github.com/tauri-apps/tauri/pull/9914)) Use cargo's target directory to store and cache bundling tools when `bundle > useLocalToolsDir` option is active.
9
+
10
+ ### Bug Fixes
11
+
12
+ - [`08f57efef`](https://www.github.com/tauri-apps/tauri/commit/08f57efefdd6dac10277bfc5f71eba0ca84a64c4) ([#10136](https://www.github.com/tauri-apps/tauri/pull/10136)) Fix parsing of cargo profile when using `--profile=<profile>` syntax.
13
+ - [`674accad7`](https://www.github.com/tauri-apps/tauri/commit/674accad75fccac6f9adc515a863f9d59efbee57) ([#10015](https://www.github.com/tauri-apps/tauri/pull/10015)) Add missing dependency `libayatana-appindicator3.so.1` for rpm package.
14
+
15
+ ### Dependencies
16
+
17
+ - Upgraded to `tauri-cli@1.6.0`
18
+
3
19
  ## \[1.5.14]
4
20
 
5
21
  ### Dependencies
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tauri-apps/cli",
3
- "version": "1.5.14",
3
+ "version": "1.6.0",
4
4
  "description": "Command line interface for building Tauri apps",
5
5
  "funding": {
6
6
  "type": "opencollective",
@@ -68,15 +68,15 @@
68
68
  "format:check": "prettier --check ./package.json ./tauri.js"
69
69
  },
70
70
  "optionalDependencies": {
71
- "@tauri-apps/cli-win32-x64-msvc": "1.5.14",
72
- "@tauri-apps/cli-darwin-x64": "1.5.14",
73
- "@tauri-apps/cli-linux-x64-gnu": "1.5.14",
74
- "@tauri-apps/cli-darwin-arm64": "1.5.14",
75
- "@tauri-apps/cli-linux-arm64-gnu": "1.5.14",
76
- "@tauri-apps/cli-linux-arm64-musl": "1.5.14",
77
- "@tauri-apps/cli-linux-arm-gnueabihf": "1.5.14",
78
- "@tauri-apps/cli-linux-x64-musl": "1.5.14",
79
- "@tauri-apps/cli-win32-ia32-msvc": "1.5.14",
80
- "@tauri-apps/cli-win32-arm64-msvc": "1.5.14"
71
+ "@tauri-apps/cli-win32-x64-msvc": "1.6.0",
72
+ "@tauri-apps/cli-darwin-x64": "1.6.0",
73
+ "@tauri-apps/cli-linux-x64-gnu": "1.6.0",
74
+ "@tauri-apps/cli-darwin-arm64": "1.6.0",
75
+ "@tauri-apps/cli-linux-arm64-gnu": "1.6.0",
76
+ "@tauri-apps/cli-linux-arm64-musl": "1.6.0",
77
+ "@tauri-apps/cli-linux-arm-gnueabihf": "1.6.0",
78
+ "@tauri-apps/cli-linux-x64-musl": "1.6.0",
79
+ "@tauri-apps/cli-win32-ia32-msvc": "1.6.0",
80
+ "@tauri-apps/cli-win32-arm64-msvc": "1.6.0"
81
81
  }
82
82
  }
package/schema.json CHANGED
@@ -139,17 +139,38 @@
139
139
  "deb": {
140
140
  "files": {}
141
141
  },
142
+ "dmg": {
143
+ "appPosition": {
144
+ "x": 180,
145
+ "y": 170
146
+ },
147
+ "applicationFolderPosition": {
148
+ "x": 480,
149
+ "y": 170
150
+ },
151
+ "windowSize": {
152
+ "height": 400,
153
+ "width": 660
154
+ }
155
+ },
142
156
  "icon": [],
143
157
  "identifier": "",
144
158
  "macOS": {
145
159
  "minimumSystemVersion": "10.13"
146
160
  },
161
+ "rpm": {
162
+ "epoch": 0,
163
+ "files": {},
164
+ "release": "1"
165
+ },
147
166
  "targets": "all",
167
+ "useLocalToolsDir": false,
148
168
  "windows": {
149
169
  "allowDowngrades": true,
150
170
  "certificateThumbprint": null,
151
171
  "digestAlgorithm": null,
152
172
  "nsis": null,
173
+ "signCommand": null,
153
174
  "timestampUrl": null,
154
175
  "tsp": false,
155
176
  "webviewFixedRuntimePath": null,
@@ -278,17 +299,38 @@
278
299
  "deb": {
279
300
  "files": {}
280
301
  },
302
+ "dmg": {
303
+ "appPosition": {
304
+ "x": 180,
305
+ "y": 170
306
+ },
307
+ "applicationFolderPosition": {
308
+ "x": 480,
309
+ "y": 170
310
+ },
311
+ "windowSize": {
312
+ "height": 400,
313
+ "width": 660
314
+ }
315
+ },
281
316
  "icon": [],
282
317
  "identifier": "",
283
318
  "macOS": {
284
319
  "minimumSystemVersion": "10.13"
285
320
  },
321
+ "rpm": {
322
+ "epoch": 0,
323
+ "files": {},
324
+ "release": "1"
325
+ },
286
326
  "targets": "all",
327
+ "useLocalToolsDir": false,
287
328
  "windows": {
288
329
  "allowDowngrades": true,
289
330
  "certificateThumbprint": null,
290
331
  "digestAlgorithm": null,
291
332
  "nsis": null,
333
+ "signCommand": null,
292
334
  "timestampUrl": null,
293
335
  "tsp": false,
294
336
  "webviewFixedRuntimePath": null,
@@ -1046,7 +1088,7 @@
1046
1088
  "type": "boolean"
1047
1089
  },
1048
1090
  "targets": {
1049
- "description": "The bundle targets, currently supports [\"deb\", \"appimage\", \"nsis\", \"msi\", \"app\", \"dmg\", \"updater\"] or \"all\".",
1091
+ "description": "The bundle targets, currently supports [\"deb\", \"rpm\", \"appimage\", \"nsis\", \"msi\", \"app\", \"dmg\", \"updater\"] or \"all\".",
1050
1092
  "default": "all",
1051
1093
  "allOf": [
1052
1094
  {
@@ -1112,6 +1154,11 @@
1112
1154
  "null"
1113
1155
  ]
1114
1156
  },
1157
+ "useLocalToolsDir": {
1158
+ "description": "Whether to use the project's `target` directory, for caching build tools (e.g., Wix and NSIS) when building this application. Defaults to `false`.\n\nIf true, tools will be cached in `target\\.tauri-tools`. If false, tools will be cached in the current user's platform-specific cache directory.\n\nAn example where it can be appropriate to set this to `true` is when building this application as a Windows System user (e.g., AWS EC2 workloads), because the Window system's app data directory is restricted.",
1159
+ "default": false,
1160
+ "type": "boolean"
1161
+ },
1115
1162
  "appimage": {
1116
1163
  "description": "Configuration for the AppImage bundle.",
1117
1164
  "default": {
@@ -1134,6 +1181,41 @@
1134
1181
  }
1135
1182
  ]
1136
1183
  },
1184
+ "rpm": {
1185
+ "description": "Configuration for the RPM bundle.",
1186
+ "default": {
1187
+ "epoch": 0,
1188
+ "files": {},
1189
+ "release": "1"
1190
+ },
1191
+ "allOf": [
1192
+ {
1193
+ "$ref": "#/definitions/RpmConfig"
1194
+ }
1195
+ ]
1196
+ },
1197
+ "dmg": {
1198
+ "description": "DMG-specific settings.",
1199
+ "default": {
1200
+ "appPosition": {
1201
+ "x": 180,
1202
+ "y": 170
1203
+ },
1204
+ "applicationFolderPosition": {
1205
+ "x": 480,
1206
+ "y": 170
1207
+ },
1208
+ "windowSize": {
1209
+ "height": 400,
1210
+ "width": 660
1211
+ }
1212
+ },
1213
+ "allOf": [
1214
+ {
1215
+ "$ref": "#/definitions/DmgConfig"
1216
+ }
1217
+ ]
1218
+ },
1137
1219
  "macOS": {
1138
1220
  "description": "Configuration for the macOS bundles.",
1139
1221
  "default": {
@@ -1162,6 +1244,7 @@
1162
1244
  "certificateThumbprint": null,
1163
1245
  "digestAlgorithm": null,
1164
1246
  "nsis": null,
1247
+ "signCommand": null,
1165
1248
  "timestampUrl": null,
1166
1249
  "tsp": false,
1167
1250
  "webviewFixedRuntimePath": null,
@@ -1216,6 +1299,13 @@
1216
1299
  "deb"
1217
1300
  ]
1218
1301
  },
1302
+ {
1303
+ "description": "The RPM bundle (.rpm).",
1304
+ "type": "string",
1305
+ "enum": [
1306
+ "rpm"
1307
+ ]
1308
+ },
1219
1309
  {
1220
1310
  "description": "The AppImage bundle (.appimage).",
1221
1311
  "type": "string",
@@ -1305,6 +1395,36 @@
1305
1395
  "type": "string"
1306
1396
  }
1307
1397
  },
1398
+ "provides": {
1399
+ "description": "The list of dependencies the package provides.",
1400
+ "type": [
1401
+ "array",
1402
+ "null"
1403
+ ],
1404
+ "items": {
1405
+ "type": "string"
1406
+ }
1407
+ },
1408
+ "conflicts": {
1409
+ "description": "The list of package conflicts.",
1410
+ "type": [
1411
+ "array",
1412
+ "null"
1413
+ ],
1414
+ "items": {
1415
+ "type": "string"
1416
+ }
1417
+ },
1418
+ "replaces": {
1419
+ "description": "The list of package replaces.",
1420
+ "type": [
1421
+ "array",
1422
+ "null"
1423
+ ],
1424
+ "items": {
1425
+ "type": "string"
1426
+ }
1427
+ },
1308
1428
  "files": {
1309
1429
  "description": "The files to include on the package.",
1310
1430
  "default": {},
@@ -1344,6 +1464,194 @@
1344
1464
  },
1345
1465
  "additionalProperties": false
1346
1466
  },
1467
+ "RpmConfig": {
1468
+ "description": "Configuration for RPM bundles.",
1469
+ "type": "object",
1470
+ "properties": {
1471
+ "license": {
1472
+ "description": "The package's license identifier. If not set, defaults to the license from the Cargo.toml file.",
1473
+ "type": [
1474
+ "string",
1475
+ "null"
1476
+ ]
1477
+ },
1478
+ "depends": {
1479
+ "description": "The list of RPM dependencies your application relies on.",
1480
+ "type": [
1481
+ "array",
1482
+ "null"
1483
+ ],
1484
+ "items": {
1485
+ "type": "string"
1486
+ }
1487
+ },
1488
+ "provides": {
1489
+ "description": "The list of RPM dependencies your application provides.",
1490
+ "type": [
1491
+ "array",
1492
+ "null"
1493
+ ],
1494
+ "items": {
1495
+ "type": "string"
1496
+ }
1497
+ },
1498
+ "conflicts": {
1499
+ "description": "The list of RPM dependencies your application conflicts with. They must not be present in order for the package to be installed.",
1500
+ "type": [
1501
+ "array",
1502
+ "null"
1503
+ ],
1504
+ "items": {
1505
+ "type": "string"
1506
+ }
1507
+ },
1508
+ "obsoletes": {
1509
+ "description": "The list of RPM dependencies your application supersedes - if this package is installed, packages listed as “obsoletes” will be automatically removed (if they are present).",
1510
+ "type": [
1511
+ "array",
1512
+ "null"
1513
+ ],
1514
+ "items": {
1515
+ "type": "string"
1516
+ }
1517
+ },
1518
+ "release": {
1519
+ "description": "The RPM release tag.",
1520
+ "default": "1",
1521
+ "type": "string"
1522
+ },
1523
+ "epoch": {
1524
+ "description": "The RPM epoch.",
1525
+ "default": 0,
1526
+ "type": "integer",
1527
+ "format": "uint32",
1528
+ "minimum": 0.0
1529
+ },
1530
+ "files": {
1531
+ "description": "The files to include on the package.",
1532
+ "default": {},
1533
+ "type": "object",
1534
+ "additionalProperties": {
1535
+ "type": "string"
1536
+ }
1537
+ },
1538
+ "desktopTemplate": {
1539
+ "description": "Path to a custom desktop file Handlebars template.\n\nAvailable variables: `categories`, `comment` (optional), `exec`, `icon` and `name`.",
1540
+ "type": [
1541
+ "string",
1542
+ "null"
1543
+ ]
1544
+ }
1545
+ },
1546
+ "additionalProperties": false
1547
+ },
1548
+ "DmgConfig": {
1549
+ "description": "Configuration for Apple Disk Image (.dmg) bundles.\n\nSee more: https://tauri.app/v1/api/config#dmgconfig",
1550
+ "type": "object",
1551
+ "properties": {
1552
+ "background": {
1553
+ "description": "Image to use as the background in dmg file. Accepted formats: `png`/`jpg`/`gif`.",
1554
+ "type": [
1555
+ "string",
1556
+ "null"
1557
+ ]
1558
+ },
1559
+ "windowPosition": {
1560
+ "description": "Position of volume window on screen.",
1561
+ "anyOf": [
1562
+ {
1563
+ "$ref": "#/definitions/Position"
1564
+ },
1565
+ {
1566
+ "type": "null"
1567
+ }
1568
+ ]
1569
+ },
1570
+ "windowSize": {
1571
+ "description": "Size of volume window.",
1572
+ "default": {
1573
+ "height": 400,
1574
+ "width": 660
1575
+ },
1576
+ "allOf": [
1577
+ {
1578
+ "$ref": "#/definitions/Size"
1579
+ }
1580
+ ]
1581
+ },
1582
+ "appPosition": {
1583
+ "description": "Position of app file on window.",
1584
+ "default": {
1585
+ "x": 180,
1586
+ "y": 170
1587
+ },
1588
+ "allOf": [
1589
+ {
1590
+ "$ref": "#/definitions/Position"
1591
+ }
1592
+ ]
1593
+ },
1594
+ "applicationFolderPosition": {
1595
+ "description": "Position of application folder on window.",
1596
+ "default": {
1597
+ "x": 480,
1598
+ "y": 170
1599
+ },
1600
+ "allOf": [
1601
+ {
1602
+ "$ref": "#/definitions/Position"
1603
+ }
1604
+ ]
1605
+ }
1606
+ },
1607
+ "additionalProperties": false
1608
+ },
1609
+ "Position": {
1610
+ "description": "Position coordinates struct.",
1611
+ "type": "object",
1612
+ "required": [
1613
+ "x",
1614
+ "y"
1615
+ ],
1616
+ "properties": {
1617
+ "x": {
1618
+ "description": "X coordinate.",
1619
+ "type": "integer",
1620
+ "format": "uint32",
1621
+ "minimum": 0.0
1622
+ },
1623
+ "y": {
1624
+ "description": "Y coordinate.",
1625
+ "type": "integer",
1626
+ "format": "uint32",
1627
+ "minimum": 0.0
1628
+ }
1629
+ },
1630
+ "additionalProperties": false
1631
+ },
1632
+ "Size": {
1633
+ "description": "Size of the window.",
1634
+ "type": "object",
1635
+ "required": [
1636
+ "height",
1637
+ "width"
1638
+ ],
1639
+ "properties": {
1640
+ "width": {
1641
+ "description": "Width of the window.",
1642
+ "type": "integer",
1643
+ "format": "uint32",
1644
+ "minimum": 0.0
1645
+ },
1646
+ "height": {
1647
+ "description": "Height of the window.",
1648
+ "type": "integer",
1649
+ "format": "uint32",
1650
+ "minimum": 0.0
1651
+ }
1652
+ },
1653
+ "additionalProperties": false
1654
+ },
1347
1655
  "MacConfig": {
1348
1656
  "description": "Configuration for the macOS bundles.\n\nSee more: https://tauri.app/v1/api/config#macconfig",
1349
1657
  "type": "object",
@@ -1479,6 +1787,13 @@
1479
1787
  "type": "null"
1480
1788
  }
1481
1789
  ]
1790
+ },
1791
+ "signCommand": {
1792
+ "description": "Specify a custom command to sign the binaries. This command needs to have a `%1` in it which is just a placeholder for the binary path, which we will detect and replace before calling the command.\n\nExample: ```text sign-cli --arg1 --arg2 %1 ```\n\nBy Default we use `signtool.exe` which can be found only on Windows so if you are on another platform and want to cross-compile and sign you will need to use another tool like `osslsigncode`.",
1793
+ "type": [
1794
+ "string",
1795
+ "null"
1796
+ ]
1482
1797
  }
1483
1798
  },
1484
1799
  "additionalProperties": false