How amsterdam/design-system works
Project type and purpose
• This is an open-source design system monorepo (Amsterdam Design System).
Key areas in the file structure
• Top-level
• packages/css: SCSS entry point, components folder, build config
• packages/react: React component library, tests, Rollup config
• storybook: standalone Storybook site (config, stories, docs)
• documentation: process guides (CI, code reviews, publishing)
• CI/CD workflows under .github/workflows (lint/test, deploy, publish)
• pnpm-workspace.yaml (monorepo coordination)
• Build & deployment
• Rollup and Babel for building React
• SCSS compiler for CSS package
• Storybook/Vite for documentation site
• GitHub Actions for linting, testing, Chromatic visual tests, publishing to npm
• Clear labels: “packages/react”, “GitHub Actions → Build & Publish”
• Source code → Build → npm registry
• Consumer app ← npm package
• Storybook site ← built packages
• Rectangles for code modules (CSS, React, tokens)
Detailed elements to capture
• Monorepo root and workspace orchestration
• Per-package build steps & outputs
• Storybook documentation pipeline
• Visual testing integration (Chromatic)
• Publishing flow to npm