JSPM

stably

4.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 39417
  • Score
    100M100P100Q161258F

Stably CLI

Package Exports

  • stably
  • stably/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (stably) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Stably CLI

Local Development

Prerequisites

  • Node.js v20+
  • pnpm v10+

Build

From the monorepo root:

pnpm --filter stably build

Or from this directory:

pnpm build
# Using tsx (dev mode, no build required)
pnpm dev

# Using built dist
pnpm start
# or
node dist/index.js

To test the CLI as if it were installed globally:

1. Build the CLI:

cd /path/to/noqa
pnpm --filter stably build

2. Link globally:

cd packages/cli
PNPM_HOME="$HOME/Library/pnpm" PATH="$PNPM_HOME:$PATH" pnpm link --global

3. Run from anywhere:

PNPM_HOME="$HOME/Library/pnpm" PATH="$PNPM_HOME:$PATH" stably --help

Tip: Add this to your shell profile (.zshrc / .bashrc) to avoid typing the env vars:

export PNPM_HOME="$HOME/Library/pnpm"
export PATH="$PNPM_HOME:$PATH"

To remove the global link:

rm -f "$HOME/Library/pnpm/stably"

Notes

  • Workspace dependencies (@stablyai/internal-api-client, @stablyai/agent-hooks, etc.) are bundled into the dist via noExternal in tsup.config.ts
  • If you add new workspace dependencies, add them to the noExternal array in tsup.config.ts