Phase 0: fix typecheck, format, build; remove stray emit; pin port via env
CI / Lint, typecheck, test, build (push) Failing after 22s

This commit is contained in:
Mavis
2026-06-02 16:07:09 +00:00
parent 7b19c54943
commit 938ba042b3
23 changed files with 6693 additions and 83 deletions
+3 -3
View File
@@ -4,10 +4,10 @@
"private": true,
"description": "Shared React components for hub + live-map",
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"main": "./src/index.tsx",
"types": "./src/index.tsx",
"exports": {
".": "./src/index.ts"
".": "./src/index.tsx"
},
"scripts": {
"typecheck": "tsc --noEmit",
@@ -6,7 +6,13 @@
import { type ReactNode } from 'react';
export function Pill({ children, tone = 'neutral' }: { children: ReactNode; tone?: 'neutral' | 'success' | 'warn' | 'danger' }) {
export function Pill({
children,
tone = 'neutral',
}: {
children: ReactNode;
tone?: 'neutral' | 'success' | 'warn' | 'danger';
}) {
const colorMap = {
neutral: 'var(--pill-neutral, #ddd)',
success: 'var(--pill-success, #2c5)',