This commit is contained in:
2026-04-18 23:11:35 +02:00
commit f7cfd2a86e
196 changed files with 35538 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
{
"name": "@chat-app/ui-web",
"version": "0.1.0",
"private": true,
"description": "React web UI components shared by the Tauri desktop app (not consumed by React Native)",
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": "./src/index.ts",
"./components/*": "./src/components/*.tsx"
},
"scripts": {
"build": "tsc -b",
"dev": "tsc -b --watch",
"lint": "eslint src --ext .ts,.tsx",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"clean": "rm -rf dist .turbo *.tsbuildinfo"
},
"peerDependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1"
}
}
+5
View File
@@ -0,0 +1,5 @@
// Barrel for shared web UI components.
// Re-export individual components from ./components as they are authored.
// Keep this tree shakable: no side-effect imports here.
export {};
+10
View File
@@ -0,0 +1,10 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"noEmit": true,
"rootDir": "./src",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"jsx": "react-jsx"
},
"include": ["src/**/*"]
}