Phase 0: fix typecheck, format, build; remove stray emit; pin port via env
CI / Lint, typecheck, test, build (push) Failing after 22s

This commit is contained in:
Mavis
2026-06-02 16:07:09 +00:00
parent 7b19c54943
commit 938ba042b3
23 changed files with 6693 additions and 83 deletions
+1 -1
View File
@@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+2 -2
View File
@@ -4,9 +4,9 @@
"private": true,
"description": "Marketing/operations hub: mission calendar, crew, media, Spacenomicon",
"scripts": {
"dev": "next dev --port 3000",
"dev": "next dev --port ${PORT:-3000}",
"build": "next build",
"start": "next start --port 3000",
"start": "next start --port ${PORT:-3000}",
"typecheck": "tsc --noEmit",
"lint": "next lint",
"test": "echo 'no tests yet'"
+2 -1
View File
@@ -3,7 +3,8 @@ import type { ReactNode } from 'react';
export const metadata = {
title: 'Kerbal RT — Real-time KSP server',
description: 'A no-warp Kerbal Space Program multiplayer server, mirrored to the web in real time.',
description:
'A no-warp Kerbal Space Program multiplayer server, mirrored to the web in real time.',
};
export default function RootLayout({ children }: { children: ReactNode }) {
+3 -1
View File
@@ -3,7 +3,9 @@ import { Card, Pill } from '@kerbal-rt/ui';
export default function HomePage() {
return (
<main style={{ maxWidth: 960, margin: '0 auto', padding: '2rem 1rem' }}>
<header style={{ display: 'flex', alignItems: 'center', gap: '0.75rem', marginBottom: '1.5rem' }}>
<header
style={{ display: 'flex', alignItems: 'center', gap: '0.75rem', marginBottom: '1.5rem' }}
>
<h1 style={{ fontSize: '1.75rem', margin: 0 }}>Kerbal RT</h1>
<Pill tone="success">Phase 0 skeleton</Pill>
</header>
+6 -1
View File
@@ -7,7 +7,12 @@
"incremental": true,
"module": "ESNext",
"moduleResolution": "Bundler",
"plugins": [{ "name": "next" }]
"plugins": [
{
"name": "next"
}
],
"allowJs": true
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]