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 buildOr from this directory:
pnpm buildRun Locally (without global link)
# Using tsx (dev mode, no build required)
pnpm dev
# Using built dist
pnpm start
# or
node dist/index.jsGlobal Link for Testing
To test the CLI as if it were installed globally:
1. Build the CLI:
cd /path/to/noqa
pnpm --filter stably build2. Link globally:
cd packages/cli
PNPM_HOME="$HOME/Library/pnpm" PATH="$PNPM_HOME:$PATH" pnpm link --global3. Run from anywhere:
PNPM_HOME="$HOME/Library/pnpm" PATH="$PNPM_HOME:$PATH" stably --helpTip: 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"Unlink
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 vianoExternalintsup.config.ts - If you add new workspace dependencies, add them to the
noExternalarray intsup.config.ts