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

+18
View File
@@ -0,0 +1,18 @@
{
"name": "@selfphoneng/web",
"version": "0.0.0",
"private": true,
"license": "AGPL-3.0-or-later",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@selfphoneng/shared": "workspace:*"
},
"devDependencies": {
"vite": "^8.3.4"
}
}
+4
View File
@@ -0,0 +1,4 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
import { APP_NAME } from '@selfphoneng/shared';
document.title = APP_NAME;
+12
View File
@@ -0,0 +1,12 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"module": "esnext",
"moduleResolution": "bundler",
"lib": ["es2024", "dom", "dom.iterable"],
"jsx": "react-jsx",
"noEmit": true,
"types": ["vite/client"]
},
"include": ["src", "vite.config.ts"]
}