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.
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.
npm install tuist
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.
- Node.js 18 or later
- mise (optional, for managing Node version)
-
Clone the repository:
git clone https://github.com/tuist/js.git cd js
-
Install dependencies:
npm install
-
(Optional) Install Node using mise:
mise install
npm test
The test suite includes both unit tests and integration tests that verify the installation and execution of Tuist.
- When you run the
tuist
command, the CLI checks if Tuist is already installed in the XDG data directory (~/.local/share/tuist
by default) - If not installed, it downloads the specified version from GitHub releases
- The binary is extracted and made executable
- All subsequent commands are proxied to the installed Tuist binary
MIT