Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

minimal-tauri-cli

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minimal-tauri-cli

Minimal wrapper for tauri's rust-based cli.

latest
Source
npmnpm
Version
1.0.0-beta.7
Version published
Maintainers
1
Created
Source

minimal-tauri-cli

A minimal wrapper for a prebuilt version of tauri's cli, without any dependencies. Initially created for CI/CD to reduce installation time and size of the node_modules/ folder.

Downloads the cli from https://github.com/tauri-apps/binary-releases and forwards any calls like npm tauri dev to the binary.

About Tauri

See: https://tauri.studio and https://github.com/tauri-apps/tauri

Installation

This package is meant to be installed locally as a development dependency:

$ npm install --save-dev minimal-tauri-cli
$ yarn add --dev minimal-tauri-cli
$ pnpm install --dev minimal-tauri-cli

Usage

Example syntax:

$ pnpm tauri dev

To forward arguments like --debug you might need to prefix them with an extra --:

$ pnpm tauri build -- --debug

tauri help:

$ pnpm tauri help

USAGE:
    cargo tauri [SUBCOMMAND]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    build    Tauri build.
    dev      Tauri dev.
    help     Prints this message or the help of the given subcommand(s)
    info     Shows information about Tauri dependencies
    init     Initializes a Tauri project
    sign     Tauri updates signer.

Warnings:

  • Conflicts with @tauri-apps/cli.
  • Might have version mismatches with @tauri-apps/cli, because minimal-tauri-cli's version is synced with its rust-based counterpart, see: https://github.com/tauri-apps/tauri/tree/dev/tooling/cli.rs
  • tauri-cli's version 1.0.0-beta.6 is wrapped in 0.0.0-beta.6, because i had to publish it twice due to missing file permissions :(
  • Doesn't support tauri icon and tauri deps as long as they are not provided by tauri's rust-based cli.
  • There is only a bare minimum of error handling implemented.
  • The download function is pretty primitive and might fail on complex network setups.

Keywords

tauri

FAQs

Package last updated on 24 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts