Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.51 KB

README.md

File metadata and controls

45 lines (32 loc) · 1.51 KB

granthlabs.github.io

The website for granthdb — docs, the query sandbox, the framework examples and the Signals showcase app.

Live: https://granthlabs.github.io

What lives here

docs/                     the documentation site (VitePress)
examples/playground/      the hosted pages: sandbox, demos, showcase, verification

The library itself is not here. It lives in granthlabs/granth — issues, pull requests and the packages all belong there.

It builds against the published library

This repo installs granthdb from npm rather than from a workspace. That is deliberate: the hosted sandbox, demos and showcase run the published package, so what you try on the site is what npm install granthdb gives you.

The trade is that unreleased changes cannot be demoed here until they ship, and a few page sources exist in both repos — the library needs them for its browser tests. drift-check.mjs compares those against granthlabs/granth on every build and fails if they disagree, because duplication nothing watches is duplication that quietly diverges.

Running it

npm install && npm install --prefix examples/playground
npm run dev          # the docs site
npm run play         # the sandbox, demos and showcase at :5178
npm run docs:build   # build everything into docs/.vitepress/dist
npm test             # drift, links, SPA exits, the built pages, first paint

Licence

MIT