@dadigua/web-terminal 0.0.0-stage → 0.1.4
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/API.md +19 -0
- package/README.md +125 -2
- package/bin/web-terminal.mjs +2 -0
- package/config.example.yaml +9 -0
- package/dist/assets/index-Bv4iPZiS.js +27 -0
- package/dist/assets/index-DAKKO3a9.css +1 -0
- package/dist/favicon.svg +1 -0
- package/dist/index.html +4 -0
- package/dist-server/app-3OE4ER7S.js +772 -0
- package/dist-server/chunk-TD3NJESY.js +90 -0
- package/dist-server/cli.js +363 -0
- package/dist-server/vscodeInstaller-WIM5VHDI.js +210 -0
- package/package.json +76 -4
- package/release/web-terminal.vsix +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,78 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dadigua/web-terminal",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.4",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"dev": "tsx src/server/index.ts --dev",
|
|
7
|
+
"build": "tsc --noEmit && vite build && tsx scripts/build-server.ts",
|
|
8
|
+
"start": "tsx src/server/index.ts",
|
|
9
|
+
"test": "tsx --test tests/*.test.ts",
|
|
10
|
+
"check": "tsc --noEmit",
|
|
11
|
+
"build:clients": "tsx scripts/build-clients.ts",
|
|
12
|
+
"package:vscode": "pnpm build:clients && tsx scripts/package-vscode.ts",
|
|
13
|
+
"install:vscode": "pnpm package:vscode && tsx src/cli.ts install-vscode",
|
|
14
|
+
"electron": "pnpm build:clients && electron dist-clients/electron",
|
|
15
|
+
"package:electron:win": "pnpm build:clients && tsx scripts/package-electron.ts --win",
|
|
16
|
+
"package:electron:linux": "pnpm build:clients && tsx scripts/package-electron.ts --linux",
|
|
17
|
+
"prepack": "pnpm build && pnpm package:vscode"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@xterm/addon-fit": "^0.11.0",
|
|
21
|
+
"@xterm/addon-serialize": "0.14.0",
|
|
22
|
+
"@xterm/headless": "6.0.0",
|
|
23
|
+
"@xterm/xterm": "^6.0.0",
|
|
24
|
+
"express": "^5.1.0",
|
|
25
|
+
"multer": "^2.0.2",
|
|
26
|
+
"node-pty": "^1.1.0",
|
|
27
|
+
"react": "^19.2.0",
|
|
28
|
+
"react-dom": "^19.2.0",
|
|
29
|
+
"sharp": "^0.34.5",
|
|
30
|
+
"ws": "^8.18.3",
|
|
31
|
+
"yaml": "^2.8.2"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@types/vscode": "^1.96.0",
|
|
35
|
+
"@vscode/vsce": "^3.9.2",
|
|
36
|
+
"electron": "^42.3.3",
|
|
37
|
+
"electron-builder": "^26.15.3",
|
|
38
|
+
"esbuild": "^0.28.0",
|
|
39
|
+
"@types/express": "^5.0.0",
|
|
40
|
+
"@types/multer": "^2.0.0",
|
|
41
|
+
"@types/node": "^24.0.0",
|
|
42
|
+
"@types/react": "^19.2.0",
|
|
43
|
+
"@types/react-dom": "^19.2.0",
|
|
44
|
+
"@types/ws": "^8.18.1",
|
|
45
|
+
"@vitejs/plugin-react": "^5.1.0",
|
|
46
|
+
"tsx": "^4.20.6",
|
|
47
|
+
"typescript": "^5.9.3",
|
|
48
|
+
"vite": "^7.2.0"
|
|
49
|
+
},
|
|
50
|
+
"engines": {
|
|
51
|
+
"node": ">=22"
|
|
52
|
+
},
|
|
53
|
+
"packageManager": "pnpm@11.28.2",
|
|
54
|
+
"bin": {
|
|
55
|
+
"web-terminal": "bin/web-terminal.mjs"
|
|
56
|
+
},
|
|
57
|
+
"files": [
|
|
58
|
+
"bin/",
|
|
59
|
+
"dist-server/",
|
|
60
|
+
"dist/",
|
|
61
|
+
"release/web-terminal.vsix",
|
|
62
|
+
"config.example.yaml",
|
|
63
|
+
"README.md",
|
|
64
|
+
"API.md"
|
|
65
|
+
],
|
|
66
|
+
"description": "Web Terminal:共享 PTY、图片与文本附件、文件预览及 VS Code 客户端",
|
|
67
|
+
"repository": {
|
|
68
|
+
"type": "git",
|
|
69
|
+
"url": "git+https://github.com/laopo001/web-terminal.git"
|
|
70
|
+
},
|
|
71
|
+
"homepage": "https://github.com/laopo001/web-terminal#readme",
|
|
72
|
+
"bugs": {
|
|
73
|
+
"url": "https://github.com/laopo001/web-terminal/issues"
|
|
74
|
+
},
|
|
75
|
+
"publishConfig": {
|
|
76
|
+
"access": "public"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
Binary file
|