Skip to content

Commit

Permalink
chore: v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vagusX committed Aug 20, 2020
1 parent 7d5920b commit 68c463f
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 53 deletions.
96 changes: 96 additions & 0 deletions config/extensions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
module.exports = {
"extensions": {
"vscode-extensions": [
{
"name": "html",
"version": "1.0.0"
},
{
"name": "css",
"version": "1.0.0"
},
{
"name": "json",
"version": "1.0.0"
},
{
"name": "less",
"version": "1.0.0"
},
{
"name": "scss",
"version": "1.0.0"
},
{
"name": "markdown-basics",
"version": "1.0.0"
},
{
"name": "go",
"version": "1.0.0"
},
{
"name": "java",
"version": "1.0.0"
},
{
"name": "python-basic",
"version": "1.0.0"
}
],
"kaitian": [
{
"name": "javascript",
"version": "1.0.0-patch.1"
},
{
"name": "typescript-basics",
"version": "1.37.2-patch.1"
}
],
"AONE-IDE": [
"bat",
"clojure",
"coffeescript",
"cpp",
"csharp",
// "css",
"docker",
"fsharp",
// "go",
"groovy",
"handlebars",
"hlsl",
// "html",
"ini",
// "java",
"javascript",
// "json",
// "less",
"log",
"lua",
"make",
// "markdown-basics",
"objective-c",
"perl",
"php",
"powershell",
"pug",
// "r", 暂时不支持
"razor",
"ruby",
"rust",
// "scss",
"shaderlab",
"shellscript",
"sql",
"swift",
// "typescript-basics",
"vb",
"xml",
"yaml",
].map(name => ({
name,
})),
}
}
48 changes: 0 additions & 48 deletions config/extensions.json

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ali/kaitian-textmate-languages",
"version": "1.0.7",
"version": "1.1.1",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
5 changes: 1 addition & 4 deletions scripts/update-extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ const extensionInstaller = new ExtensionInstaller({
})

// vscode extension 的 tar 包 oss 地址
const { extensions } = require(path.resolve(
__dirname,
'../config/extensions.json'
))
const { extensions } = require('../config/extensions')

const downloadVscodeExtensions = async () => {
console.log('清空 extensions 目录:%s', targetDir)
Expand Down

0 comments on commit 68c463f

Please sign in to comment.