Repository navigation
rstack-cli
Public
About
Unified toolchain for shipping JavaScript faster. Powered by the Rspack ecosystem.
rstack.rs
Topics
javascript rsbuild rslib rslint rspack rspress rstack rstest typescript
Resources
Readme
MIT license
Activity
Custom properties
Stars
42 stars
Watchers
2 watching
Forks
3 forks
Report repository
Branches
Tags
Go to Branches page Go to Tags page
Latest commit
History
760 Commits
View commit history for this file.
Folders and files
Repository files navigation
Rstack CLI
Rstack CLI brings the Rstack toolchain together for JavaScript development, with one CLI, one configuration, and one consistent workflow.
It also covers local development needs outside Rstack's scope, with Prettier formatting and lint-staged commands.
Rstack CLI fits into your existing project workflow. It does not replace your runtime, package manager, or task runner, such as pnpm , Bun , Turborepo , Nx , and Nub .
Current status
Rstack CLI is currently experimental and mainly used for internal validation. Its APIs, configuration, and usage may change as the project evolves.
Welcome to try it out and share feedback through issues and discussions!
Usage
- Install
rstack in your project:
# pnpm
pnpm add -D rstack
# yarn
yarn add -D rstack
# npm
npm add -D rstack
# bun
bun add -d rstack
- Add scripts to your
package.json:
{
"scripts": {
"dev": "rs dev",
"build": "rs build",
"preview": "rs preview",
"test": "rs test",
"check": "rs check --type-check",
"lint": "rs lint",
"lib": "rs lib",
"doc": "rs doc",
"format": "rs fmt",
"prepare": "rs hooks"
}
}
Run the scripts with your preferred package manager:
pnpm dev
pnpm build
pnpm preview
pnpm test
pnpm check
pnpm lint
pnpm lib
pnpm doc
pnpm format
Credits
Rstack CLI is inspired by:
Parts of the Git hook implementation are derived from Husky , and parts of the formatter runtime are derived from Prettier CLI .
See Third-Party Notices for complete attribution and license information.
License
MIT .
About
Unified toolchain for shipping JavaScript faster. Powered by the Rspack ecosystem.
rstack.rs
Topics
javascript rsbuild rslib rslint rspack rspress rstack rstest typescript
Resources
Readme
MIT license
Activity
Custom properties
Stars
42 stars
Watchers
2 watching
Forks
3 forks
Report repository
Releases
Used by
Contributors
Languages