@northstar/core (0.2.1)
Published 2026-06-19 03:27:19 +00:00 by stephen
Installation
@northstar:registry=npm install @northstar/core@0.2.1"@northstar/core": "0.2.1"About this package
@northstar/core
Content pipeline, navigation, MDsveX + Shiki preset, and the Vite integration that powers a Northstar site.
Also home to the publication platform primitives:
- The
Publicationconfig type that binds collections, content-type schemas, taxonomy, feeds, and layout into one publication surface. draftfrontmatter handling: production builds dropdraft: truepages, and theNORTHSTAR_PREVIEW=1build override forces draft-inclusive output for per-branch preview deploys (see docs/spec/draft-preview-workflow.md).- A stable frontmatter round-trip serializer (
parseFrontmatter/editFrontmatter) that rewrites only edited top-level keys and preserves untouched keys, comments, and ordering, for the git-backed authoring write path (ADR 0004).
Part of Northstar. MIT licensed.
Dependencies
Dependencies
| ID | Version |
|---|---|
| github-slugger | ^2.0.0 |
| gray-matter | ^4.0.3 |
| mdast-util-to-string | ^4.0.0 |
| mdsvex | ^0.12.3 |
| shiki | ^1.24.0 |
| unist-util-visit | ^5.0.0 |
Development dependencies
| ID | Version |
|---|---|
| katex | ^0.16.0 |
| vitest | ^2.1.0 |
Peer dependencies
| ID | Version |
|---|---|
| vite | ^5.0.0 || ^6.0.0 || ^7.0.0 |