Example projects demonstrating Varlock usage with various frameworks and tools.
Each example is a standalone project, organized into category folders:
integrations/β using varlock with a framework or build tool (Next.js, Astro, SvelteKit, Vite, Cloudflare Workers, ...). Frameworks with multiple examples group them one level deeper (e.g.integrations/nextjs/v15).core/β core varlock features with no framework involved (loading, imports,varlock initplaygrounds).plugins/β secret-provider plugin examples (1Password, AWS, Azure, Bitwarden, GCP, Infisical, pass). Note that these reference real items in the dmno team's own vaults β see plugins/README.md._scripts/β repo tooling, not examples.
This repo expects the main varlock monorepo to be cloned as a sibling directory (i.e., ../varlock).
The _scripts/deps.ts script toggles varlock dependencies between locally linked copies and published npm versions.
# Switch all examples to published versions
pnpm deps:published
# Switch all examples to local links
pnpm deps:local
# Only switch specific examples (matched by path substring)
pnpm deps:local -- astro next
# By default, pkg.pr.new preview URLs are left untouched.
# Use --force to overwrite them too
pnpm deps:published -- --force