CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-moonrepo--core-linux-arm64-musl

Linux ARM64 musl binary distribution for the moon repository management tool

Pending
Quality

Pending

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

setup.mddocs/

Repository Setup

Comprehensive repository initialization and configuration capabilities for setting up moon workspace management.

Capabilities

Initialize Workspace

Set up moon in a repository with workspace configuration and toolchain setup.

/**
 * Initialize moon workspace in current or specified directory
 * Creates .moon directory with configuration files
 */
moon init [tool]

# Arguments:
# [tool]    Optional specific tool to initialize (bun, node, rust, typescript)

# Options:
--force      Overwrite existing config files if they exist
--minimal    Generate minimal configurations with sane defaults  
--to <path>  Destination directory to initialize (default: current directory)
--yes        Skip all prompts and enable tools based on file detection

Usage Examples:

# Initialize moon in current directory
moon init

# Initialize with minimal configuration
moon init --minimal

# Initialize in specific directory
moon init --to ./my-workspace

# Auto-detect and configure without prompts
moon init --yes

# Initialize specific tool after initial setup
moon init node
moon init typescript

Tool-Specific Initialization

Configure individual tools within an existing moon workspace.

/**
 * Initialize and configure a specific tool in the toolchain
 * Modifies .moon/toolchain.yml configuration
 */
moon init <tool>

# Available tools:
# bun          Bun JavaScript runtime and package manager
# node         Node.js runtime and npm package manager  
# rust         Rust compiler and Cargo package manager
# typescript   TypeScript compiler and type checking

Usage Examples:

# Add Node.js to existing workspace
moon init node

# Configure TypeScript in workspace
moon init typescript

# Set up Rust toolchain
moon init rust

# Add Bun runtime support
moon init bun

Configuration Files Created

The init command creates several configuration files:

# Directory structure created:
.moon/
├── workspace.yml     # Workspace-level configuration
├── toolchain.yml     # Tool versions and settings
└── tasks.yml         # Global task definitions (optional)

workspace.yml structure:

# Project discovery and workspace settings
projects:
  - 'apps/*'
  - 'packages/*'

# Workspace-level configuration
versionConstraint: '>=1.0.0'

toolchain.yml structure:

# Tool configurations
node:
  version: '18.17.0'
  packageManager: 'npm'

typescript:
  version: '5.0.0'

Setup Command

Prepare the toolchain by installing configured tools.

/**
 * Setup toolchain by installing all configured tools
 * Downloads and installs tools defined in toolchain.yml
 */
moon setup

# Options:
--force    Force reinstall tools even if already present

Usage Examples:

# Install all configured tools
moon setup

# Force reinstall all tools
moon setup --force

Teardown Command

Clean up installed toolchain tools.

/**
 * Teardown toolchain by uninstalling tools
 * Removes tools installed by moon setup
 */
moon teardown

Upgrade Command

Update moon to the latest version.

/**
 * Upgrade moon binary to latest available version
 * Downloads and replaces current installation
 */
moon upgrade

Error Handling

Common initialization errors and solutions:

  • Permission Errors: Ensure write permissions to target directory
  • Existing Configuration: Use --force to overwrite existing files
  • Tool Detection Failures: Manually specify tools or use --minimal flag
  • Network Issues: Setup command requires internet access for tool downloads

docs

advanced.md

ci.md

index.md

projects.md

setup.md

tasks.md

tile.json