better-tg-cli 0.18.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/telegram.mjs +1 -1
- package/package.json +8 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "better-tg-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"description": "Unofficial agent-friendly Telegram client for the command line (MTProto, layer 229)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/telegram.mjs",
|
|
@@ -10,10 +10,15 @@
|
|
|
10
10
|
"scripts": {
|
|
11
11
|
"build": "node scripts/gen-version.mjs && tsc --noEmit && rm -rf dist && bun scripts/bundle.mjs node",
|
|
12
12
|
"prepublishOnly": "npm run build",
|
|
13
|
+
"dev": "scripts/tg-dev",
|
|
14
|
+
"dev:node": "TG_PROFILE=${TG_PROFILE-dev} TG_NO_UPDATE_CHECK=1 tsx src/index.ts",
|
|
15
|
+
"dev:debug": "TG_PROFILE=${TG_PROFILE-dev} TG_NO_UPDATE_CHECK=1 tsx --inspect-brk src/index.ts",
|
|
16
|
+
"dev:dist": "npm run build && TG_PROFILE=${TG_PROFILE-dev} TG_NO_UPDATE_CHECK=1 node dist/telegram.mjs",
|
|
13
17
|
"test": "vitest run",
|
|
14
18
|
"test:watch": "vitest",
|
|
15
19
|
"pretest": "node scripts/gen-version.mjs",
|
|
16
|
-
"typecheck": "tsc --noEmit"
|
|
20
|
+
"typecheck": "tsc --noEmit",
|
|
21
|
+
"typecheck:watch": "tsc --noEmit --watch --preserveWatchOutput"
|
|
17
22
|
},
|
|
18
23
|
"keywords": [
|
|
19
24
|
"telegram",
|
|
@@ -39,6 +44,7 @@
|
|
|
39
44
|
"big-integer": "^1.6.52",
|
|
40
45
|
"commander": "^14.0.0",
|
|
41
46
|
"teleproto": "^1.229.0",
|
|
47
|
+
"tsx": "^4.23.15",
|
|
42
48
|
"typescript": "^5.7.0",
|
|
43
49
|
"vitest": "^5.0.2"
|
|
44
50
|
},
|