mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 15:54:03 +00:00
Codex/whe 15 bootstrap workspace (#1)
* feat(WHE-15): bootstrap bun workspace with app and package scaffolds * chore(WHE-17): switch workspace typecheck to tsgo * chore(WHE-16): configure oxlint and oxfmt no-semicolon style * chore: address CodeRabbit review feedback * chore: apply coderabbit fixes and add review script * docs: add ADR decision metadata
This commit is contained in:
12
apps/bot/package.json
Normal file
12
apps/bot/package.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "@household/bot",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "bun run src/index.ts",
|
||||
"build": "bun build src/index.ts --outdir dist --target bun",
|
||||
"typecheck": "tsgo --project tsconfig.json --noEmit",
|
||||
"test": "bun test --pass-with-no-tests",
|
||||
"lint": "oxlint \"src\""
|
||||
}
|
||||
}
|
||||
7
apps/bot/src/index.ts
Normal file
7
apps/bot/src/index.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
const startupMessage = '@household/bot scaffold is ready'
|
||||
|
||||
if (import.meta.main) {
|
||||
console.log(startupMessage)
|
||||
}
|
||||
|
||||
export { startupMessage }
|
||||
7
apps/bot/tsconfig.json
Normal file
7
apps/bot/tsconfig.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"composite": true
|
||||
},
|
||||
"include": ["src/**/*.ts"]
|
||||
}
|
||||
Reference in New Issue
Block a user