update start commands

This commit is contained in:
Nate Kelley 2025-09-03 09:25:15 -06:00
parent 5ea1c5b9c8
commit be0659e1bf
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
2 changed files with 10 additions and 3 deletions

View File

@ -5,9 +5,12 @@
"version": "0.0.1",
"scripts": {
"dev": "vite dev --port 3000",
"dev:fast": "pnpm run build && pnpm run start",
"start": "node .output/server/index.mjs",
"dev:fast": "pnpm run build:local && pnpm run start:local",
"start": "echo 'For Cloudflare deployment, no start command is needed. Use start:local for local builds or start:wrangler for Cloudflare Workers dev'",
"start:local": "node .output/server/index.mjs",
"start:bun": "bun .output/server/index.mjs",
"start:wrangler": "npx wrangler dev .output/server/index.mjs --assets .output/public",
"deploy:wrangler": "npx wrangler deploy .output/server/index.mjs --assets .output/public",
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build -- --typecheck",
"build:local": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build -- --typecheck --local",
"build:no-typecheck": "vite build",

View File

@ -1,3 +1,7 @@
import { ReportPageController } from '@/controllers/ReportPageControllers/ReportPageController';
import { useGetReportParams } from '../../Reports/useGetReportParams';
export const component = () => {
return <div>Report Index</div>;
const params = useGetReportParams();
return <ReportPageController {...params} />;
};