Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
8e0bdd60
V
vscode
项目概览
xxadev
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
8e0bdd60
编写于
2月 22, 2018
作者:
M
Matt Bierner
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Split package-json specific logic out of javascript extension
上级
5c9761ab
变更
16
隐藏空白更改
内联
并排
Showing
16 changed file
with
143 addition
and
40 deletion
+143
-40
build/npm/postinstall.js
build/npm/postinstall.js
+1
-0
extensions/javascript/package.json
extensions/javascript/package.json
+2
-27
extensions/package-json/.vscode/launch.json
extensions/package-json/.vscode/launch.json
+29
-0
extensions/package-json/.vscode/tasks.json
extensions/package-json/.vscode/tasks.json
+30
-0
extensions/package-json/.vscodeignore
extensions/package-json/.vscodeignore
+3
-0
extensions/package-json/package.json
extensions/package-json/package.json
+38
-0
extensions/package-json/package.nls.json
extensions/package-json/package.nls.json
+4
-0
extensions/package-json/src/features/bowerJSONContribution.ts
...nsions/package-json/src/features/bowerJSONContribution.ts
+0
-0
extensions/package-json/src/features/jsonContributions.ts
extensions/package-json/src/features/jsonContributions.ts
+0
-0
extensions/package-json/src/features/markedTextUtil.ts
extensions/package-json/src/features/markedTextUtil.ts
+0
-0
extensions/package-json/src/features/packageJSONContribution.ts
...ions/package-json/src/features/packageJSONContribution.ts
+0
-0
extensions/package-json/src/javascriptMain.ts
extensions/package-json/src/javascriptMain.ts
+0
-0
extensions/package-json/src/typings/ref.d.ts
extensions/package-json/src/typings/ref.d.ts
+0
-0
extensions/package-json/tags-language-configuration.json
extensions/package-json/tags-language-configuration.json
+27
-0
extensions/package-json/tsconfig.json
extensions/package-json/tsconfig.json
+0
-0
extensions/package-json/yarn.lock
extensions/package-json/yarn.lock
+9
-13
未找到文件。
build/npm/postinstall.js
浏览文件 @
8e0bdd60
...
...
@@ -32,6 +32,7 @@ const extensions = [
'
typescript
'
,
'
php
'
,
'
javascript
'
,
'
package-json
'
,
'
css
'
,
'
html
'
,
'
git
'
,
...
...
extensions/javascript/package.json
浏览文件 @
8e0bdd60
{
"name"
:
"javascript"
,
"displayName"
:
"%display
n
ame%"
,
"displayName"
:
"%display
N
ame%"
,
"description"
:
"%description%"
,
"version"
:
"0.1.0"
,
"publisher"
:
"vscode"
,
"engines"
:
{
"vscode"
:
"0.10.x"
},
"activationEvents"
:
[
"onLanguage:javascript"
,
"onLanguage:json"
],
"main"
:
"./out/javascriptMain"
,
"dependencies"
:
{
"jsonc-parser"
:
"^1.0.0"
,
"request-light"
:
"^0.2.2"
,
"vscode-nls"
:
"^3.2.1"
},
"scripts"
:
{
"compile"
:
"gulp compile-extension:javascript"
,
"watch"
:
"gulp watch-extension:javascript"
},
"contributes"
:
{
"languages"
:
[
{
...
...
@@ -101,14 +87,6 @@
}
],
"jsonValidation"
:
[
{
"fileMatch"
:
"package.json"
,
"url"
:
"https://schemastore.azurewebsites.net/schemas/json/package.json"
},
{
"fileMatch"
:
"bower.json"
,
"url"
:
"https://schemastore.azurewebsites.net/schemas/json/bower.json"
},
{
"fileMatch"
:
".bowerrc"
,
"url"
:
"https://schemastore.azurewebsites.net/schemas/json/bowerrc.json"
...
...
@@ -138,8 +116,5 @@
"url"
:
"./schemas/jsconfig.schema.json"
}
]
},
"devDependencies"
:
{
"@types/node"
:
"8.0.33"
}
}
}
\ No newline at end of file
extensions/package-json/.vscode/launch.json
0 → 100644
浏览文件 @
8e0bdd60
{
"version"
:
"0.2.0"
,
"configurations"
:
[
{
"name"
:
"Launch Extension"
,
"type"
:
"extensionHost"
,
"request"
:
"launch"
,
"runtimeExecutable"
:
"${execPath}"
,
"args"
:
[
"--extensionDevelopmentPath=${workspaceFolder}"
],
"stopOnEntry"
:
false
,
"sourceMaps"
:
true
,
"outDir"
:
"${workspaceFolder}/out"
,
"preLaunchTask"
:
"npm"
},
{
"name"
:
"Launch Tests"
,
"type"
:
"extensionHost"
,
"request"
:
"launch"
,
"runtimeExecutable"
:
"${execPath}"
,
"args"
:
[
"--extensionDevelopmentPath=${workspaceFolder}"
,
"--extensionTestsPath=${workspaceFolder}/out/test"
],
"stopOnEntry"
:
false
,
"sourceMaps"
:
true
,
"outDir"
:
"${workspaceFolder}/out/test"
,
"preLaunchTask"
:
"npm"
}
]
}
\ No newline at end of file
extensions/package-json/.vscode/tasks.json
0 → 100644
浏览文件 @
8e0bdd60
//
Available
variables
which
can
be
used
inside
of
strings.
//
$
{
workspaceFolder
}
:
the
root
folder
of
the
team
//
$
{
file
}
:
the
current
opened
file
//
$
{
fileBasename
}
:
the
current
opened
file's
basename
//
$
{
fileDirname
}
:
the
current
opened
file's
dirname
//
$
{
fileExtname
}
:
the
current
opened
file's
extension
//
$
{
cwd
}
:
the
current
working
directory
of
the
spawned
process
//
A
task
runner
that
calls
a
custom
npm
script
that
compiles
the
extension.
{
"version"
:
"0.1.0"
,
//
we
want
to
run
npm
"command"
:
"npm"
,
//
the
command
is
a
shell
script
"isShellCommand"
:
true
,
//
show
the
output
window
only
if
unrecognized
errors
occur.
"showOutput"
:
"silent"
,
//
we
run
the
custom
script
"compile"
as
defined
in
package.json
"args"
:
[
"run"
,
"compile"
],
//
The
tsc
compiler
is
started
in
watching
mode
"isWatching"
:
true
,
//
use
the
standard
tsc
in
watch
mode
problem
matcher
to
find
compile
problems
in
the
output.
"problemMatcher"
:
"$tsc-watch"
}
\ No newline at end of file
extensions/package-json/.vscodeignore
0 → 100644
浏览文件 @
8e0bdd60
test/**
src/**/*.ts
tsconfig.json
\ No newline at end of file
extensions/package-json/package.json
0 → 100644
浏览文件 @
8e0bdd60
{
"name"
:
"package-json"
,
"displayName"
:
"%displayName%"
,
"description"
:
"%description%"
,
"version"
:
"0.1.0"
,
"publisher"
:
"vscode"
,
"engines"
:
{
"vscode"
:
"0.10.x"
},
"activationEvents"
:
[
"onLanguage:json"
],
"main"
:
"./out/javascriptMain"
,
"dependencies"
:
{
"jsonc-parser"
:
"^1.0.0"
,
"request-light"
:
"^0.2.2"
,
"vscode-nls"
:
"^3.2.1"
},
"scripts"
:
{
"compile"
:
"gulp compile-extension:package-json"
,
"watch"
:
"gulp watch-extension:package-json"
},
"contributes"
:
{
"jsonValidation"
:
[
{
"fileMatch"
:
"package.json"
,
"url"
:
"https://schemastore.azurewebsites.net/schemas/json/package.json"
},
{
"fileMatch"
:
"bower.json"
,
"url"
:
"https://schemastore.azurewebsites.net/schemas/json/bower.json"
}
]
},
"devDependencies"
:
{
"@types/node"
:
"8.0.33"
}
}
extensions/package-json/package.nls.json
0 → 100644
浏览文件 @
8e0bdd60
{
"displayName"
:
"Package.json Support"
,
"description"
:
"Adds package.json editing features."
}
\ No newline at end of file
extensions/
javascript
/src/features/bowerJSONContribution.ts
→
extensions/
package-json
/src/features/bowerJSONContribution.ts
浏览文件 @
8e0bdd60
文件已移动
extensions/
javascript
/src/features/jsonContributions.ts
→
extensions/
package-json
/src/features/jsonContributions.ts
浏览文件 @
8e0bdd60
文件已移动
extensions/
javascript
/src/features/markedTextUtil.ts
→
extensions/
package-json
/src/features/markedTextUtil.ts
浏览文件 @
8e0bdd60
文件已移动
extensions/
javascript
/src/features/packageJSONContribution.ts
→
extensions/
package-json
/src/features/packageJSONContribution.ts
浏览文件 @
8e0bdd60
文件已移动
extensions/
javascript
/src/javascriptMain.ts
→
extensions/
package-json
/src/javascriptMain.ts
浏览文件 @
8e0bdd60
文件已移动
extensions/
javascript
/src/typings/ref.d.ts
→
extensions/
package-json
/src/typings/ref.d.ts
浏览文件 @
8e0bdd60
文件已移动
extensions/package-json/tags-language-configuration.json
0 → 100644
浏览文件 @
8e0bdd60
{
"comments"
:
{
"blockComment"
:
[
"{/*"
,
"*/}"
]
},
"brackets"
:
[
[
"{"
,
"}"
],
[
"["
,
"]"
],
[
"("
,
")"
],
[
"<"
,
">"
]
],
"autoClosingPairs"
:
[
{
"open"
:
"{"
,
"close"
:
"}"
},
{
"open"
:
"["
,
"close"
:
"]"
},
{
"open"
:
"("
,
"close"
:
")"
},
{
"open"
:
"'"
,
"close"
:
"'"
,
"notIn"
:
[
"string"
,
"comment"
]
},
{
"open"
:
"
\"
"
,
"close"
:
"
\"
"
,
"notIn"
:
[
"string"
]
},
{
"open"
:
"/**"
,
"close"
:
" */"
,
"notIn"
:
[
"string"
]
}
],
"surroundingPairs"
:
[
[
"{"
,
"}"
],
[
"["
,
"]"
],
[
"("
,
")"
],
[
"<"
,
">"
],
[
"'"
,
"'"
],
[
"
\"
"
,
"
\"
"
]
]
}
\ No newline at end of file
extensions/
javascript
/tsconfig.json
→
extensions/
package-json
/tsconfig.json
浏览文件 @
8e0bdd60
文件已移动
extensions/
javascript
/yarn.lock
→
extensions/
package-json
/yarn.lock
浏览文件 @
8e0bdd60
...
...
@@ -7,16 +7,16 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.33.tgz#1126e94374014e54478092830704f6ea89df04cd"
agent-base@4, agent-base@^4.1.0:
version "4.
1.2
"
resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.
1.2.tgz#80fa6cde440f4dcf9af2617cf246099b5d99f0c8
"
version "4.
2.0
"
resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.
2.0.tgz#9838b5c3392b962bad031e6a4c5e1024abec45ce
"
dependencies:
es6-promisify "^5.0.0"
debug@2:
version "2.
2.0
"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.
2.0.tgz#f87057e995b1a1f6ae6a4960664137bc56f039da
"
version "2.
6.9
"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.
6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f
"
dependencies:
ms "
0.7.1
"
ms "
2.0.0
"
debug@^3.1.0:
version "3.1.0"
...
...
@@ -25,8 +25,8 @@ debug@^3.1.0:
ms "2.0.0"
es6-promise@^4.0.3:
version "4.
1.1
"
resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.
1.1.tgz#8811e90915d9a0dba36274f0b242dbda78f9c92a
"
version "4.
2.4
"
resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.
2.4.tgz#dc4221c2b16518760bd8c39a52d8f356fc00ed29
"
es6-promisify@^5.0.0:
version "5.0.0"
...
...
@@ -49,12 +49,8 @@ https-proxy-agent@2.1.1:
debug "^3.1.0"
jsonc-parser@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-1.0.0.tgz#ddcc864ae708e60a7a6dd36daea00172fa8d9272"
ms@0.7.1:
version "0.7.1"
resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.1.tgz#9cd13c03adbff25b65effde7ce864ee952017098"
version "1.0.1"
resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-1.0.1.tgz#7f8f296414e6e7c4a33b9e4914fc8c47e4421675"
ms@2.0.0:
version "2.0.0"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录