@bariscore/cli
v0.1.4
Published
BarisCore CLI — public on npmjs; also mirrored to GitHub Packages for hosts with @bariscore .npmrc
Downloads
535
Readme
@bariscore/cli
Public helper to wire private @bariscore/* packages into a Next.js host.
Product packages live on GitHub Packages. This CLI is public on npmjs (first npx with no .npmrc) and mirrored to GitHub Packages (so npx still works after init routes @bariscore → GitHub).
Requirements
- Node 18+
- A classic GitHub PAT with
read:packages(fine-grained PATs do not work with GitHub Packages npm) - Access to the
bariscoreGitHub org packages
Quick start
$env:GITHUB_CLASSIC_TOKEN = "ghp_..."
npx @bariscore/cli init
npx @bariscore/cli add interaction
npx @bariscore/cli add seo
npx @bariscore/cli add database
npx @bariscore/cli skillsPin a version:
npx @bariscore/cli add [email protected]add creates .npmrc if you skip init.
Commands
| Command | What it does |
|---------|----------------|
| init | Writes project .npmrc for @bariscore → GitHub Packages + ${GITHUB_CLASSIC_TOKEN} |
| add <name> | Installs @bariscore/<name>, merges Next transpilePackages, adds Tailwind @source when it can |
| skills [name…] | Copies Baris agent skills into .cursor/skills/ (all, or named) |
| link [name…] | Point host deps at sibling ../baris-system/packages/… for local edits |
| publish [name…] | npm publish sibling private packages (needs write:packages) |
| unlink [name…] | Restore registry pins using sibling package versions + install |
Maintainer loop (sibling baris-system required): link → edit + bump version → publish → unlink. Details in docs/Cli.md.
Deploy
Set the same token on the host (Vercel / CI / VPS):
GITHUB_CLASSIC_TOKEN=ghp_...App deploys only need that token — not an npmjs publish token.
License
UNLICENSED — proprietary. Not open source.
More
See docs/Cli.md in the package, or the baris-system repo.
