Files
Jordan Ritter 541839dafc fix(showcase): run dashboard dev on webpack so it resolves the shared cell-model fold
Turbopack has no resolve.extensionAlias parity (Next #82945), so
'next dev --turbopack' can't resolve the shared cell-model fold's
.js->.ts specifiers and fails with Can't resolve './live-status.js'.
The extensionAlias in next.config.ts (added in #5955) is honoured by
webpack, which next build already uses. Drop --turbopack from the dev
script so dev runs on webpack too and resolves the fold.

Deploy path unaffected: the Dockerfile builds with 'next build' (webpack)
and serves with 'next start' -- the dev script is never in the build or
runtime path.
2026-07-13 23:24:13 -07:00

42 lines
1.3 KiB
JSON

{
"name": "@copilotkit/showcase-shell-dashboard",
"version": "0.1.0",
"private": true,
"scripts": {
"postinstall": "cd ../scripts && npm install --no-audit --no-fund --silent",
"predev": "tsx ../scripts/generate-registry.ts && tsx ../scripts/probe-docs.ts",
"dev": "next dev --port 3002",
"prebuild": "tsx ../scripts/generate-registry.ts && tsx ../scripts/probe-docs.ts",
"build": "next build",
"start": "next start --port 3002",
"pretest": "tsx ../scripts/generate-registry.ts && tsx ../scripts/probe-docs.ts",
"test": "vitest run",
"test:watch": "vitest",
"test:visual": "playwright test",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"next": "^15.0.0",
"pocketbase": "^0.21.5",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@playwright/test": "^1.59.1",
"@tailwindcss/postcss": "^4.0.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^5.2.0",
"croner": "^9.1.0",
"jsdom": "^29.0.2",
"postcss": "^8.5.0",
"tailwindcss": "^4.0.0",
"tsx": "^4.19.0",
"typescript": "^5.7.0",
"vitest": "^4.1.4"
}
}