AEROSIM-TS-11
Bootstrap the Nebula React and Vite application
Nebula has a production-buildable React application with Vite entry points and strict TypeScript configuration.
- Verified flow state
- Done
- Owner
- AeroSim Architecture and Delivery
- Feature
- AEROSIM-FT-41
- Component
- Web Application — React/Vite application shell
- Repository
- corp-v1-aerosim/corp-v1-aerosim
Delivery scope
Create the Nebula workspace package, HTML and React entry points, Vite production configuration, strict browser TypeScript project, and bootstrap test; the task ends when a clean checkout can build the static bundle. Primary files: applications/web/package.json, applications/web/index.html, applications/web/src/main.tsx, applications/web/src/App.tsx, applications/web/vite.config.ts, applications/web/tsconfig.app.json, applications/web/tests/app-bootstrap.test.tsx.
Implementation contract
Implementation artifacts
- applications/web/package.json
- applications/web/index.html
- applications/web/src/main.tsx
- applications/web/src/App.tsx
- applications/web/vite.config.ts
- applications/web/tsconfig.app.json
- applications/web/tests/app-bootstrap.test.tsx
Inputs
- Root pnpm workspace and lockfile
- VITE_API_BASE_URL and VITE_SOCKET_URL browser build variables
- applications/web/index.html containing the #root mount element
Outputs
- applications/web/dist static bundle with hashed JavaScript and CSS assets
- Mounted React App root from applications/web/src/main.tsx
Failure boundaries
- Fail the build when a required VITE_* URL is absent or not an absolute URL.
- Fail type checking on implicit any, unchecked index access, or browser/server type leakage; do not emit a production bundle after a TypeScript error.
Excluded scope
- API routes, identity redirects, Socket.IO wiring, and 3D scene behavior are assigned to FT-42, FT-50, FT-44, and FT-45.
Verification steps
- pnpm --filter @aerosim/web typecheck && pnpm --filter @aerosim/web test -- app-bootstrap.test.tsx
- pnpm --filter @aerosim/web build; assert applications/web/dist/index.html references emitted hashed assets.
Traceability
Acceptance evidence
Verified delivery: application PR #11 reviewed head b9a955c65a9566831f159a8665ea5e1cd110571e, merged as 12273cd95ce1a7c1ed2db3d427b30968445c95a2; final Wave 1 integration head 7d43415f042123871516df10ecc18cc1c4beb034 passed Gitea Actions publish task 1735 and validate task 1736. Release completion verified on product 1.0.0.0 at GitOps revision 5d3712d89dfbf7dacd993348e55f497d126c7bf9 with Argo Synced/Healthy, exact image digests, authenticated API/database access, and three-world configured-flight acceptance.
Current evidence boundary
No current implementation, acceptance, release, or deployment evidence is claimed for this planned Task. Any prior implementation may be used only as prototype and discovery evidence.