@theholocron/node-template
v1.5.2
Published
A modern NodeJS template with pre-configured tools, best practices, and CI/CD setup for rapid project development.
Readme
@theholocron/node-template
A modern NodeJS template with pre-configured tools, best practices, and CI/CD setup for rapid project development.
Getting Started
Use the Holocron CLI to scaffold a new repo. It clones the template, renames all placeholder references, and runs holocron setup in one step:
npx @theholocron/cli new node my-library \
--description "My library description" \
--homepage "https://my-library.example.com" \
--agent claudeThis will:
- Create
theholocron/my-libraryfrom this template on GitHub - Replace all
node-templatereferences withmy-librarythroughout the repo - Run
pnpm install - Run
holocron setupto configure branch protection, labels, workflows, and repo settings
Installation
pnpm install --save-dev @theholocron/node-templateUsage
import { doSomething, type SomethingOptions } from "@theholocron/node-template";
function App(options: SomethingOptions) {
return doSomething(options);
}Development
This repo uses pnpm workspaces.
pnpm install # install all deps
pnpm build # build all packages
pnpm test # test all packages
pnpm typecheck # typecheck all packages
pnpm lint # lint all packagesReleases
Releases are automated via semantic-release on push to main. All packages are versioned and published in lockstep. See CHANGELOG.md for the release history.
