2015-11-13 21:39:38 +08:00
|
|
|
{
|
2017-06-22 05:44:32 +08:00
|
|
|
"version": "2.0.0",
|
2015-11-13 21:39:38 +08:00
|
|
|
"tasks": [
|
|
|
|
{
|
2017-06-28 03:44:31 +08:00
|
|
|
"type": "npm",
|
2020-07-07 17:34:06 +08:00
|
|
|
"script": "watch-clientd",
|
2021-04-27 23:26:14 +08:00
|
|
|
"label": "Core - Build",
|
2020-07-07 17:34:06 +08:00
|
|
|
"isBackground": true,
|
|
|
|
"presentation": {
|
2021-04-27 17:47:15 +08:00
|
|
|
"reveal": "never",
|
2022-02-21 15:48:19 +08:00
|
|
|
"group": "buildWatchers",
|
|
|
|
"close": false
|
2019-09-26 15:56:10 +08:00
|
|
|
},
|
2020-07-07 17:34:06 +08:00
|
|
|
"problemMatcher": {
|
|
|
|
"owner": "typescript",
|
|
|
|
"applyTo": "closedDocuments",
|
|
|
|
"fileLocation": [
|
|
|
|
"absolute"
|
|
|
|
],
|
|
|
|
"pattern": {
|
|
|
|
"regexp": "Error: ([^(]+)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\): (.*)$",
|
|
|
|
"file": 1,
|
|
|
|
"location": 2,
|
|
|
|
"message": 3
|
|
|
|
},
|
|
|
|
"background": {
|
2021-12-14 23:15:38 +08:00
|
|
|
"beginsPattern": "Starting compilation...",
|
|
|
|
"endsPattern": "Finished compilation with"
|
2020-07-07 17:34:06 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "npm",
|
|
|
|
"script": "watch-extensionsd",
|
2021-04-27 23:26:14 +08:00
|
|
|
"label": "Ext - Build",
|
2017-02-08 16:05:17 +08:00
|
|
|
"isBackground": true,
|
2017-06-28 03:44:31 +08:00
|
|
|
"presentation": {
|
2021-04-27 17:47:15 +08:00
|
|
|
"reveal": "never",
|
2022-02-21 15:48:19 +08:00
|
|
|
"group": "buildWatchers",
|
|
|
|
"close": false
|
2017-06-22 05:44:32 +08:00
|
|
|
},
|
2015-11-13 21:39:38 +08:00
|
|
|
"problemMatcher": {
|
|
|
|
"owner": "typescript",
|
2016-06-08 21:15:16 +08:00
|
|
|
"applyTo": "closedDocuments",
|
2016-03-08 16:03:08 +08:00
|
|
|
"fileLocation": [
|
|
|
|
"absolute"
|
|
|
|
],
|
2015-11-13 21:39:38 +08:00
|
|
|
"pattern": {
|
2016-07-12 23:12:38 +08:00
|
|
|
"regexp": "Error: ([^(]+)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\): (.*)$",
|
2015-11-13 21:39:38 +08:00
|
|
|
"file": 1,
|
|
|
|
"location": 2,
|
|
|
|
"message": 3
|
|
|
|
},
|
2017-05-31 22:41:58 +08:00
|
|
|
"background": {
|
2020-07-07 17:34:06 +08:00
|
|
|
"beginsPattern": "Starting compilation",
|
|
|
|
"endsPattern": "Finished compilation"
|
2015-11-13 21:39:38 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2020-07-07 17:34:06 +08:00
|
|
|
{
|
2021-04-27 23:26:14 +08:00
|
|
|
"label": "VS Code - Build",
|
2020-07-07 17:34:06 +08:00
|
|
|
"dependsOn": [
|
2021-04-27 23:26:14 +08:00
|
|
|
"Core - Build",
|
2021-05-05 23:29:53 +08:00
|
|
|
"Ext - Build"
|
2020-07-07 17:34:06 +08:00
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
2021-01-25 07:35:43 +08:00
|
|
|
},
|
|
|
|
"problemMatcher": []
|
2020-07-07 17:34:06 +08:00
|
|
|
},
|
2020-04-16 20:42:52 +08:00
|
|
|
{
|
|
|
|
"type": "npm",
|
2020-07-08 19:53:39 +08:00
|
|
|
"script": "kill-watch-clientd",
|
2021-04-27 23:26:14 +08:00
|
|
|
"label": "Kill Core - Build",
|
2020-07-08 19:53:39 +08:00
|
|
|
"group": "build",
|
|
|
|
"presentation": {
|
2021-04-27 17:47:15 +08:00
|
|
|
"reveal": "never",
|
2021-05-06 21:10:40 +08:00
|
|
|
"group": "buildKillers",
|
|
|
|
"close": true
|
2020-07-08 19:53:39 +08:00
|
|
|
},
|
|
|
|
"problemMatcher": "$tsc"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "npm",
|
|
|
|
"script": "kill-watch-extensionsd",
|
2021-04-27 23:26:14 +08:00
|
|
|
"label": "Kill Ext - Build",
|
2020-04-16 20:42:52 +08:00
|
|
|
"group": "build",
|
|
|
|
"presentation": {
|
2021-04-27 17:47:15 +08:00
|
|
|
"reveal": "never",
|
2021-05-06 21:10:40 +08:00
|
|
|
"group": "buildKillers",
|
|
|
|
"close": true
|
2020-04-16 20:42:52 +08:00
|
|
|
},
|
|
|
|
"problemMatcher": "$tsc"
|
|
|
|
},
|
2020-07-08 19:53:39 +08:00
|
|
|
{
|
2021-04-27 23:26:14 +08:00
|
|
|
"label": "Kill VS Code - Build",
|
2020-07-08 19:53:39 +08:00
|
|
|
"dependsOn": [
|
2021-04-27 23:26:14 +08:00
|
|
|
"Kill Core - Build",
|
2021-05-05 23:29:53 +08:00
|
|
|
"Kill Ext - Build"
|
2020-07-08 19:53:39 +08:00
|
|
|
],
|
2021-01-25 07:35:43 +08:00
|
|
|
"group": "build",
|
|
|
|
"problemMatcher": []
|
2020-07-08 19:53:39 +08:00
|
|
|
},
|
2022-02-22 21:29:05 +08:00
|
|
|
{
|
|
|
|
"label": "Restart VS Code - Build",
|
|
|
|
"dependsOn": [
|
|
|
|
"Kill VS Code - Build",
|
|
|
|
"VS Code - Build"
|
|
|
|
],
|
|
|
|
"group": "build",
|
|
|
|
"dependsOrder": "sequence",
|
|
|
|
"problemMatcher": []
|
|
|
|
},
|
2020-06-29 23:43:09 +08:00
|
|
|
{
|
|
|
|
"type": "npm",
|
|
|
|
"script": "watch-webd",
|
2021-04-27 23:26:14 +08:00
|
|
|
"label": "Web Ext - Build",
|
2020-06-29 23:43:09 +08:00
|
|
|
"group": "build",
|
|
|
|
"isBackground": true,
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "never"
|
|
|
|
},
|
|
|
|
"problemMatcher": {
|
|
|
|
"owner": "typescript",
|
|
|
|
"applyTo": "closedDocuments",
|
|
|
|
"fileLocation": [
|
|
|
|
"absolute"
|
|
|
|
],
|
|
|
|
"pattern": {
|
|
|
|
"regexp": "Error: ([^(]+)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\): (.*)$",
|
|
|
|
"file": 1,
|
|
|
|
"location": 2,
|
|
|
|
"message": 3
|
|
|
|
},
|
|
|
|
"background": {
|
|
|
|
"beginsPattern": "Starting compilation",
|
|
|
|
"endsPattern": "Finished compilation"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "npm",
|
|
|
|
"script": "kill-watch-webd",
|
2021-04-27 23:26:14 +08:00
|
|
|
"label": "Kill Web Ext - Build",
|
2020-06-29 23:43:09 +08:00
|
|
|
"group": "build",
|
|
|
|
"presentation": {
|
2020-09-01 19:04:39 +08:00
|
|
|
"reveal": "never"
|
2020-06-29 23:43:09 +08:00
|
|
|
},
|
|
|
|
"problemMatcher": "$tsc"
|
|
|
|
},
|
2017-06-22 05:44:32 +08:00
|
|
|
{
|
2017-11-07 18:53:59 +08:00
|
|
|
"label": "Run tests",
|
2017-06-22 05:44:32 +08:00
|
|
|
"type": "shell",
|
|
|
|
"command": "./scripts/test.sh",
|
|
|
|
"windows": {
|
|
|
|
"command": ".\\scripts\\test.bat"
|
|
|
|
},
|
|
|
|
"group": "test",
|
2017-06-22 23:03:52 +08:00
|
|
|
"presentation": {
|
2017-06-22 05:44:32 +08:00
|
|
|
"echo": true,
|
|
|
|
"reveal": "always"
|
2016-01-15 00:53:55 +08:00
|
|
|
}
|
|
|
|
},
|
2015-11-13 21:39:38 +08:00
|
|
|
{
|
2017-11-07 18:53:59 +08:00
|
|
|
"label": "Run Dev",
|
2017-06-22 05:44:32 +08:00
|
|
|
"type": "shell",
|
|
|
|
"command": "./scripts/code.sh",
|
|
|
|
"windows": {
|
|
|
|
"command": ".\\scripts\\code.bat"
|
2017-08-13 03:21:09 +08:00
|
|
|
},
|
|
|
|
"problemMatcher": []
|
2017-02-15 18:58:33 +08:00
|
|
|
},
|
|
|
|
{
|
2019-10-17 17:32:32 +08:00
|
|
|
"type": "npm",
|
|
|
|
"script": "electron",
|
2017-06-28 03:44:31 +08:00
|
|
|
"label": "Download electron"
|
2017-07-14 16:05:33 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "gulp",
|
|
|
|
"task": "hygiene",
|
|
|
|
"problemMatcher": []
|
2019-08-05 17:47:07 +08:00
|
|
|
},
|
2019-10-16 02:27:17 +08:00
|
|
|
{
|
|
|
|
"type": "shell",
|
2022-01-21 01:07:36 +08:00
|
|
|
"command": "./scripts/code-server.sh",
|
2022-01-20 20:48:08 +08:00
|
|
|
"windows": {
|
|
|
|
"command": ".\\scripts\\code-server.bat"
|
|
|
|
},
|
|
|
|
"args": ["--no-launch", "--connection-token", "dev-token", "--port", "8080"],
|
|
|
|
"label": "Run code server",
|
2019-10-16 02:27:17 +08:00
|
|
|
"isBackground": true,
|
|
|
|
"problemMatcher": {
|
|
|
|
"pattern": {
|
|
|
|
"regexp": ""
|
|
|
|
},
|
2019-10-16 18:19:42 +08:00
|
|
|
"background": {
|
|
|
|
"beginsPattern": ".*node .*",
|
2019-10-16 02:27:17 +08:00
|
|
|
"endsPattern": "Web UI available at .*"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "never"
|
|
|
|
}
|
|
|
|
},
|
2022-09-29 23:45:27 +08:00
|
|
|
{
|
|
|
|
"type": "shell",
|
|
|
|
"command": "./scripts/code-web.sh",
|
|
|
|
"windows": {
|
|
|
|
"command": ".\\scripts\\code-web.bat"
|
|
|
|
},
|
|
|
|
"args": ["--port", "8080", "--browser", "none"],
|
|
|
|
"label": "Run code web",
|
|
|
|
"isBackground": true,
|
|
|
|
"problemMatcher": {
|
|
|
|
"pattern": {
|
|
|
|
"regexp": ""
|
|
|
|
},
|
|
|
|
"background": {
|
|
|
|
"beginsPattern": ".*node .*",
|
|
|
|
"endsPattern": "Listening on .*"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "never"
|
|
|
|
}
|
|
|
|
},
|
2020-01-03 17:34:42 +08:00
|
|
|
{
|
|
|
|
"type": "npm",
|
|
|
|
"script": "eslint",
|
|
|
|
"problemMatcher": {
|
|
|
|
"source": "eslint",
|
|
|
|
"base": "$eslint-stylish"
|
|
|
|
}
|
2020-08-01 01:38:31 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "shell",
|
2020-08-06 23:10:20 +08:00
|
|
|
"command": "node build/lib/preLaunch.js",
|
2020-08-01 01:38:31 +08:00
|
|
|
"label": "Ensure Prelaunch Dependencies",
|
|
|
|
"presentation": {
|
2021-05-06 21:10:40 +08:00
|
|
|
"reveal": "silent",
|
|
|
|
"close": true
|
2020-08-01 01:38:31 +08:00
|
|
|
}
|
|
|
|
},
|
2020-09-01 19:04:39 +08:00
|
|
|
{
|
|
|
|
"type": "npm",
|
|
|
|
"script": "tsec-compile-check",
|
|
|
|
"problemMatcher": [
|
|
|
|
{
|
|
|
|
"base": "$tsc",
|
|
|
|
"applyTo": "allDocuments",
|
|
|
|
"owner": "tsec"
|
2021-01-25 07:35:43 +08:00
|
|
|
}
|
2020-09-01 19:04:39 +08:00
|
|
|
],
|
|
|
|
"group": "build",
|
|
|
|
"label": "npm: tsec-compile-check",
|
|
|
|
"detail": "node_modules/tsec/bin/tsec -p src/tsconfig.json --noEmit"
|
2023-02-11 02:18:47 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
// Used for monaco editor playground launch config
|
|
|
|
"label": "Launch Http Server",
|
|
|
|
"type": "shell",
|
2023-02-22 18:47:30 +08:00
|
|
|
"command": "node_modules/.bin/http-server --cors --port 5001 -a 127.0.0.1 -c-1 -s",
|
2023-02-11 02:18:47 +08:00
|
|
|
"isBackground": true,
|
2023-02-22 18:47:30 +08:00
|
|
|
"problemMatcher": {
|
|
|
|
"pattern": {
|
|
|
|
"regexp": ""
|
|
|
|
},
|
|
|
|
"background": {
|
|
|
|
"activeOnStart": true,
|
|
|
|
"beginsPattern": "never match",
|
|
|
|
"endsPattern": ".*"
|
|
|
|
}
|
|
|
|
},
|
2023-02-11 02:18:47 +08:00
|
|
|
"dependsOn": [
|
|
|
|
"Core - Build"
|
|
|
|
]
|
2020-09-01 19:04:39 +08:00
|
|
|
}
|
2015-11-13 21:39:38 +08:00
|
|
|
]
|
2019-08-05 17:47:07 +08:00
|
|
|
}
|