- resolve-destination.ts: reads ?dest= (URL, primary — the inline web_app-button carrier) then initData's start_param (the signed string, secondary — the direct-link/home-screen carrier), ONE slug validation, dest_ prefix stripped; resolves against the webview's own build-time @araharah/search copy; honest null for unknown ids; module-scope memory-only holder (GEO-03/D-07) - destination-card.ts: the confirmation + honest-unavailable cards, createElement/textContent only, existing theme classes (T-04-32) - webapp.ts: TelegramWebAppLike gains startParam, addToHomeScreen?, checkHomeScreenStatus? + HomeScreenStatus (Bot API 8.0+ members) - telegram-mock.ts: satisfies the extended contract in the same change (startParam initData wiring, homeScreenStatus, __homeScreenAdded) - strings.ts: 5 new copy fields in en+ms; web depends on @araharah/search - DP1-DP12 green (45/45 web suite), web:typecheck green
24 lines
513 B
JSON
24 lines
513 B
JSON
{
|
|
"name": "@araharah/web",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"test": "node test/runner.mjs",
|
|
"typecheck": "tsc --noEmit",
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"build:harness": "vite build --mode harness",
|
|
"capture": "node scripts/capture.mjs"
|
|
},
|
|
"dependencies": {
|
|
"maplibre-gl": "^6.15.0",
|
|
"@araharah/theme": "*",
|
|
"@araharah/search": "*"
|
|
},
|
|
"devDependencies": {
|
|
"vite": "^8.3.5",
|
|
"typescript": "^5.9.3",
|
|
"playwright": "^1.50.0"
|
|
}
|
|
}
|