npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@v-office/site-manifest

v0.3.0

Published

Derives a site's manifest at build time — the installed platform package versions and the platform surfaces the build reaches — and writes it to dist/site-manifest.json for the build worker to report. A Vite plugin for Vite sites (guest, owner) and an Ast

Readme

@v-office/site-manifest

Derives a site's manifest at build time and writes it to dist/site-manifest.json. The build worker reports the file to the controller with the build's finalize call; the fleet queries and package rollouts read from there (docs/website-platform/process/05-site-manifest.md).

Nothing is declared, everything is derived:

  • packages — the installed version of every @v-office/* package the site declares, plus the frameworks (astro, vite, vue, react, tailwindcss) when installed. One list serves every kind of site.
  • components — per platform surface (src/surfaces.ts): imported when the site imports the component from @v-office/website-components, custom when it imports the surface's behavior without the component. Three signals are cross-checked per build (source scan, what the bundler reached, the data-part markers in the output); a surface shipped without the platform's behavior fails the build.
  • backends — the PMS backends (v9, v10) the build constructed @v-office/website-sdk with, read from the record createWebsiteSDK keeps (website-sdk 2.24.0 and later), not from the site's configuration code. [] when the build constructed no website SDK.
  • websiteSdks — every distinct config and options the build passed to createWebsiteSDK, only the top-level fields it reads, from the same SDK's record (website-sdk 2.27.0 and later). [] when the build loaded the SDK and constructed none; left out without the record, or when a construction was not JSON (a warning says so), since the rest would read as the whole answer. The config holds the site's public token, so the manifest is reported, not served.

Use

Vite sites (guest, owner — whatever the UI framework):

// vite.config.ts
import { siteManifest } from "@v-office/site-manifest";
export default defineConfig({ plugins: [vue(), siteManifest()] });

Astro sites (public):

// astro.config.ts
import { siteManifest } from "@v-office/site-manifest/astro";
export default defineConfig({ integrations: [react(), siteManifest()] });

Build-time Node code — import it in the build config and nowhere else. No runtime dependencies; astro and vite are devDependencies for type checks only.

Development

pnpm install       # at the repository root: this package is a workspace member
pnpm check         # tsc, oxlint, oxfmt --check
pnpm test          # vitest
pnpm build         # tsdown → dist/ (index, astro; .mjs + .d.mts)

Publishing: see docs/internal/releasing/overview.md. node .github/release/cli.mts prepare site-manifest <bump> sets the version and scaffolds the notes; the Release packages workflow publishes what is on main.