create-kongly-docs
v0.1.0
Published
Scaffold a new documentation site from the kong.ly docs template.
Downloads
22
Maintainers
Readme
create-kongly-docs
Scaffold a new documentation site from the kong.ly docs template.
Usage
# npm
npm create kongly-docs@latest my-docs
# bun
bun create kongly-docs my-docs
# pnpm
pnpm create kongly-docs my-docs
# yarn
yarn create kongly-docs my-docsOmit the directory argument to be prompted for it.
What it does
- Asks where to create the project (or uses the positional argument).
- Refuses to scaffold into a non-empty directory.
- Asks for a project name (used as the
namefield inpackage.json). - Detects installed package managers (
bun,pnpm,npm,yarn) and asks which to use when more than one is available. - Downloads the latest template from
github:brandondkong/docs#main. - Runs
<pm> install.
Does not run git init — safe to scaffold inside an existing repository.
Releasing
Releases are published automatically by GitHub Actions when a tag matching create-kongly-docs@v* is pushed.
# 1. Bump the version in packages/create-kongly-docs/package.json
# 2. Commit the change.
# 3. Tag and push.
git tag [email protected]
git push origin [email protected]Required GitHub Actions secret: NPM_TOKEN (an automation token from npm with publish rights to create-kongly-docs).
