@blakeui/pro
v1.0.0
Published
The BlakeUI Pro CLI — log in, install Pro packages, and configure your project
Readme
blakeui-pro
The BlakeUI Pro CLI — log in with GitHub, install Pro packages and their peer dependencies, and configure your package manager.
Quick Start
Note: The BlakeUI Pro CLI requires Node.js 20+ or later.
Log in
npx blakeui-pro@latest loginA browser tab opens automatically. Sign in with GitHub, authorize the application, and wait for the terminal to confirm:
Logged in as @your-usernameInstall
npx blakeui-pro@latest installThe CLI:
- Adds
@blakeui-pro/reactto your project (if not already present) - Downloads Pro components from the CDN using your license
- Detects missing peer dependencies and installs them with the correct ranges
- Configures your package manager — for pnpm and bun, it offers to allowlist the postinstall script so future installs work seamlessly
Commands
| Command | Description |
| ------------------------------- | ------------------------------------------------------ |
| blakeui-pro login | Log in with GitHub |
| blakeui-pro install | Install Pro packages, peer deps, and configure your PM |
| blakeui-pro install --yes | Non-interactive install (auto-accept all prompts) |
| blakeui-pro install --dry-run | Preview what would be installed without executing |
| blakeui-pro status | Show login and installed package info |
| blakeui-pro logout | Sign out |
Global options: -v, --version, -h, --help, -d, --debug.
Authentication
The CLI reads two environment variables, per the BlakeUI Pro licensing model:
| Token | Use it for | Env var |
| -------- | ------------------------------------- | ------------------------ |
| Personal | Local MCP, Skills, and install flows | BLAKEUI_PERSONAL_TOKEN |
| CI/CD | CI/CD pipelines and shared automation | BLAKEUI_AUTH_TOKEN |
CI/CD
For automated environments, set BLAKEUI_AUTH_TOKEN instead of logging in
interactively:
env:
BLAKEUI_AUTH_TOKEN: ${{ secrets.BLAKEUI_AUTH_TOKEN }}When BLAKEUI_AUTH_TOKEN is set, authentication is fully non-interactive and
works with every package manager.
Import Styles
Add Pro styles to your global stylesheet:
@import "tailwindcss";
@import "@blakeui/styles";
@import "@blakeui-pro/react/css";Development
pnpm build # bundle with tsup (ESM + dts, shebang banner)
pnpm dev # tsup --watch
pnpm typecheck # tsc --noEmit
pnpm lint # eslint .License
UNLICENSED — © BlakeUI Pro.
