-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core): implement new config structure (#8723)
* feat(core): implement new config structure RFC#5 https://github.com/tauri-apps/rfcs/blob/f3e82a6b0c5390401e855850d47dc7b7d9afd684/texts/0005-tauri-config-restructure.md * fixes * remove tauri-plugin copy [skip ci] * move platform specific configs * fix build * fix cli * doctests * change files * read updater plugin config on CLI * doctests * remove env var from docs * fix getting pubkey * add migrations * clippy * update change file [skip ci] * rename frontendDist to prodFrontend? * Revert "rename frontendDist to prodFrontend?" This reverts commit ef7394f. * fix all_features check * fix field name * single license getter on bundler * readd msiexec_args * remove unused fixture * update template * Update .changes/tauri-bundle-settings-rfc-5.md * Update .changes/config-restructure-rfc-5.md * lint bundler, fix change file * rename AppUrl to FrontendDist, add explicit variants for docs * fix build * lint --------- Co-authored-by: Lucas Nogueira <lucas@tauri.studio> Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
- Loading branch information
1 parent
e691208
commit 8de308d
Showing
120 changed files
with
6,799 additions
and
7,731 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
'tauri': 'major:breaking' | ||
'tauri-utils': 'major:breaking' | ||
'tauri-build': 'major:breaking' | ||
'tauri-codegen': 'major:breaking' | ||
'tauri-cli': 'major:breaking' | ||
'@tauri-apps/cli': 'major:breaking' | ||
--- | ||
|
||
Restructured Tauri config per [RFC#5](https://github.com/tauri-apps/rfcs/blob/f3e82a6b0c5390401e855850d47dc7b7d9afd684/texts/0005-tauri-config-restructure.md): | ||
|
||
- Moved `package.productName`, `package.version` and `tauri.bundle.identifier` fields to the top-level. | ||
- Removed `package` object. | ||
- Renamed `tauri` object to `app`. | ||
- Moved `tauri.bundle` object to the top-level. | ||
- Renamed `build.distDir` field to `frontendDist`. | ||
- Renamed `build.devPath` field to `devUrl` and will no longer accepts paths, it will only accept URLs. | ||
- Moved `tauri.pattern` to `app.security.pattern`. | ||
- Removed `tauri.bundle.updater` object, and its fields have been moved to the updater plugin under `plugins.updater` object. | ||
- Moved `build.withGlobalTauri` to `app.withGlobalTauri`. | ||
- Moved `tauri.bundle.dmg` object to `bundle.macOS.dmg`. | ||
- Moved `tauri.bundle.deb` object to `bundle.linux.deb`. | ||
- Moved `tauri.bundle.appimage` object to `bundle.linux.appimage`. | ||
- Removed all license fields from each bundle configuration object and instead added `bundle.license` and `bundle.licenseFile`. | ||
- Renamed `AppUrl` to `FrontendDist` and refactored its variants to be more explicit. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'tauri-bundler': 'major:breaking' | ||
--- | ||
|
||
- Removed all license fields from `WixSettings`, `NsisSettings` and `MacOsSettings` and replaced with `license` and `license_file` fields in `BundlerSettings`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.