Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
gzupanda
code-server
提交
864a9e7b
C
code-server
项目概览
gzupanda
/
code-server
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
code-server
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
864a9e7b
编写于
8月 27, 2020
作者:
A
Anmol Sethi
提交者:
GitHub
8月 27, 2020
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1999 from cdr/update
Update dependencies in package.json
上级
a839da34
3912e9e3
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
1610 addition
and
1432 deletion
+1610
-1432
.eslintrc.yaml
.eslintrc.yaml
+4
-0
package.json
package.json
+12
-11
src/browser/pages/error.html
src/browser/pages/error.html
+1
-3
src/node/cli.ts
src/node/cli.ts
+3
-0
src/node/entry.ts
src/node/entry.ts
+1
-1
yarn.lock
yarn.lock
+1589
-1417
未找到文件。
.eslintrc.yaml
浏览文件 @
864a9e7b
...
...
@@ -23,6 +23,10 @@ rules:
no-dupe-class-members
:
off
"
@typescript-eslint/no-use-before-define"
:
off
"
@typescript-eslint/no-non-null-assertion"
:
off
"
@typescript-eslint/ban-types"
:
off
"
@typescript-eslint/no-var-requires"
:
off
"
@typescript-eslint/explicit-module-boundary-types"
:
off
"
@typescript-eslint/no-explicit-any"
:
off
eqeqeq
:
error
import/order
:
[
error
,
{
alphabetize
:
{
order
:
"
asc"
},
groups
:
[[
"
builtin"
,
"
external"
,
"
internal"
],
"
parent"
,
"
sibling"
]
}]
...
...
package.json
浏览文件 @
864a9e7b
...
...
@@ -33,30 +33,30 @@
"
@types/fs-extra
"
:
"
^8.0.1
"
,
"
@types/http-proxy
"
:
"
^1.17.4
"
,
"
@types/js-yaml
"
:
"
^3.12.3
"
,
"
@types/mocha
"
:
"
^
5.2.7
"
,
"
@types/mocha
"
:
"
^
8.0.3
"
,
"
@types/node
"
:
"
^12.12.7
"
,
"
@types/parcel-bundler
"
:
"
^1.12.1
"
,
"
@types/pem
"
:
"
^1.9.5
"
,
"
@types/safe-compare
"
:
"
^1.1.0
"
,
"
@types/semver
"
:
"
^7.1.0
"
,
"
@types/tar-fs
"
:
"
^
1.16.2
"
,
"
@types/tar-stream
"
:
"
^
1.6.1
"
,
"
@types/ws
"
:
"
^
6.0.4
"
,
"
@typescript-eslint/eslint-plugin
"
:
"
^
2.0.0
"
,
"
@typescript-eslint/parser
"
:
"
^
2.0.0
"
,
"
@types/tar-fs
"
:
"
^
2.0.0
"
,
"
@types/tar-stream
"
:
"
^
2.1.0
"
,
"
@types/ws
"
:
"
^
7.2.6
"
,
"
@typescript-eslint/eslint-plugin
"
:
"
^
3.10.1
"
,
"
@typescript-eslint/parser
"
:
"
^
3.10.1
"
,
"
doctoc
"
:
"
^1.4.0
"
,
"
eslint
"
:
"
^
6.2
.0
"
,
"
eslint
"
:
"
^
7.7
.0
"
,
"
eslint-config-prettier
"
:
"
^6.0.0
"
,
"
eslint-plugin-import
"
:
"
^2.18.2
"
,
"
eslint-plugin-prettier
"
:
"
^3.1.0
"
,
"
leaked-handles
"
:
"
^5.2.0
"
,
"
mocha
"
:
"
^
6.2.0
"
,
"
mocha
"
:
"
^
8.1.2
"
,
"
parcel-bundler
"
:
"
^1.12.4
"
,
"
prettier
"
:
"
^2.0.5
"
,
"
stylelint
"
:
"
^13.0.0
"
,
"
stylelint-config-recommended
"
:
"
^3.0.0
"
,
"
ts-node
"
:
"
^
8.4.1
"
,
"
typescript
"
:
"
3.7
.2
"
"
ts-node
"
:
"
^
9.0.0
"
,
"
typescript
"
:
"
4.0
.2
"
},
"resolutions"
:
{
"
@types/node
"
:
"
^12.12.7
"
,
...
...
@@ -66,13 +66,14 @@
"dependencies"
:
{
"
@coder/logger
"
:
"
1.1.16
"
,
"
env-paths
"
:
"
^2.2.0
"
,
"
fs-extra
"
:
"
^
8.1.0
"
,
"
fs-extra
"
:
"
^
9.0.1
"
,
"
http-proxy
"
:
"
^1.18.0
"
,
"
httpolyglot
"
:
"
^0.1.2
"
,
"
js-yaml
"
:
"
^3.13.1
"
,
"
limiter
"
:
"
^1.1.5
"
,
"
pem
"
:
"
^1.14.2
"
,
"
rotating-file-stream
"
:
"
^2.1.1
"
,
"
safe-buffer
"
:
"
^5.1.1
"
,
"
safe-compare
"
:
"
^1.1.4
"
,
"
semver
"
:
"
^7.1.3
"
,
"
tar
"
:
"
^6.0.1
"
,
...
...
src/browser/pages/error.html
浏览文件 @
864a9e7b
...
...
@@ -21,9 +21,7 @@
<div
class=
"center-container"
>
<div
class=
"error-display"
>
<h2
class=
"header"
>
{{ERROR_HEADER}}
</h2>
<div
class=
"body"
>
{{ERROR_BODY}}
</div>
<div
class=
"body"
>
{{ERROR_BODY}}
</div>
<div
class=
"links"
>
<a
class=
"link"
href=
"{{BASE}}{{TO}}"
>
go home
</a>
</div>
...
...
src/node/cli.ts
浏览文件 @
864a9e7b
...
...
@@ -365,6 +365,9 @@ export async function readConfigFile(configPath?: string): Promise<Args> {
const
config
=
yaml
.
safeLoad
(
configFile
.
toString
(),
{
filename
:
configPath
,
})
if
(
!
config
||
typeof
config
===
"
string
"
)
{
throw
new
Error
(
`invalid config:
${
config
}
`
)
}
// We convert the config file into a set of flags.
// This is a temporary measure until we add a proper CLI library.
...
...
src/node/entry.ts
浏览文件 @
864a9e7b
...
...
@@ -170,7 +170,7 @@ async function entry(): Promise<void> {
CODE_SERVER_PARENT_PID
:
process
.
pid
.
toString
(),
},
})
vscode
.
once
(
"
message
"
,
(
message
)
=>
{
vscode
.
once
(
"
message
"
,
(
message
:
any
)
=>
{
logger
.
debug
(
"
Got message from VS Code
"
,
field
(
"
message
"
,
message
))
if
(
message
.
type
!==
"
ready
"
)
{
logger
.
error
(
"
Unexpected response waiting for ready response
"
)
...
...
yarn.lock
浏览文件 @
864a9e7b
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录