tauri/tooling/cli/node
Amr Bashir 8de308d1bf
feat(core): implement new config structure (#8723)
* feat(core): implement new config structure

RFC#5 f3e82a6b0c/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 ef7394f085.

* 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>
2024-02-03 00:39:48 -03:00
..
.cargo refactor(cli): rename tooling/cli.rs folder to tooling/cli (#3388) 2022-02-10 17:23:10 -03:00
npm feat(cli): Build the CLI for Windows ARM64, closes #7015 (#7098) (#7106) 2023-06-06 09:21:57 -03:00
src chore: update license year (#6311) 2023-02-19 10:17:49 -03:00
test/jest feat(core): implement new config structure (#8723) 2024-02-03 00:39:48 -03:00
.gitignore feat(config): add $schema to tauri.conf.json, closes #3464 (#4031) 2022-05-03 12:26:16 -03:00
.npmignore fix(cli): package license, remove test code (#3439) 2022-02-13 13:51:05 -03:00
build.rs chore: update license year (#6311) 2023-02-19 10:17:49 -03:00
Cargo.toml chore(deps) Update Tauri CLI (1.x) (#8193) 2023-11-13 23:58:27 -03:00
CHANGELOG.md Apply Version Updates From Current Changes (#8438) 2024-01-16 18:11:50 -03:00
index.d.ts fix(ci): add missing license headers, adjust script to properly ignore (#7216) 2023-06-15 11:05:59 -03:00
index.js ci: fix audit workflow and add resolutions for vuln packages (#7392) 2023-07-11 00:25:18 +03:00
jest.config.js chore: update license year (#6311) 2023-02-19 10:17:49 -03:00
LICENSE_APACHE-2.0 fix(cli): package license, remove test code (#3439) 2022-02-13 13:51:05 -03:00
LICENSE_MIT fix(cli): package license, remove test code (#3439) 2022-02-13 13:51:05 -03:00
main.d.ts chore: update license year (#6311) 2023-02-19 10:17:49 -03:00
main.js chore: update license year (#6311) 2023-02-19 10:17:49 -03:00
package.json Apply Version Updates From Current Changes (#8438) 2024-01-16 18:11:50 -03:00
README.md feat: support Bun package manager (#7723) 2023-08-31 02:48:36 +03:00
tauri.js feat: support Bun package manager (#7723) 2023-08-31 02:48:36 +03:00
yarn.lock build(api.js): simplify output JS files (#8025) 2023-10-23 18:22:00 -03:00

@tauri-apps/cli

status License test cli FOSSA Status Chat Server website https://good-labs.github.io/greater-good-affirmation/assets/images/badge.svg support

Component Version
@tauri-apps/cli

About Tauri

Tauri is a polyglot and generic system that is very composable and allows engineers to make a wide variety of applications. It is used for building applications for Desktop Computers using a combination of Rust tools and HTML rendered in a Webview. Apps built with Tauri can ship with any number of pieces of an optional JS API / Rust API so that webviews can control the system via message passing. In fact, developers can extend the default API with their own functionality and bridge the Webview and Rust-based backend easily.

Tauri apps can have custom menus and have tray-type interfaces. They can be updated, and are managed by the user's operating system as expected. They are very small, because they use the system's webview. They do not ship a runtime, since the final binary is compiled from rust. This makes the reversing of Tauri apps not a trivial task.

This module

Written in Typescript and packaged such that it can be used with npm, pnpm, yarn, and bun, this library provides a node.js runner for common tasks when using Tauri, like yarn tauri dev. For the most part it is a wrapper around tauri-cli.

To learn more about the details of how all of these pieces fit together, please consult this ARCHITECTURE.md document.

Installation

The preferred method is to install this module locally as a development dependency:

$ npm install --save-dev @tauri-apps/cli
$ yarn add --dev @tauri-apps/cli

Semver

tauri is following Semantic Versioning 2.0.

Licenses

Code: (c) 2019 - 2021 - The Tauri Programme within The Commons Conservancy.

MIT or MIT/Apache 2.0 where applicable.

Logo: CC-BY-NC-ND