workspace: pnpm monorepo with api, web, shared

TypeScript 7 strict, ESLint + Prettier, vitest, AGPL-3.0 license.
Decision 0001 records the latest-majors choice and the TS 6 alias.

Task: M0-T1
This commit is contained in:
iamdoubz committed 2026-10-17 14:18:02 -05:00
1 parent 547bb68a6f
commit aa99622a24
24 files changed
+2940 -3

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
{
"name": "@selfphoneng/api",
"version": "0.0.0",
"private": true,
"license": "AGPL-3.0-or-later",
"type": "module",
"scripts": {
"dev": "node --watch --conditions=development src/index.ts",
"build": "tsc -p tsconfig.build.json",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@selfphoneng/shared": "workspace:*"
}
}
+4
View File
@@ -0,0 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
import { APP_NAME } from '@selfphoneng/shared';
console.log(`${APP_NAME} api`);
+4
View File
@@ -0,0 +1,4 @@
{
"extends": "./tsconfig.json",
"exclude": ["src/**/*.test.ts"]
}
+5
View File
@@ -0,0 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": { "rootDir": "src", "outDir": "dist", "types": ["node"] },
"include": ["src"]
}