@tauri-apps/cli 2.0.0-rc.16 → 2.0.0-rc.18
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/CHANGELOG.md +39 -0
- package/append-headers.js +15 -0
- package/config.schema.json +33 -20
- package/package.json +15 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## \[2.0.0-rc.18]
|
|
4
|
+
|
|
5
|
+
### Enhancements
|
|
6
|
+
|
|
7
|
+
- [`a08e6ffa6`](https://www.github.com/tauri-apps/tauri/commit/a08e6ffa6fe499553be3c4c620726d6031cd6dd3) ([#11185](https://www.github.com/tauri-apps/tauri/pull/11185) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Enhance port forwarding on `android dev` to be more resilient and tolerate delays when booting up devices.
|
|
8
|
+
- [`6cfe7edf6`](https://www.github.com/tauri-apps/tauri/commit/6cfe7edf63636fdf66c429efdeb7bc9a0f404e9f) ([#11186](https://www.github.com/tauri-apps/tauri/pull/11186) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Retain logger verbosity on the `android-studio-script` and `xcode-script` commands.
|
|
9
|
+
- [`60a5aea53`](https://www.github.com/tauri-apps/tauri/commit/60a5aea53db02ae6af325812ab97555f2c013d70) ([#11181](https://www.github.com/tauri-apps/tauri/pull/11181) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Set the `TRUNK_SERVE_ADDRESS` environment variable when running on iOS physical devices to support Trunk.
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
- [`f5d61822b`](https://www.github.com/tauri-apps/tauri/commit/f5d61822bf5988827776dd58bed75c19364e86bd) ([#11184](https://www.github.com/tauri-apps/tauri/pull/11184) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Fix iOS application not including the provided capabilities (entitlements).
|
|
14
|
+
|
|
15
|
+
### Dependencies
|
|
16
|
+
|
|
17
|
+
- Upgraded to `tauri-cli@2.0.0-rc.18`
|
|
18
|
+
|
|
19
|
+
## \[2.0.0-rc.17]
|
|
20
|
+
|
|
21
|
+
### New Features
|
|
22
|
+
|
|
23
|
+
- [`a944b9b05`](https://www.github.com/tauri-apps/tauri/commit/a944b9b05bc5ae6125ff451e86c5b207c511f3d7) ([#11118](https://www.github.com/tauri-apps/tauri/pull/11118) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `--github-workflows` flag for `tauri plugin new/init`.
|
|
24
|
+
- [`f57a729cd`](https://www.github.com/tauri-apps/tauri/commit/f57a729cd8f7e10d8daf0b9d5b85f9c7ad530496) ([#11039](https://www.github.com/tauri-apps/tauri/pull/11039) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `tauri inspect wix-upgrade-code` to print default Upgrade Code for your MSI installer derived from `productName`.
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
- [`62b52f60a`](https://www.github.com/tauri-apps/tauri/commit/62b52f60a22ef84c4a2a2d9e662038b49f58e16c) ([#11064](https://www.github.com/tauri-apps/tauri/pull/11064) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix `tauri add` failing to add NPM depenency with `npm` package manager.
|
|
29
|
+
- [`56e087471`](https://www.github.com/tauri-apps/tauri/commit/56e087471a347f6bee7422221a956925c60b17e3) ([#11100](https://www.github.com/tauri-apps/tauri/pull/11100) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Fix iOS xcode-script usage with `bun`.
|
|
30
|
+
- [`b88e22a5f`](https://www.github.com/tauri-apps/tauri/commit/b88e22a5fe4e2e4376d6cad64d1e74d104ca8927) ([#11063](https://www.github.com/tauri-apps/tauri/pull/11063) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) The cli now only sets the iOS deployment target environment variable when building for iOS.
|
|
31
|
+
- [`8d22c0c81`](https://www.github.com/tauri-apps/tauri/commit/8d22c0c814e7227d5e56ce9a08929045ccea1a1b) ([#11101](https://www.github.com/tauri-apps/tauri/pull/11101) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Only modify the iOS Xcode project "sign style" if we need to enforce manual signing.
|
|
32
|
+
- [`df24cb944`](https://www.github.com/tauri-apps/tauri/commit/df24cb944249ee398f6c8ba8c19757b398eec701) ([#11168](https://www.github.com/tauri-apps/tauri/pull/11168) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Fixes Xcode pbxproj file parsing not expecting `_` in build configuration IDs.
|
|
33
|
+
|
|
34
|
+
### Dependencies
|
|
35
|
+
|
|
36
|
+
- Upgraded to `tauri-cli@2.0.0-rc.17`
|
|
37
|
+
|
|
38
|
+
### Breaking Changes
|
|
39
|
+
|
|
40
|
+
- [`a944b9b05`](https://www.github.com/tauri-apps/tauri/commit/a944b9b05bc5ae6125ff451e86c5b207c511f3d7) ([#11118](https://www.github.com/tauri-apps/tauri/pull/11118) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) `tauri plugin init/new` will no longer generate a `.github` directory with workflows by default, instead use the new `--github-workflows` flag.
|
|
41
|
+
|
|
3
42
|
## \[2.0.0-rc.16]
|
|
4
43
|
|
|
5
44
|
### New Features
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Copyright 2019-2024 Tauri Programme within The Commons Conservancy
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
// SPDX-License-Identifier: MIT
|
|
4
|
+
|
|
5
|
+
const HEADERS = `// Copyright 2019-2024 Tauri Programme within The Commons Conservancy
|
|
6
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
7
|
+
// SPDX-License-Identifier: MIT`
|
|
8
|
+
|
|
9
|
+
const fs = require('fs')
|
|
10
|
+
|
|
11
|
+
for (const file of ['index.js', 'index.d.ts']) {
|
|
12
|
+
const content = fs.readFileSync(file, 'utf8')
|
|
13
|
+
const newContent = `${HEADERS}\n\n${content}`
|
|
14
|
+
fs.writeFileSync(file, newContent, 'utf8')
|
|
15
|
+
}
|
package/config.schema.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://schema.tauri.app/config/2.0.0-rc.
|
|
3
|
+
"$id": "https://schema.tauri.app/config/2.0.0-rc.17",
|
|
4
4
|
"title": "Config",
|
|
5
|
-
"description": "The Tauri configuration object.\n It is read from a file where you can define your frontend assets,\n configure the bundler and define a tray icon.\n\n The configuration file is generated by the\n [`tauri init`](https://tauri.app/
|
|
5
|
+
"description": "The Tauri configuration object.\n It is read from a file where you can define your frontend assets,\n configure the bundler and define a tray icon.\n\n The configuration file is generated by the\n [`tauri init`](https://v2.tauri.app/reference/cli/#init) command that lives in\n your Tauri application source directory (src-tauri).\n\n Once generated, you may modify it at will to customize your Tauri application.\n\n ## File Formats\n\n By default, the configuration is defined as a JSON file named `tauri.conf.json`.\n\n Tauri also supports JSON5 and TOML files via the `config-json5` and `config-toml` Cargo features, respectively.\n The JSON5 file name must be either `tauri.conf.json` or `tauri.conf.json5`.\n The TOML file name is `Tauri.toml`.\n\n ## Platform-Specific Configuration\n\n In addition to the default configuration file, Tauri can\n read a platform-specific configuration from `tauri.linux.conf.json`,\n `tauri.windows.conf.json`, `tauri.macos.conf.json`, `tauri.android.conf.json` and `tauri.ios.conf.json`\n (or `Tauri.linux.toml`, `Tauri.windows.toml`, `Tauri.macos.toml`, `Tauri.android.toml` and `Tauri.ios.toml` if the `Tauri.toml` format is used),\n which gets merged with the main configuration object.\n\n ## Configuration Structure\n\n The configuration is composed of the following objects:\n\n - [`app`](#appconfig): The Tauri configuration\n - [`build`](#buildconfig): The build configuration\n - [`bundle`](#bundleconfig): The bundle configurations\n - [`plugins`](#pluginconfig): The plugins configuration\n\n Example tauri.config.json file:\n\n ```json\n {\n \"productName\": \"tauri-app\",\n \"version\": \"0.1.0\",\n \"build\": {\n \"beforeBuildCommand\": \"\",\n \"beforeDevCommand\": \"\",\n \"devUrl\": \"../dist\",\n \"frontendDist\": \"../dist\"\n },\n \"app\": {\n \"security\": {\n \"csp\": null\n },\n \"windows\": [\n {\n \"fullscreen\": false,\n \"height\": 600,\n \"resizable\": true,\n \"title\": \"Tauri App\",\n \"width\": 800\n }\n ]\n },\n \"bundle\": {},\n \"plugins\": {}\n }\n ```",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"required": [
|
|
8
8
|
"identifier"
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
"additionalProperties": false,
|
|
158
158
|
"definitions": {
|
|
159
159
|
"AppConfig": {
|
|
160
|
-
"description": "The App configuration object.\n\n See more: <https://tauri.app/
|
|
160
|
+
"description": "The App configuration object.\n\n See more: <https://v2.tauri.app/reference/config/#appconfig>",
|
|
161
161
|
"type": "object",
|
|
162
162
|
"properties": {
|
|
163
163
|
"windows": {
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
"additionalProperties": false
|
|
219
219
|
},
|
|
220
220
|
"WindowConfig": {
|
|
221
|
-
"description": "The window configuration object.\n\n See more: <https://tauri.app/
|
|
221
|
+
"description": "The window configuration object.\n\n See more: <https://v2.tauri.app/reference/config/#windowconfig>",
|
|
222
222
|
"type": "object",
|
|
223
223
|
"properties": {
|
|
224
224
|
"label": {
|
|
@@ -481,6 +481,11 @@
|
|
|
481
481
|
"description": "Whether page zooming by hotkeys is enabled\n\n ## Platform-specific:\n\n - **Windows**: Controls WebView2's [`IsZoomControlEnabled`](https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2settings?view=webview2-winrt-1.0.2420.47#iszoomcontrolenabled) setting.\n - **MacOS / Linux**: Injects a polyfill that zooms in and out with `ctrl/command` + `-/=`,\n 20% in each step, ranging from 20% to 1000%. Requires `webview:allow-set-webview-zoom` permission\n\n - **Android / iOS**: Unsupported.",
|
|
482
482
|
"default": false,
|
|
483
483
|
"type": "boolean"
|
|
484
|
+
},
|
|
485
|
+
"browserExtensionsEnabled": {
|
|
486
|
+
"description": "Whether browser extensions can be installed for the webview process\n\n ## Platform-specific:\n\n - **Windows**: Enables the WebView2 environment's [`AreBrowserExtensionsEnabled`](https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2environmentoptions?view=webview2-winrt-1.0.2739.15#arebrowserextensionsenabled)\n - **MacOS / Linux / iOS / Android** - Unsupported.",
|
|
487
|
+
"default": false,
|
|
488
|
+
"type": "boolean"
|
|
484
489
|
}
|
|
485
490
|
},
|
|
486
491
|
"additionalProperties": false
|
|
@@ -850,7 +855,7 @@
|
|
|
850
855
|
"minItems": 4
|
|
851
856
|
},
|
|
852
857
|
"SecurityConfig": {
|
|
853
|
-
"description": "Security configuration.\n\n See more: <https://tauri.app/
|
|
858
|
+
"description": "Security configuration.\n\n See more: <https://v2.tauri.app/reference/config/#securityconfig>",
|
|
854
859
|
"type": "object",
|
|
855
860
|
"properties": {
|
|
856
861
|
"csp": {
|
|
@@ -972,7 +977,7 @@
|
|
|
972
977
|
]
|
|
973
978
|
},
|
|
974
979
|
"AssetProtocolConfig": {
|
|
975
|
-
"description": "Config for the asset custom protocol.\n\n See more: <https://tauri.app/
|
|
980
|
+
"description": "Config for the asset custom protocol.\n\n See more: <https://v2.tauri.app/reference/config/#assetprotocolconfig>",
|
|
976
981
|
"type": "object",
|
|
977
982
|
"properties": {
|
|
978
983
|
"scope": {
|
|
@@ -1329,7 +1334,7 @@
|
|
|
1329
1334
|
]
|
|
1330
1335
|
},
|
|
1331
1336
|
"TrayIconConfig": {
|
|
1332
|
-
"description": "Configuration for application tray icon.\n\n See more: <https://tauri.app/
|
|
1337
|
+
"description": "Configuration for application tray icon.\n\n See more: <https://v2.tauri.app/reference/config/#trayiconconfig>",
|
|
1333
1338
|
"type": "object",
|
|
1334
1339
|
"required": [
|
|
1335
1340
|
"iconPath"
|
|
@@ -1374,7 +1379,7 @@
|
|
|
1374
1379
|
"additionalProperties": false
|
|
1375
1380
|
},
|
|
1376
1381
|
"BuildConfig": {
|
|
1377
|
-
"description": "The Build configuration object.\n\n See more: <https://tauri.app/
|
|
1382
|
+
"description": "The Build configuration object.\n\n See more: <https://v2.tauri.app/reference/config/#buildconfig>",
|
|
1378
1383
|
"type": "object",
|
|
1379
1384
|
"properties": {
|
|
1380
1385
|
"runner": {
|
|
@@ -1534,7 +1539,7 @@
|
|
|
1534
1539
|
]
|
|
1535
1540
|
},
|
|
1536
1541
|
"BundleConfig": {
|
|
1537
|
-
"description": "Configuration for tauri-bundler.\n\n See more: <https://tauri.app/
|
|
1542
|
+
"description": "Configuration for tauri-bundler.\n\n See more: <https://v2.tauri.app/reference/config/#bundleconfig>",
|
|
1538
1543
|
"type": "object",
|
|
1539
1544
|
"properties": {
|
|
1540
1545
|
"active": {
|
|
@@ -1974,7 +1979,7 @@
|
|
|
1974
1979
|
]
|
|
1975
1980
|
},
|
|
1976
1981
|
"WindowsConfig": {
|
|
1977
|
-
"description": "Windows bundler configuration.\n\n See more: <https://tauri.app/
|
|
1982
|
+
"description": "Windows bundler configuration.\n\n See more: <https://v2.tauri.app/reference/config/#windowsconfig>",
|
|
1978
1983
|
"type": "object",
|
|
1979
1984
|
"properties": {
|
|
1980
1985
|
"digestAlgorithm": {
|
|
@@ -2057,7 +2062,7 @@
|
|
|
2057
2062
|
"additionalProperties": false
|
|
2058
2063
|
},
|
|
2059
2064
|
"WebviewInstallMode": {
|
|
2060
|
-
"description": "Install modes for the Webview2 runtime.\n Note that for the updater bundle [`Self::DownloadBootstrapper`] is used.\n\n For more information see <https://tauri.app/
|
|
2065
|
+
"description": "Install modes for the Webview2 runtime.\n Note that for the updater bundle [`Self::DownloadBootstrapper`] is used.\n\n For more information see <https://v2.tauri.app/distribute/windows-installer/#webview2-installation-options>.",
|
|
2061
2066
|
"oneOf": [
|
|
2062
2067
|
{
|
|
2063
2068
|
"description": "Do not install the Webview2 as part of the Windows Installer.",
|
|
@@ -2162,9 +2167,17 @@
|
|
|
2162
2167
|
]
|
|
2163
2168
|
},
|
|
2164
2169
|
"WixConfig": {
|
|
2165
|
-
"description": "Configuration for the MSI bundle using WiX.\n\n See more: <https://tauri.app/
|
|
2170
|
+
"description": "Configuration for the MSI bundle using WiX.\n\n See more: <https://v2.tauri.app/reference/config/#wixconfig>",
|
|
2166
2171
|
"type": "object",
|
|
2167
2172
|
"properties": {
|
|
2173
|
+
"upgradeCode": {
|
|
2174
|
+
"description": "A GUID upgrade code for MSI installer. This code **_must stay the same across all of your updates_**,\n otherwise, Windows will treat your update as a different app and your users will have duplicate versions of your app.\n\n By default, tauri generates this code by generating a Uuid v5 using the string `<productName>.exe.app.x64` in the DNS namespace.\n You can use Tauri's CLI to generate and print this code for you, run `tauri inspect wix-upgrade-code`.\n\n It is recommended that you set this value in your tauri config file to avoid accidental changes in your upgrade code\n whenever you want to change your product name.",
|
|
2175
|
+
"type": [
|
|
2176
|
+
"string",
|
|
2177
|
+
"null"
|
|
2178
|
+
],
|
|
2179
|
+
"format": "uuid"
|
|
2180
|
+
},
|
|
2168
2181
|
"language": {
|
|
2169
2182
|
"description": "The installer languages to build. See <https://docs.microsoft.com/en-us/windows/win32/msi/localizing-the-error-and-actiontext-tables>.",
|
|
2170
2183
|
"default": "en-US",
|
|
@@ -2275,7 +2288,7 @@
|
|
|
2275
2288
|
]
|
|
2276
2289
|
},
|
|
2277
2290
|
"WixLanguageConfig": {
|
|
2278
|
-
"description": "Configuration for a target language for the WiX build.\n\n See more: <https://tauri.app/
|
|
2291
|
+
"description": "Configuration for a target language for the WiX build.\n\n See more: <https://v2.tauri.app/reference/config/#wixlanguageconfig>",
|
|
2279
2292
|
"type": "object",
|
|
2280
2293
|
"properties": {
|
|
2281
2294
|
"localePath": {
|
|
@@ -2340,7 +2353,7 @@
|
|
|
2340
2353
|
}
|
|
2341
2354
|
},
|
|
2342
2355
|
"customLanguageFiles": {
|
|
2343
|
-
"description": "A key-value pair where the key is the language and the\n value is the path to a custom `.nsh` file that holds the translated text for tauri's custom messages.\n\n See <https://github.com/tauri-apps/tauri/blob/dev/crates/tauri-bundler/src/bundle/windows/
|
|
2356
|
+
"description": "A key-value pair where the key is the language and the\n value is the path to a custom `.nsh` file that holds the translated text for tauri's custom messages.\n\n See <https://github.com/tauri-apps/tauri/blob/dev/crates/tauri-bundler/src/bundle/windows/nsis/languages/English.nsh> for an example `.nsh` file.\n\n **Note**: the key must be a valid NSIS language and it must be added to [`NsisConfig`] languages array,",
|
|
2344
2357
|
"type": [
|
|
2345
2358
|
"object",
|
|
2346
2359
|
"null"
|
|
@@ -2478,7 +2491,7 @@
|
|
|
2478
2491
|
]
|
|
2479
2492
|
},
|
|
2480
2493
|
"LinuxConfig": {
|
|
2481
|
-
"description": "Configuration for Linux bundles.\n\n See more: <https://tauri.app/
|
|
2494
|
+
"description": "Configuration for Linux bundles.\n\n See more: <https://v2.tauri.app/reference/config/#linuxconfig>",
|
|
2482
2495
|
"type": "object",
|
|
2483
2496
|
"properties": {
|
|
2484
2497
|
"appimage": {
|
|
@@ -2521,7 +2534,7 @@
|
|
|
2521
2534
|
"additionalProperties": false
|
|
2522
2535
|
},
|
|
2523
2536
|
"AppImageConfig": {
|
|
2524
|
-
"description": "Configuration for AppImage bundles.\n\n See more: <https://tauri.app/
|
|
2537
|
+
"description": "Configuration for AppImage bundles.\n\n See more: <https://v2.tauri.app/reference/config/#appimageconfig>",
|
|
2525
2538
|
"type": "object",
|
|
2526
2539
|
"properties": {
|
|
2527
2540
|
"bundleMediaFramework": {
|
|
@@ -2541,7 +2554,7 @@
|
|
|
2541
2554
|
"additionalProperties": false
|
|
2542
2555
|
},
|
|
2543
2556
|
"DebConfig": {
|
|
2544
|
-
"description": "Configuration for Debian (.deb) bundles.\n\n See more: <https://tauri.app/
|
|
2557
|
+
"description": "Configuration for Debian (.deb) bundles.\n\n See more: <https://v2.tauri.app/reference/config/#debconfig>",
|
|
2545
2558
|
"type": "object",
|
|
2546
2559
|
"properties": {
|
|
2547
2560
|
"depends": {
|
|
@@ -2754,7 +2767,7 @@
|
|
|
2754
2767
|
"additionalProperties": false
|
|
2755
2768
|
},
|
|
2756
2769
|
"MacConfig": {
|
|
2757
|
-
"description": "Configuration for the macOS bundles.\n\n See more: <https://tauri.app/
|
|
2770
|
+
"description": "Configuration for the macOS bundles.\n\n See more: <https://v2.tauri.app/reference/config/#macconfig>",
|
|
2758
2771
|
"type": "object",
|
|
2759
2772
|
"properties": {
|
|
2760
2773
|
"frameworks": {
|
|
@@ -2842,7 +2855,7 @@
|
|
|
2842
2855
|
"additionalProperties": false
|
|
2843
2856
|
},
|
|
2844
2857
|
"DmgConfig": {
|
|
2845
|
-
"description": "Configuration for Apple Disk Image (.dmg) bundles.\n\n See more: <https://tauri.app/
|
|
2858
|
+
"description": "Configuration for Apple Disk Image (.dmg) bundles.\n\n See more: <https://v2.tauri.app/reference/config/#dmgconfig>",
|
|
2846
2859
|
"type": "object",
|
|
2847
2860
|
"properties": {
|
|
2848
2861
|
"background": {
|
|
@@ -3009,7 +3022,7 @@
|
|
|
3009
3022
|
"additionalProperties": false
|
|
3010
3023
|
},
|
|
3011
3024
|
"PluginConfig": {
|
|
3012
|
-
"description": "The plugin configs holds a HashMap mapping a plugin name to its configuration object.\n\n See more: <https://tauri.app/
|
|
3025
|
+
"description": "The plugin configs holds a HashMap mapping a plugin name to its configuration object.\n\n See more: <https://v2.tauri.app/reference/config/#pluginconfig>",
|
|
3013
3026
|
"type": "object",
|
|
3014
3027
|
"additionalProperties": true
|
|
3015
3028
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tauri-apps/cli",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.18",
|
|
4
4
|
"description": "Command line interface for building Tauri apps",
|
|
5
5
|
"funding": {
|
|
6
6
|
"type": "opencollective",
|
|
@@ -51,8 +51,10 @@
|
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"artifacts": "napi artifacts",
|
|
54
|
-
"build
|
|
55
|
-
"
|
|
54
|
+
"build": "cross-env TARGET=node napi build --platform --profile release-size-optimized",
|
|
55
|
+
"postbuild": "node append-headers.js",
|
|
56
|
+
"build:debug": "cross-env TARGET=node napi build --platform",
|
|
57
|
+
"postbuild:debug": "node append-headers.js",
|
|
56
58
|
"prepublishOnly": "napi prepublish -t npm --gh-release-id $RELEASE_ID",
|
|
57
59
|
"prepack": "cp ../../crates/tauri-schema-generator/schemas/config.schema.json .",
|
|
58
60
|
"version": "napi version",
|
|
@@ -60,15 +62,15 @@
|
|
|
60
62
|
"tauri": "node ./tauri.js"
|
|
61
63
|
},
|
|
62
64
|
"optionalDependencies": {
|
|
63
|
-
"@tauri-apps/cli-win32-x64-msvc": "2.0.0-rc.
|
|
64
|
-
"@tauri-apps/cli-darwin-x64": "2.0.0-rc.
|
|
65
|
-
"@tauri-apps/cli-linux-x64-gnu": "2.0.0-rc.
|
|
66
|
-
"@tauri-apps/cli-darwin-arm64": "2.0.0-rc.
|
|
67
|
-
"@tauri-apps/cli-linux-arm64-gnu": "2.0.0-rc.
|
|
68
|
-
"@tauri-apps/cli-linux-arm64-musl": "2.0.0-rc.
|
|
69
|
-
"@tauri-apps/cli-linux-arm-gnueabihf": "2.0.0-rc.
|
|
70
|
-
"@tauri-apps/cli-linux-x64-musl": "2.0.0-rc.
|
|
71
|
-
"@tauri-apps/cli-win32-ia32-msvc": "2.0.0-rc.
|
|
72
|
-
"@tauri-apps/cli-win32-arm64-msvc": "2.0.0-rc.
|
|
65
|
+
"@tauri-apps/cli-win32-x64-msvc": "2.0.0-rc.18",
|
|
66
|
+
"@tauri-apps/cli-darwin-x64": "2.0.0-rc.18",
|
|
67
|
+
"@tauri-apps/cli-linux-x64-gnu": "2.0.0-rc.18",
|
|
68
|
+
"@tauri-apps/cli-darwin-arm64": "2.0.0-rc.18",
|
|
69
|
+
"@tauri-apps/cli-linux-arm64-gnu": "2.0.0-rc.18",
|
|
70
|
+
"@tauri-apps/cli-linux-arm64-musl": "2.0.0-rc.18",
|
|
71
|
+
"@tauri-apps/cli-linux-arm-gnueabihf": "2.0.0-rc.18",
|
|
72
|
+
"@tauri-apps/cli-linux-x64-musl": "2.0.0-rc.18",
|
|
73
|
+
"@tauri-apps/cli-win32-ia32-msvc": "2.0.0-rc.18",
|
|
74
|
+
"@tauri-apps/cli-win32-arm64-msvc": "2.0.0-rc.18"
|
|
73
75
|
}
|
|
74
76
|
}
|