Files
copilotkit__copilotkit/showcase/shell-docs/package.json
Sam Julien 6209f1c209 fix(shell-docs): add missing @types/react-dom devDependency
PR #4691 introduced createPortal from react-dom in search-trigger.tsx
but the shell-docs package was missing @types/react-dom, breaking the
Railway production build with:

  Type error: Could not find a declaration file for module 'react-dom'

Hoisting masks this in local dev, but the Docker builder installs
each package's deps in isolation.
2026-05-12 13:15:43 -07:00

40 lines
1.1 KiB
JSON

{
"name": "@copilotkit/showcase-shell-docs",
"version": "0.1.0",
"private": true,
"scripts": {
"predev": "tsx ../scripts/generate-registry.ts && tsx ../scripts/bundle-demo-content.ts && tsx ../scripts/generate-search-index.ts",
"dev": "next dev --port 3003",
"build": "tsx ../scripts/generate-registry.ts && tsx ../scripts/bundle-demo-content.ts && tsx ../scripts/generate-search-index.ts && next build",
"start": "next start -p 3003",
"lint": "next lint"
},
"dependencies": {
"gray-matter": "^4.0.3",
"highlight.js": "^11.11.1",
"lucide-react": "^0.469.0",
"next": "^15.0.0",
"next-mdx-remote": "^5.0.0",
"posthog-js": "^1.175.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-ga4": "^2.1.0",
"rehype-highlight": "^7.0.2",
"remark-gfm": "^4.0.0",
"yaml": "^2.7.0"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.0.0",
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"postcss": "^8.5.0",
"tailwindcss": "^4.0.0",
"tsx": "^4.19.0",
"typescript": "^5.7.0"
},
"engines": {
"node": ">=18.18"
}
}