Single-package examples for publishing — one starter for each package manager.
Each package is a simple TypeScript "hello world" package configured for its respective package manager and vlt registry.
- vlt — Example using vlt
- npm — Example using npm
- pnpm — Example using pnpm
- yarn — Example using yarn
- bun — Example using bun
- deno — Example using deno
Each package contains:
index.ts— Simple hello-world TypeScript functionpackage.json— Package metadata (name, version, scripts, dependencies)tsconfig.json— TypeScript configuration- Package manager config file (
vlt.json,.npmrc,.yarnrc.yml,bunfig.toml, etc.)
Each package can be used as a starting point for the publishing guides.
Clone a specific package directory or explore locally:
pnpm install
pnpm buildInstall dependencies:
pnpm installBuild all packages:
pnpm build