Licence
MIT
Version
0.1.65
Deps
0
Vulns
0
Weekly
0
@gaulatti/giorgia
Server-side renderer and Handlebars template bundle for ModoItaliano pages.
What it does
- Renders canonical content documents into HTML
- Supports
article-page,homepage,category-page,live-story, and404layouts - Ships reusable Handlebars templates, partial dependency metadata, and compiled CSS
Installation
npm install @gaulatti/giorgia
Basic usage
import { render } from '@gaulatti/giorgia';
const html = render(doc);
doc must match the canonical schema used by the renderer (see src/types/canonical-article.ts).
Exports
@gaulatti/giorgia-> renderer entrypoint@gaulatti/giorgia/partial-deps.json-> partial-to-layout dependency map
Development
npm install
npm run typecheck
npm run test:unit
npm run build
npm run storybook
Publish flow
- CI validates typecheck, unit tests, and package build on pull requests and
mainpushes. - Package publish is triggered by pushing a
v*tag.