prospector/web/package.json
Natalie a7c398fca6
Some checks are pending
CI / verify (push) Waiting to run
feat(web): adopt the cocotte design system (P-1 foundation)
First consumer of @cocotte/ui-theme. Wires the brand theme and the styled-components
runtime so views can migrate off styles.css.

- .npmrc: scope @cocotte/@lilith → ct-forge verdaccio (CI-resolvable)
- deps: styled-components@^6.3.8 (aligned to @lilith/ui-styled-components' copy),
  @cocotte/ui-theme, ui-icons, ui-fab, ui-zname, site-themes@^0.1.1
- main.tsx: ThemeProvider themeName="luxe" + site-themes luxeDarkTheme customTheme
  (cocotte brand; lilith was the previous brand) + cssVariables + GlobalScrollbarStyles
- vite: resolve.dedupe styled-components/react/react-dom — without this the
  ThemeProvider and styled components resolve different ThemeContexts (theme undefined)

typecheck + build green; app renders clean (no console errors). Existing views still
use styles.css (emerald) until the per-view migration in P1.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-29 19:45:23 -04:00

28 lines
682 B
JSON

{
"name": "@prospector/web",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "NODE_ENV=production vite build",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@cocotte/site-themes": "^0.1.1",
"@cocotte/ui-fab": "^2.3.10",
"@cocotte/ui-icons": "^1.2.3",
"@cocotte/ui-theme": "^1.5.2",
"@cocotte/ui-zname": "^1.2.5",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"styled-components": "^6.3.8"
},
"devDependencies": {
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.4",
"typescript": "^5.9.3",
"vite": "^5.4.11"
}
}