xshell 1.0.169 → 1.0.171

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.
Files changed (2) hide show
  1. package/builder.js +10 -5
  2. package/package.json +3 -3
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: monaco_files.filter(fp => fp.endsWith('.js') && !fp.startsWith('basic-languages/') && !fp.startsWith('language/'))
87
- .map(fp => `monaco-editor/min-maps/vs/${fp}.map`),
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xshell",
3
- "version": "1.0.169",
3
+ "version": "1.0.171",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "bin": {
@@ -94,7 +94,7 @@
94
94
  "react-i18next": "^15.0.2",
95
95
  "react-object-model": "^1.2.13",
96
96
  "resolve-path": "^1.4.0",
97
- "sass": "^1.79.1",
97
+ "sass": "^1.79.2",
98
98
  "sass-loader": "^16.0.1",
99
99
  "source-map-loader": "^5.0.0",
100
100
  "strip-ansi": "^7.1.0",
@@ -127,7 +127,7 @@
127
127
  "@types/lodash": "^4.17.7",
128
128
  "@types/mime-types": "^2.1.4",
129
129
  "@types/node": "^22.5.5",
130
- "@types/react": "^18.3.7",
130
+ "@types/react": "^18.3.8",
131
131
  "@types/through2": "^2.0.41",
132
132
  "@types/tough-cookie": "^4.0.5",
133
133
  "@types/ua-parser-js": "^0.7.39",