@brand-map/script-kit
v0.0.10-alpha.0
Published
Shared helpers for authoring Brand Map workspace scripts.
Readme
@brand-map/script-kit
Shared Bun and TypeScript helpers for writing Brand Map workspace scripts.
This package targets Bun 1.3.13 and newer.
Install
bun add -d @brand-map/script-kitInstall @jsr/cliffy__command in the consuming repo when using the @brand-map/script-kit/cliffy helpers.
Usage
import { defineCommand, runMain } from "@brand-map/script-kit"
const commandTree = {
name: "scripts",
description: "Workspace scripts",
scopes: [
{
name: "repo",
description: "Repository commands",
},
],
}
await runMain(commandTree)The package also exposes focused subpath exports:
@brand-map/script-kit/cliffy@brand-map/script-kit/command@brand-map/script-kit/doctor@brand-map/script-kit/package-json@brand-map/script-kit/packages@brand-map/script-kit/process@brand-map/script-kit/workspace
