tauri/tooling/cli/node
Amr Bashir e1e85dc2a5
chore: fix ci and cleanup leftovers (#6925)
* chore: fix ci and cleanup leftovers

1. removed leftover feature flags
2. remove zip/extract apis which are not used anymore
3. removed leftoever scopes
4. removed leftover allowlist and updater options
5. updated the example api

* remove leftover updater structs

* move updater under bundle and remove uneeded options

* fix cli on linux

* remove create_proxy

* clippy

* more clippy

* clippppy

* readd path api

* fix api example

* remove window allowlist

* remove window from allowlist config

* remove `all` allowlist option

* remove file_move

* lint

* fix windows build

* remvoe unused deps

* remvoe allowlist config option, move protocol to `security > asset_protocol`

* fix diffing features

* fmt and test

* fix scope alias

* change files

* android lint

* simplify allow_file impl

* Revert "simplify allow_file impl"

This reverts commit b8882f2fd0.

* expose scopes

* remove unused error variants

* protocol-asset on docs.rs

* ignore reqwest on udeps

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-05-13 13:48:28 +03:00
..
.cargo refactor(cli): rename tooling/cli.rs folder to tooling/cli (#3388) 2022-02-10 17:23:10 -03:00
npm chore: add libc field to node packages (#4856) 2022-08-04 01:04:24 -03:00
src chore: update license year (#6311) 2023-02-19 10:17:49 -03:00
test/jest chore: fix ci and cleanup leftovers (#6925) 2023-05-13 13:48:28 +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 Merge branch 'dev' into next 2023-05-07 10:42:44 -03:00
CHANGELOG.md Merge branch 'dev' into next 2023-05-07 10:42:44 -03:00
index.d.ts fix(ci): use rustls on publish-cli-js workflow (#6847) 2023-05-03 14:59:09 -03:00
index.js fix(ci): use rustls on publish-cli-js workflow (#6847) 2023-05-03 14:59:09 -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 Merge branch 'dev' into next 2023-05-07 10:42:44 -03:00
README.md Update readme badges (#4696) 2022-07-25 12:03:18 -03:00
tauri.js fix(cli.js): detect node-<version> binary, closes #6427 (#6432) 2023-03-16 09:01:41 -03:00
yarn.lock chore(deps) Update Tauri JS CLI (#6177) 2023-04-06 21:14:04 -03:00

@tauri-apps/cli

status License test library 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, and yarn, 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 cli.rs.

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