mirror of
https://github.com/tmlnv/obsidian-telegram-bridge.git
synced 2026-07-22 06:53:13 +00:00
- tsconfig: drop deprecated baseUrl and moduleResolution=node10 (node->bundler)
that failed build verification on newer TypeScript
- esbuild: replace builtin-modules dependency with node:module builtinModules
- settings-tab: use createDiv/createSpan instead of createEl("div"/"span")
- main: avoid globalThis; reference crypto.randomUUID directly
- type Supabase rpc/select responses and loadData to remove unsafe-any flows
(destructuring, assignment, member access, arguments)
- template-engine: annotate replace() callback params to drop unsafe arguments
- styles: drop !important; override via selector specificity
- bump version to 0.1.1 (manifest, package, versions)
27 lines
752 B
JSON
27 lines
752 B
JSON
{
|
|
"name": "telegram-bridge",
|
|
"version": "0.1.1",
|
|
"description": "Sync messages from Telegram into your vault through a self-hosted Supabase backend.",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"dev": "node esbuild.config.mjs",
|
|
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"verify": "node scripts/verify-local-env.mjs",
|
|
"bootstrap:supabase": "node scripts/bootstrap-supabase.mjs"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.17.30",
|
|
"esbuild": "^0.25.1",
|
|
"obsidian": "latest",
|
|
"typescript": "^5.8.2",
|
|
"vitest": "^3.0.8"
|
|
},
|
|
"dependencies": {
|
|
"@supabase/supabase-js": "^2.49.8"
|
|
}
|
|
}
|