npm.io
0.1.65 • Published 2d ago

@gaulatti/giorgia

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, and 404 layouts
  • 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 main pushes.
  • Package publish is triggered by pushing a v* tag.

Keywords