Prev
Next

Spaceman

Manage monorepo workspaces with a prompt-based CLI

Overview

NPM (opens new window) PNPM (opens new window) or Yarn (opens new window) workspaces provide a streamlined workflow to manage multiple packages within a single repository, but require a certain amount of knowledge, configuration and terminal-fu for everyday tasks.

Spaceman makes running complex or multistep tasks easier by wrapping them in prompts, and batching commands on confirmation.

Why read the docs when you can just answer questions?

Usage

Once installed, run the package by typing spaceman then pick the task you want to run:

cli-preview.png

For example, creating new workspaces is easy; just answer the prompts and Spaceman will create all folders, package files, stub files and install dependencies:

cli-preview.png

Once created, it’s easy to share with other workspaces too; just follow the prompts:

cli-preview.png

Tasks

Spaceman simplifies managing scripts, packages and workspaces:

Scripts

Packages

Workspaces

No more navigating folder structures and rewriting configs; Spaceman does it all from one simple CLI!

So...

I hope you found this post interesting or inspiring.

If you want to engage further, follow me on Twitter or drop a comment or reaction below.

Either way, thanks for reading!