Skip to content

chore: scaffold pharos-react (phase 1B.1-1B.3)#1

Merged
dgraciac merged 1 commit into
mainfrom
chore/fase-1b-scaffold
Apr 20, 2026
Merged

chore: scaffold pharos-react (phase 1B.1-1B.3)#1
dgraciac merged 1 commit into
mainfrom
chore/fase-1b-scaffold

Conversation

@dgraciac

Copy link
Copy Markdown
Member

Set up the base repo following pharos-tokens conventions (layout, CI, release flow, AGENTS/CLAUDE/MCP) adapted for a React component library.

  • Vite 7 library mode + React 19 + TypeScript 6
  • Tailwind v4 via @tailwindcss/vite with @theme inline mapping to --pharos-* custom properties from @code-sherpas/pharos-tokens (peer dep)
  • Vitest (jsdom) + Testing Library; PharosHello demo component + passing test
  • ESLint 10 flat config + Prettier + Changesets
  • CI and release workflows mirrored from pharos-tokens (GitHub App token so changesets PRs retrigger CI; Trusted Publishing OIDC + provenance)
  • .mcp.json with context7 + github + shadcn (React repo)
  • engines.node ">=22" so Alexandria (Node 22) can consume without upgrade
  • pnpm.overrides.esbuild ^0.25.0 for transitive CVEs

Set up the base repo following pharos-tokens conventions (layout, CI,
release flow, AGENTS/CLAUDE/MCP) adapted for a React component library.

- Vite 7 library mode + React 19 + TypeScript 6
- Tailwind v4 via @tailwindcss/vite with @theme inline mapping to
  --pharos-* custom properties from @code-sherpas/pharos-tokens (peer dep)
- Vitest (jsdom) + Testing Library; PharosHello demo component + passing test
- ESLint 10 flat config + Prettier + Changesets
- CI and release workflows mirrored from pharos-tokens (GitHub App token
  so changesets PRs retrigger CI; Trusted Publishing OIDC + provenance)
- .mcp.json with context7 + github + shadcn (React repo)
- engines.node ">=22" so Alexandria (Node 22) can consume without upgrade
- pnpm.overrides.esbuild ^0.25.0 for transitive CVEs

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dgraciac dgraciac force-pushed the chore/fase-1b-scaffold branch from b61081c to 727fcb8 Compare April 20, 2026 01:02
@dgraciac dgraciac merged commit 6b78eb1 into main Apr 20, 2026
1 check passed
@dgraciac dgraciac deleted the chore/fase-1b-scaffold branch April 20, 2026 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant