feat(core-api): scaffold empty appRouter aggregator

This commit is contained in:
2026-05-04 20:30:28 +02:00
parent cd1aa861a2
commit f55823fc6e
5 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
{
"name": "@repo/core-api",
"private": true,
"version": "0.0.0",
"type": "module",
"exports": {
".": "./src/index.ts"
},
"scripts": {
"build": "tsc --noEmit",
"lint": "eslint .",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@repo/core-shared": "workspace:*",
"@trpc/server": "^11.0.0"
},
"devDependencies": {
"@repo/eslint-config": "workspace:*",
"@repo/typescript-config": "workspace:*",
"@types/node": "^22.0.0"
}
}

View File

@@ -0,0 +1 @@
export { appRouter, type AppRouter } from "./root";

View File

@@ -0,0 +1,5 @@
import { router } from "@repo/core-shared/trpc/init";
export const appRouter = router({});
export type AppRouter = typeof appRouter;

View File

@@ -0,0 +1,9 @@
{
"extends": "@repo/typescript-config/base.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src"
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
}

View File

@@ -0,0 +1,4 @@
{
"extends": ["//"],
"tags": ["core"]
}