Skip to content

goobits/site-primitives

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@goobits/site-primitives

Reusable public website primitives for Goobits and Sketch.IO sites.

Packages

  • @goobits/sitemap: sitemap inventories, XML, robots.txt helpers, and Svelte UI.
  • @goobits/humans-txt: humans.txt data model and terminal-style Svelte UI.
  • @goobits/changelog: changelog data model, format helpers, and Svelte timeline UI.

This repo is the canonical home for small, standards-adjacent site surfaces that should be shared across websites without copying route implementations.

Usage

Mount this repo in a host workspace and include the package folders in pnpm-workspace.yaml. Use the actual mount path for that host checkout:

packages:
  - packages/@goobits/site-primitives/packages/*

Then depend on the packages from the consuming app:

{
  "dependencies": {
    "@goobits/sitemap": "workspace:*",
    "@goobits/humans-txt": "workspace:*",
    "@goobits/changelog": "workspace:*"
  }
}

The packages are source-only ESM. Consumers need tooling that can compile TypeScript package exports, such as SvelteKit or another Vite-based app. UI package styles are Svelte component-scoped; consumers do not need Sass for @goobits/humans-txt or @goobits/changelog.

Development

pnpm install
pnpm test
pnpm typecheck

Package-level commands are also available:

pnpm --dir packages/sitemap test
pnpm --dir packages/humans-txt typecheck
pnpm --dir packages/changelog typecheck

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors