Bump version in package.json and update VERSION constant in src/index.ts to match
Run checks: bun test && bun run typecheck && bun x ultracite check
Build: bun run build (also runs automatically via prepublishOnly)
Verify package contents: npm pack --dry-run — should contain only dist/llmake.js, README.md, LICENSE, package.json
Test the built artifact: ./dist/llmake.js --version should print the new version
Publish: npm publish
Verify install: bun add -g llmake@<version> then llmake --version
How the build works
bun build src/index.ts --outfile dist/llmake.js --target node --minify bundles all source files and all dependencies (shescape, smol-toml, zod, fast-glob, strip-json-comments) into a single minified JS file with #!/usr/bin/env node shebang. This means:
No runtime dependencies needed — everything is inlined
All deps are in devDependencies (needed only at build time)
Works with Node.js, Bun, or any Node-compatible runtime
Published package is ~90KB compressed
Installable via npm, bun, or pnpm; runnable via npx, bunx, or pnpx
Version checklist
When bumping versions, update both locations:
package.json → "version"
src/index.ts → const VERSION
1---2name: publish3description: Publish to npm4---5# Publish to npm67Publish `llmake` to npm.89## Prerequisites1011- Logged in to npm (`npm whoami` to check)12- All tests pass (`bun test`)13- Code passes lint (`bun x ultracite check`)1415## Steps16171. **Bump version** in `package.json` and update `VERSION` constant in `src/index.ts` to match182. **Run checks**: `bun test && bun run typecheck && bun x ultracite check`193. **Build**: `bun run build` (also runs automatically via `prepublishOnly`)204. **Verify package contents**: `npm pack --dry-run` — should contain only `dist/llmake.js`, `README.md`, `LICENSE`, `package.json`215. **Test the built artifact**: `./dist/llmake.js --version` should print the new version226. **Publish**: `npm publish`237. **Verify install**: `bun add -g llmake@<version>` then `llmake --version`2425## How the build works2627`bun build src/index.ts --outfile dist/llmake.js --target node --minify` bundles all source files and all dependencies (`shescape`, `smol-toml`, `zod`, `fast-glob`, `strip-json-comments`) into a single minified JS file with `#!/usr/bin/env node` shebang. This means:2829- No runtime `dependencies` needed — everything is inlined30- All deps are in `devDependencies` (needed only at build time)31- Works with Node.js, Bun, or any Node-compatible runtime32- Published package is ~90KB compressed33- Installable via `npm`, `bun`, or `pnpm`; runnable via `npx`, `bunx`, or `pnpx`3435## Version checklist3637When bumping versions, update both locations:3839- `package.json` → `"version"`40- `src/index.ts` → `const VERSION`
Run npx skillmds@latest add cyrusnuevodia/publish in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Publish to npm It is listed under Coding & Dev Tools, DevOps & Infra on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
cyrusnuevodia (@cyrusnuevodia) published this skill. Their other Agent Skills are listed on their SkillMD profile.