feat(03-01): stand up web/ npm workspace with Wave-0 hand-rolled test runner (D-01, D-02, D-11, D-14)
- web/ workspace: TS + Vite shell (maplibre-gl 6.15.0, vite 8.3.5, TS 5.9.3; no UI framework, no Telegram SDK script tag) - tsconfig mirrors bot/ strictness byte-for-byte except the three authorized keys (DOM lib, vite/client types, resolveJsonModule) - test/runner.mjs + harness.mjs copied verbatim from bot/test/ (body-identical past header) - root package.json: web workspace + web:* delegate scripts - web/src/main.ts entry module created (tsc include:['src'] needs ≥1 input; 03-02/03-03 mount here)
This commit is contained in:
+8
-2
@@ -4,7 +4,8 @@
|
||||
"type": "module",
|
||||
"workspaces": [
|
||||
"theme",
|
||||
"bot"
|
||||
"bot",
|
||||
"web"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "npm run build --workspace theme",
|
||||
@@ -16,6 +17,11 @@
|
||||
"bot:typecheck": "npm run typecheck -w bot",
|
||||
"bot:dev": "npm run dev -w bot",
|
||||
"bot:deploy": "npm run deploy -w bot",
|
||||
"bot:commands": "npm run commands -w bot"
|
||||
"bot:commands": "npm run commands -w bot",
|
||||
"web:test": "npm test -w web",
|
||||
"web:typecheck": "npm run typecheck -w web",
|
||||
"web:dev": "npm run dev -w web",
|
||||
"web:build": "npm run build -w web",
|
||||
"web:capture": "npm run capture -w web"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user