Skip to content

maneki-technology/monorepo

Repository files navigation

maneki-monorepo

TypeScript engineering monorepo: a design system built with Web Components, a visual catalog, and a full-stack blog/portfolio app.

License: MIT

🐱 Browse the Visual Catalog


Toolchain

  • proto — version pinning (Node 22.16.0, Moon 2.2.1)
  • Moon — task runner and build orchestration
  • npm workspaces — package linking

Structure

maneki-monorepo/
├── .prototools              # node 22.16.0, moon 2.2.1
├── .moon/                   # Moon workspace + toolchain config
├── docs/                    # ADRs + lessons learned
├── shared/                  # Dev aliases for cross-package HMR
├── package.json             # npm workspaces root
├── packages/
│   ├── foundation/          # Design tokens (@maneki/foundation)
│   ├── ui-components/       # 78 Web Components (@maneki/ui-components)
│   ├── charts/              # 11 SVG chart components (@maneki/charts)
│   ├── grid-layout/         # Drag/resize grid layout (@maneki/grid-layout)
│   └── flex-layout/         # Panel-based flex layout (@maneki/flex-layout)
├── apps/
│   ├── catalog/             # Visual catalog + Playwright tests (@maneki/catalog)
│   └── blog/                # Full-stack blog + portfolio (@maneki/blog)

Packages

Package npm name Description
foundation @maneki/foundation Design tokens: 131 colors, semantic tokens, typography, spacing, elevation, breakpoints, dark theme, shape, token constants
ui-components @maneki/ui-components 78 Web Components: primitives, form controls, data display, navigation, disclosure, menus, overlays, tabs, calendar, datetime picker, list, tree, steps, progress, carousel, and more
charts @maneki/charts 11 SVG chart Web Components: bar, line, pie, radar, scatter, polar, stacked bar, horizontal bar, stacked horizontal bar, multi-line, multitype
grid-layout @maneki/grid-layout Zero-dep drag/resize grid layout (3 components, 220 tests)
flex-layout @maneki/flex-layout Panel-based flex layout for dashboard-style interfaces (3 components, 50 tests)

Apps

App Description
catalog Visual catalog for all design system packages. 69 pages, 120 Playwright tests (58 visual + 58 a11y + sidebar + full layout). Lazy-loaded pages, History API routing, PWA, theme switcher.
blog Full-stack blog + portfolio. Hono API + Turso DB, CF Pages Functions, static prerendering, admin system (/admin hub, editor, gallery, pages editor), AI review/brainstorm panels (Claude via CF AI Gateway), photography management, deploy trigger, History API routing, PWA.

Getting Started

# Install toolchain
proto use

# Install dependencies
npm install

# Build all packages
moon check --all

# Run tests for a specific package
moon run foundation:test
moon run ui-components:test
moon run grid-layout:test
moon run flex-layout:test
moon run charts:test

# Visual catalog (dev)
moon run catalog:dev

# Blog (dev)
moon run blog:dev

Conventions

  • Web Components with Shadow DOM, CSS custom properties
  • CSS prefixes per package: --fd-*, --ui-*, --grid-*, --flex-*, --chart-*
  • TypeScript strict mode, ES2022 target
  • Tests co-located: foo.tsfoo.test.ts
  • Moon tasks in kebab-case: build, test, test-watch, dev, test-visual
  • Dark theme via [data-theme] attribute on :root
  • Architectural Decision Records in docs/adr/

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages