GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rstackjs/rstack-cli: Unified toolchain for shipping JavaScript faster. Powered by the Rspack ecosystem.

BranchesTags
Open more actions menu

Latest commit

 

History

716 Commits
716 Commits

Folders and files

NameName
Last commit message
Last commit date
.agents/skills
.agents/skills
 
 
.cargo
.cargo
 
 
.github
.github
 
 
.rstack/hooks
.rstack/hooks
 
 
.vscode
.vscode
 
 
crates
crates
 
 
examples
examples
 
 
packages
packages
 
 
scripts
scripts
 
 
website
website
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.node-version
.node-version
 
 
AGENTS.md
AGENTS.md
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
cspell.config.js
cspell.config.js
 
 
package.json
package.json
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
pnpm-workspace.yaml
pnpm-workspace.yaml
 
 
rstack.config.ts
rstack.config.ts
 
 
rust-toolchain.toml
rust-toolchain.toml
 
 
skills-lock.json
skills-lock.json
 
 

Repository files navigation

Rstack CLI

discord channel npm version downloads node version license

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.

Command Description
rs dev Run the app dev server
rs build Build the app for production
rs preview Preview the app production build
rs test Run tests
rs lint Lint code
rs fmt Format code
rs check Run static checks, including lint and format
rs lib Build library
rs doc Serve or build docs
rs hooks Manage Git hooks
rs staged Run tasks on staged Git files

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

  1. 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
  1. 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:

  • Bun
  • Cargo
  • Deno
  • Oxfmt
  • Vite Plus

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

javascriptrsbuildrslibrslintrspackrspressrstackrstesttypescript

Resources

Readme
MIT license
Activity
Custom properties

Stars

36 stars

Watchers

2 watching

Forks

3 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.