Restore Stitch Home and initialize three frontend workspaces

This commit is contained in:
2026-12-05 20:37:13 +08:00
parent 9843afe0bc
commit d21e866bc2
52 changed files with 3022 additions and 1460 deletions
+8
View File
@@ -0,0 +1,8 @@
/node_modules/
/.next/
/out/
/coverage/
*.tsbuildinfo
next-env.d.ts
.env*
.DS_Store
+8
View File
@@ -0,0 +1,8 @@
import type { Metadata } from "next";
import type { ReactNode } from "react";
export const metadata: Metadata = { title: "Repository" };
export default function RootLayout({ children }: { children: ReactNode }) {
return <html lang="zh-CN"><body>{children}</body></html>;
}
+3
View File
@@ -0,0 +1,3 @@
export default function Page() {
return <main><h1>Repository</h1></main>;
}
+8
View File
@@ -0,0 +1,8 @@
import type { NextConfig } from "next";
const config: NextConfig = {
agentRules: false,
devIndicators: false,
};
export default config;
+20
View File
@@ -0,0 +1,20 @@
{
"name": "@bedrock/repository",
"private": true,
"scripts": {
"dev": "next dev --hostname 127.0.0.1 --port 3002",
"build": "next build",
"start": "next start --hostname 127.0.0.1 --port 3002"
},
"dependencies": {
"next": "16.4.6",
"react": "19.3.1",
"react-dom": "19.3.1"
},
"devDependencies": {
"@types/node": "22.20.7",
"@types/react": "19.3.0",
"@types/react-dom": "19.3.0",
"typescript": "5.9.3"
}
}
+41
View File
@@ -0,0 +1,41 @@
{
"compilerOptions": {
"target": "ES2017",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"isolatedModules": true,
"jsx": "react-jsx",
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": [
"./*"
]
},
"allowJs": true,
"incremental": true,
"resolveJsonModule": true
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
".next/dev/types/**/*.ts"
],
"exclude": [
"node_modules"
]
}