+
Skip to content

tuist/js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tuist for JavaScript

Warning

This project is a work in progress and is not yet ready for production use. While our initial focus is on React Native, we are designing the foundation to be technology agnostic so it should work with other mobile technologies.

An extension of the Tuist toolchain to integrate it into JavaScript-based mobile development stacks like React Native.

Overview

This package provides a Node.js CLI wrapper for Tuist, enabling seamless integration with JavaScript-based mobile development workflows. It automatically downloads and manages the Tuist binary, storing it in an XDG-compliant directory.

Installation

npm install tuist

Usage

Once installed, you can use the tuist command directly:

npx tuist init
npx tuist build
npx tuist version

The CLI will automatically download and install the appropriate Tuist binary on first use.

Development

Prerequisites

  • Node.js 18 or later
  • mise (optional, for managing Node version)

Setup

  1. Clone the repository:

    git clone https://github.com/tuist/js.git
    cd js
  2. Install dependencies:

    npm install
  3. (Optional) Install Node using mise:

    mise install

Running Tests

npm test

The test suite includes both unit tests and integration tests that verify the installation and execution of Tuist.

How It Works

  1. When you run the tuist command, the CLI checks if Tuist is already installed in the XDG data directory (~/.local/share/tuist by default)
  2. If not installed, it downloads the specified version from GitHub releases
  3. The binary is extracted and made executable
  4. All subsequent commands are proxied to the installed Tuist binary

License

MIT

About

Tuist's toolchain for JS-based stacks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载