npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@glxmart/boss-cli

v1.3.0

Published

BOSS Bootstrap CLI - Scaffold new BOSS projects with complete configuration

Readme

BOSS Bootstrap CLI

Command-line tool for scaffolding new BOSS projects with complete configuration.

Installation

pnpm add -g @glxmart/boss-cli

Usage

Interactive Mode

boss bootstrap

Command Line Options

boss bootstrap --template nextjs-app-turbo --quality production --name my-project

Available Commands

  • boss bootstrap - Bootstrap a new BOSS project
  • boss doctor - Check prerequisites and system health
  • boss templates - List available templates

Templates

  • nextjs-app-turbo - Next.js 15 + Turbo + Tailwind + Prisma + Vitest + shadcn/ui
  • api-service-fastify - Fastify + TypeScript + Prisma + Vitest
  • blank - Minimal TypeScript + Vitest setup

Quality Presets

  • startup - Fast iteration, minimal gates
  • production - Balanced quality & speed
  • enterprise - Maximum quality, comprehensive checks

What Gets Created

  • .boss/ - BOSS orchestration configuration
  • .specify/ - Spec-Kit structure (templates, scripts, memory)
  • .container-use/ - Container-use environment configuration
  • .claude/ - Claude Code/Cursor rules and commands
  • CLAUDE.md - Primary Claude Code configuration
  • start-boss.sh - Launch script with MCP restrictions
  • .github/workflows/ - CI/CD pipelines
  • .husky/ - Git hooks
  • docker-compose.yml - Local infrastructure
  • Template-specific code structure

Development

# Install dependencies
pnpm install

# Build
pnpm build

# Run in development
pnpm dev

# Run tests
pnpm test

Testing

Automated Tests (CI/CD)

The project includes comprehensive automated tests that run on every PR:

# Run unit tests
pnpm test

# Run all integration tests (structure verification)
pnpm test:integration

# Run E2E tests (full quality gate verification)
pnpm test:e2e

E2E Tests:

  • tests/integration/template-e2e.test.ts - Tests each template's full build pipeline (typecheck, lint, test, build)
  • tests/integration/git-hooks-e2e.test.ts - Tests Husky git hooks enforcement (pre-commit, commit-msg, pre-push)

These tests verify that bootstrapped projects:

  • Install dependencies successfully
  • Pass type checking
  • Pass linting
  • Pass tests
  • Build without errors
  • Have working git hooks that block bad commits

Local Testing

Quick Integration Tests

The easiest way to test the CLI locally:

# Run all integration tests
pnpm test:integration

# This will automatically:
# - Build the CLI
# - Create test projects
# - Verify the structure
# - Clean up afterwards

Manual Test Scripts

For detailed manual testing, use the scripts in ../scripts/manual-tests/:

# Test specific templates
bash ../scripts/manual-tests/test-bootstrap.sh    # blank template
bash ../scripts/manual-tests/test-api-service.sh  # API service
bash ../scripts/manual-tests/test-nextjs.sh       # Next.js monorepo
bash ../scripts/manual-tests/test-t3.sh           # T3 stack

# Test git hooks
bash ../scripts/manual-tests/test-git-hooks.sh

Automated Testing Script

For manual testing with more control, use the test-local.sh script. Test projects are created in your home directory by default:

# Basic test (builds, creates test project in $HOME, verifies)
pnpm test:local
# or
./test-local.sh

# Test with specific template and quality
pnpm test:local -- --template nextjs-app-turbo --quality production

# Create test project in a different directory
pnpm test:local -- --dir ~/test-projects

# Link CLI globally and test
pnpm test:local -- --link

# Verify existing test project
pnpm test:local -- --verify-only

# Clean up test project
pnpm test:local -- --cleanup-only

See pnpm test:local -- --help or ./test-local.sh --help for all options.

Manual Testing

For manual testing without the script:

# Build the CLI
pnpm install && pnpm build

# Link globally (optional)
pnpm link --global

# Create a test project
boss bootstrap --template blank --quality startup --name test-project --non-interactive

# Or use tsx directly (no build needed)
pnpm exec tsx src/index.ts bootstrap --template blank --quality startup --name test-project --non-interactive