Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 2.31 KB

File metadata and controls

44 lines (29 loc) · 2.31 KB

@celine project monorepo

The project website maxbo.me/celine, rather than this README.md, has the demos, installation instructions, API docs and additional resources you might be looking for.

This monorepo contains the following packages:

demo

Local development

Prerequisites

  • Bun v1.3.10+ (canary required for standalone HTML builds)

Setup

bun install

Dev server

Bun's built-in HTML dev server bundles and serves the pages with hot reloading:

bun run dev

This serves all pages concurrently:

  • http://localhost:3000/index.html
  • http://localhost:3000/overviewoverview.html
  • http://localhost:3000/bibhtml/bibhtml/index.html
  • http://localhost:3000/libertine/libertine/index.html

The dev server resolves local imports from celine/mod.ts and bibhtml/mod.ts automatically, so changes to the source modules are reflected immediately.

Publishing to JSR

The source modules use bare import specifiers (e.g. @observablehq/runtime) which are resolved by:

  • Bun: via node_modules/ (after bun install)
  • Deno/JSR: via the imports map in each package's deno.json