xshell 1.0.170 → 1.0.172
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/builder.js +10 -5
- package/i18n/i18n-scan.js +0 -0
- package/package.json +142 -136
- package/utils.browser.js +1 -1
- package/utils.js +1 -1
package/builder.js
CHANGED
|
@@ -5,14 +5,15 @@ import { fcopy, fmkdir, fwrite } from './file.js';
|
|
|
5
5
|
import { path } from './path.js';
|
|
6
6
|
const monaco_files = [
|
|
7
7
|
'loader.js',
|
|
8
|
+
'nls.messages.zh-cn.js',
|
|
8
9
|
'editor/editor.main.js',
|
|
9
10
|
'editor/editor.main.css',
|
|
10
|
-
'editor/editor.main.nls.js',
|
|
11
|
-
'editor/editor.main.nls.zh-cn.js',
|
|
12
|
-
'base/common/worker/simpleWorker.nls.js',
|
|
13
11
|
'base/worker/workerMain.js',
|
|
14
12
|
'base/browser/ui/codicons/codicon/codicon.ttf',
|
|
15
13
|
...['python', 'javascript', 'typescript', 'css', 'html', 'cpp', 'sql', 'scss', 'shell'].map(language => `basic-languages/${language}/${language}.js`),
|
|
14
|
+
// 太大了,先不加
|
|
15
|
+
// 'language/typescript/tsMode.js',
|
|
16
|
+
// 'language/typescript/tsWorker.js',
|
|
16
17
|
];
|
|
17
18
|
const dependencies = {
|
|
18
19
|
react: {
|
|
@@ -83,8 +84,12 @@ const dependencies = {
|
|
|
83
84
|
devs: monaco_files.map(fp => `monaco-editor/dev/vs/${fp}`)
|
|
84
85
|
},
|
|
85
86
|
maps: {
|
|
86
|
-
productions:
|
|
87
|
-
|
|
87
|
+
productions: [
|
|
88
|
+
'monaco-editor/min-maps/vs/base/worker/workerMain.js.map',
|
|
89
|
+
'monaco-editor/min-maps/vs/editor/editor.main.js.map',
|
|
90
|
+
'monaco-editor/min-maps/vs/loader.js.map',
|
|
91
|
+
'monaco-editor/min-maps/nls.messages.zh-cn.js.map',
|
|
92
|
+
],
|
|
88
93
|
devs: [
|
|
89
94
|
'monaco-editor/dev/vs/base/worker/workerMain.js.map',
|
|
90
95
|
'monaco-editor/dev/vs/editor/editor.main.js.map',
|
package/i18n/i18n-scan.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,138 +1,144 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
],
|
|
18
|
-
"author": "ShenHongFei <shen.hongfei@outlook.com> (https://github.com/ShenHongFei)",
|
|
19
|
-
"publisher": "ShenHongFei",
|
|
20
|
-
"homepage": "https://www.npmjs.com/package/xshell",
|
|
21
|
-
"icon": "xshell.png",
|
|
22
|
-
"extensionKind": [
|
|
23
|
-
"workspace"
|
|
24
|
-
],
|
|
25
|
-
"activationEvents": [
|
|
26
|
-
"onStartupFinished"
|
|
27
|
-
],
|
|
28
|
-
"contributes": {
|
|
29
|
-
"commands": [
|
|
30
|
-
{
|
|
31
|
-
"command": "xshell_repl",
|
|
32
|
-
"title": "xshell_repl"
|
|
33
|
-
}
|
|
2
|
+
"name": "xshell",
|
|
3
|
+
"version": "1.0.172",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "./index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"xshell": "xshell.js",
|
|
8
|
+
"i18n-scan": "i18n/i18n-scan.js"
|
|
9
|
+
},
|
|
10
|
+
"description": "xshell is a shell designed to provide a brand new human-computer interaction experience.",
|
|
11
|
+
"keywords": [
|
|
12
|
+
"shell",
|
|
13
|
+
"node",
|
|
14
|
+
"repl",
|
|
15
|
+
"i18n",
|
|
16
|
+
"interactive programming"
|
|
34
17
|
],
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
"
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
18
|
+
"scripts": {
|
|
19
|
+
"start": "node --title=xshell --inspect=0.0.0.0:8420 ./xshell.js",
|
|
20
|
+
"typecheck": "tsc --noEmit",
|
|
21
|
+
"build": "tsc",
|
|
22
|
+
"package": "vsce package",
|
|
23
|
+
"publish:npm": "npm publish --access=public",
|
|
24
|
+
"publish:extension": "vsce publish"
|
|
25
|
+
},
|
|
26
|
+
"author": "ShenHongFei <shen.hongfei@outlook.com> (https://github.com/ShenHongFei)",
|
|
27
|
+
"publisher": "ShenHongFei",
|
|
28
|
+
"homepage": "https://www.npmjs.com/package/xshell",
|
|
29
|
+
"icon": "xshell.png",
|
|
30
|
+
"extensionKind": [
|
|
31
|
+
"workspace"
|
|
32
|
+
],
|
|
33
|
+
"activationEvents": [
|
|
34
|
+
"onStartupFinished"
|
|
35
|
+
],
|
|
36
|
+
"contributes": {
|
|
37
|
+
"commands": [
|
|
38
|
+
{
|
|
39
|
+
"command": "xshell_repl",
|
|
40
|
+
"title": "xshell_repl"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"keybindings": [
|
|
44
|
+
{
|
|
45
|
+
"command": "xshell_repl",
|
|
46
|
+
"key": "ctrl+enter",
|
|
47
|
+
"when": "editorTextFocus && (editorLangId == 'typescript' || editorLangId == 'javascript' || editorLangId == 'typescriptreact' || editorLangId == 'javascriptreact')"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"@babel/core": "^7.25.2",
|
|
53
|
+
"@babel/parser": "^7.25.6",
|
|
54
|
+
"@babel/traverse": "^7.25.6",
|
|
55
|
+
"@koa/cors": "^5.0.0",
|
|
56
|
+
"@stylistic/eslint-plugin": "^2.8.0",
|
|
57
|
+
"@svgr/webpack": "^8.1.0",
|
|
58
|
+
"@types/sass-loader": "^8.0.9",
|
|
59
|
+
"@types/ws": "^8.5.12",
|
|
60
|
+
"@typescript-eslint/eslint-plugin": "^8.6.0",
|
|
61
|
+
"@typescript-eslint/parser": "^8.6.0",
|
|
62
|
+
"@typescript-eslint/utils": "^8.6.0",
|
|
63
|
+
"@xterm/addon-fit": "^0.10.0",
|
|
64
|
+
"@xterm/addon-web-links": "^0.11.0",
|
|
65
|
+
"@xterm/addon-webgl": "^0.18.0",
|
|
66
|
+
"@xterm/xterm": "^5.5.0",
|
|
67
|
+
"ali-oss": "^6.21.0",
|
|
68
|
+
"archiver": "^7.0.1",
|
|
69
|
+
"byte-size": "^9.0.0",
|
|
70
|
+
"chalk": "^5.3.0",
|
|
71
|
+
"chardet": "^2.0.0",
|
|
72
|
+
"cli-table3": "^0.6.5",
|
|
73
|
+
"cli-truncate": "^4.0.0",
|
|
74
|
+
"colors": "^1.4.0",
|
|
75
|
+
"commander": "^12.1.0",
|
|
76
|
+
"css-loader": "^7.1.2",
|
|
77
|
+
"emoji-regex": "^10.4.0",
|
|
78
|
+
"eslint": "^9.10.0",
|
|
79
|
+
"eslint-plugin-import": "^2.30.0",
|
|
80
|
+
"eslint-plugin-react": "^7.36.1",
|
|
81
|
+
"gulp-sort": "^2.0.0",
|
|
82
|
+
"hash-string": "^1.0.0",
|
|
83
|
+
"https-proxy-agent": "^7.0.5",
|
|
84
|
+
"i18next": "^23.15.1",
|
|
85
|
+
"i18next-scanner": "^4.5.0",
|
|
86
|
+
"koa": "^2.15.3",
|
|
87
|
+
"koa-compress": "^5.1.1",
|
|
88
|
+
"license-webpack-plugin": "^4.0.2",
|
|
89
|
+
"lodash": "^4.17.21",
|
|
90
|
+
"map-stream": "^0.0.7",
|
|
91
|
+
"mime-types": "^2.1.35",
|
|
92
|
+
"ora": "^8.1.0",
|
|
93
|
+
"react": "^18.3.1",
|
|
94
|
+
"react-i18next": "^15.0.2",
|
|
95
|
+
"react-object-model": "^1.2.13",
|
|
96
|
+
"resolve-path": "^1.4.0",
|
|
97
|
+
"sass": "^1.79.2",
|
|
98
|
+
"sass-loader": "^16.0.1",
|
|
99
|
+
"source-map-loader": "^5.0.0",
|
|
100
|
+
"strip-ansi": "^7.1.0",
|
|
101
|
+
"style-loader": "^4.0.0",
|
|
102
|
+
"through2": "^4.0.2",
|
|
103
|
+
"tough-cookie": "^5.0.0-rc.4",
|
|
104
|
+
"ts-loader": "^9.5.1",
|
|
105
|
+
"tslib": "^2.7.0",
|
|
106
|
+
"typescript": "^5.6.2",
|
|
107
|
+
"ua-parser-js": "^2.0.0-beta.3",
|
|
108
|
+
"undici": "^6.19.8",
|
|
109
|
+
"vinyl": "^3.0.0",
|
|
110
|
+
"vinyl-fs": "^4.0.0",
|
|
111
|
+
"webpack": "^5.94.0",
|
|
112
|
+
"webpack-bundle-analyzer": "^4.10.2",
|
|
113
|
+
"ws": "^8.18.0"
|
|
114
|
+
},
|
|
115
|
+
"devDependencies": {
|
|
116
|
+
"@babel/types": "^7.25.6",
|
|
117
|
+
"@types/ali-oss": "^6.16.11",
|
|
118
|
+
"@types/archiver": "^6.0.2",
|
|
119
|
+
"@types/babel__traverse": "^7.20.6",
|
|
120
|
+
"@types/byte-size": "^8.1.2",
|
|
121
|
+
"@types/chardet": "^0.8.3",
|
|
122
|
+
"@types/eslint": "^9.6.1",
|
|
123
|
+
"@types/estree": "^1.0.6",
|
|
124
|
+
"@types/gulp-sort": "^2.0.4",
|
|
125
|
+
"@types/koa": "^2.15.0",
|
|
126
|
+
"@types/koa-compress": "^4.0.6",
|
|
127
|
+
"@types/lodash": "^4.17.7",
|
|
128
|
+
"@types/mime-types": "^2.1.4",
|
|
129
|
+
"@types/node": "^22.5.5",
|
|
130
|
+
"@types/react": "^18.3.8",
|
|
131
|
+
"@types/through2": "^2.0.41",
|
|
132
|
+
"@types/tough-cookie": "^4.0.5",
|
|
133
|
+
"@types/ua-parser-js": "^0.7.39",
|
|
134
|
+
"@types/vinyl-fs": "^3.0.5",
|
|
135
|
+
"@types/vscode": "^1.93.0",
|
|
136
|
+
"@types/webpack-bundle-analyzer": "^4.7.0"
|
|
137
|
+
},
|
|
138
|
+
"pnpm": {
|
|
139
|
+
"patchedDependencies": {
|
|
140
|
+
"@types/byte-size@8.1.2": "patches/@types__byte-size@8.1.2.patch",
|
|
141
|
+
"koa@2.15.3": "patches/koa@2.15.3.patch"
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
package/utils.browser.js
CHANGED