Skip to content

Foundations: repo scaffolding, tooling & CI #3

Closed

Description

@n4ff4h

Set up the monorepo and the delivery pipeline (REQUIREMENTS §2, §4, §8, §17, §20).

  • pnpm workspace: packages/onu, examples, docs, figma
  • @javaabu/onu package: ESM only, sideEffects for CSS, subpath exports (§2 R2.5), optional peer deps (R2.6), React 18.3/19 + Tailwind 4 peers
  • TypeScript strict; Vite library build with preserved modules + .d.ts; "use client" banners
  • ESLint (incl. a rule banning physical left/right Tailwind utilities, R11.2), Prettier
  • Vitest + RTL + user-event + jsdom + vitest-axe; coverage thresholds (90/85, Thaana engine 100%)
  • GitHub Actions: ci.yml (lint, format, typecheck, test+coverage, build package/examples/docs, size check, licence check, audit), e2e.yml, release.yml (Changesets + npm provenance)
  • Codecov upload; README badges (tests, coverage, npm, licence)
  • Changesets, size-limit budgets, Renovate config
  • DEPENDENCIES.md, CONTRIBUTING.md, LICENSE.md, CHANGELOG.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions