Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.23 KB

File metadata and controls

50 lines (33 loc) · 1.23 KB

vlt

package-examples

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.

Packages

  • vlt — Example using vlt
  • npm — Example using npm
  • pnpm — Example using pnpm
  • yarn — Example using yarn
  • bun — Example using bun
  • deno — Example using deno

Structure

Each package contains:

  • index.ts — Simple hello-world TypeScript function
  • package.json — Package metadata (name, version, scripts, dependencies)
  • tsconfig.json — TypeScript configuration
  • Package manager config file (vlt.json, .npmrc, .yarnrc.yml, bunfig.toml, etc.)

Usage

Each package can be used as a starting point for the publishing guides.

Clone a specific package directory or explore locally:

pnpm install
pnpm build

Development

Install dependencies:

pnpm install

Build all packages:

pnpm build