@webstir-io/webstir
v0.1.1
Published
Bun-first CLI for Webstir.
Readme
webstir
Bun-first CLI for Webstir.
Primary command name: webstir
Current command surface:
initrefreshrepairenableadd-pageadd-testadd-routeadd-jobbackend-inspectbuildpublishwatchtestsmoke
Repo-local use:
bun run webstir -- --help
bun run webstir -- build --workspace /absolute/path/to/workspaceLocal machine install for external workspaces:
cd /Users/iamce/dev/webstir-io/webstir/orchestrators/bun
bun link
mkdir -p ~/tmp/webstir-check
cd ~/tmp/webstir-check
bun link @webstir-io/webstir
./node_modules/.bin/webstir init ssg site
cd site
bun install
../node_modules/.bin/webstir build --workspace "$PWD"For a tarball install, pack the CLI locally with:
cd /Users/iamce/dev/webstir-io/webstir/orchestrators/bun
bun run pack:localFor a machine-local standalone tarball that bundles the current Webstir packages:
cd /Users/iamce/dev/webstir-io/webstir/orchestrators/bun
bun run pack:standalone
mkdir -p ~/tmp/webstir-standalone
cd ~/tmp/webstir-standalone
printf '{"name":"webstir-local","private":true}\n' > package.json
bun add /Users/iamce/dev/webstir-io/webstir/orchestrators/bun/artifacts/webstir-io-webstir-0.1.0-standalone.tgz
./node_modules/.bin/webstir init ssg site
cd site
bun install
../node_modules/.bin/webstir build --workspace "$PWD"