tauri/tooling/cli/node
Amr Bashir 1c8229fbe2
fix(cli.js): detect node-<version> binary, closes #6427 (#6432)
* fix(cli.js): detect `node-<version>` binary, closes #6427

* use `?` instead of `*` and escape the hyphen

Co-authored-by: TurtleIdiot <18502738+TurtleIdiot@users.noreply.github.com>

---------

Co-authored-by: TurtleIdiot <18502738+TurtleIdiot@users.noreply.github.com>
2023-03-16 09:01:41 -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: update license year (#6311) 2023-02-19 10:17:49 -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 JS CLI (#6138) 2023-01-26 09:24:08 -03:00
CHANGELOG.md chore: update versions after ignore=0.4.18 patch 2023-01-18 21:47:26 -03:00
index.d.ts chore: update license year (#6311) 2023-02-19 10:17:49 -03:00
index.js chore: update license year (#6311) 2023-02-19 10:17:49 -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 chore(deps) Update Tauri JS CLI (#6138) 2023-01-26 09:24:08 -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 (#6138) 2023-01-26 09:24:08 -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