From 45e6a5e6175709e126dc2bdf09b14986595d09de Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Tue, 1 Sep 2020 13:04:39 +0200 Subject: [PATCH] yarn.lock and task for tsec, https://github.com/microsoft/vscode/issues/105747 --- .vscode/tasks.json | 16 +++++++++++++++- yarn.lock | 11 +++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index f2857f8a280..943ae5bd536 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -125,7 +125,7 @@ "label": "Kill Build Web Extensions", "group": "build", "presentation": { - "reveal": "never", + "reveal": "never" }, "problemMatcher": "$tsc" }, @@ -195,5 +195,19 @@ "reveal": "silent" } }, + { + "type": "npm", + "script": "tsec-compile-check", + "problemMatcher": [ + { + "base": "$tsc", + "applyTo": "allDocuments", + "owner": "tsec" + }, + ], + "group": "build", + "label": "npm: tsec-compile-check", + "detail": "node_modules/tsec/bin/tsec -p src/tsconfig.json --noEmit" + } ] } diff --git a/yarn.lock b/yarn.lock index 07c68d7b74f..dbc7bafc5b6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -262,6 +262,11 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.14.tgz#1c1d6e3c75dba466e0326948d56e8bd72a1903d2" integrity sha512-u/SJDyXwuihpwjXy7hOOghagLEV1KdAST6syfnOk6QZAMzZuWZqXy5aYYZbh8Jdpd4escVFP0MvftHNDb9pruA== +"@types/node@^13.13.5": + version "13.13.15" + resolved "https://registry.yarnpkg.com/@types/node/-/node-13.13.15.tgz#fe1cc3aa465a3ea6858b793fd380b66c39919766" + integrity sha512-kwbcs0jySLxzLsa2nWUAGOd/s21WU1jebrEdtzhsj1D4Yps1EOuyI1Qcu+FD56dL7NRNIJtDDjcqIG22NwkgLw== + "@types/semver@^5.4.0", "@types/semver@^5.5.0": version "5.5.0" resolved "https://registry.yarnpkg.com/@types/semver/-/semver-5.5.0.tgz#146c2a29ee7d3bae4bf2fcb274636e264c813c45" @@ -9292,6 +9297,12 @@ ts-loader@^4.4.2: micromatch "^3.1.4" semver "^5.0.1" +tsec@googleinterns/tsec: + version "0.0.1" + resolved "https://codeload.github.com/googleinterns/tsec/tar.gz/eb8abc0a58b16f97bb499833c21467fc6425260f" + dependencies: + "@types/node" "^13.13.5" + tslib@^1.8.1, tslib@^1.9.0: version "1.9.3" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286"