* Update webpack dependencies.
* Update node.
* Update copy-props.
* Update ts-loader to fix warning messages.
* Update mocha.
This commit is contained in:
Sean McManus 2021-03-31 11:00:46 -07:00 коммит произвёл GitHub
Родитель aecb7d541b
Коммит 885881294d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
11 изменённых файлов: 1009 добавлений и 1463 удалений

4
.github/workflows/ci_linux.yml поставляемый
Просмотреть файл

@ -13,10 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use Node.js 10.16.x
- name: Use Node.js 14.16.x
uses: actions/setup-node@v1
with:
node-version: 10.16.x
node-version: 14.16.x
- name: Install Dependencies
run: yarn install

4
.github/workflows/ci_mac.yml поставляемый
Просмотреть файл

@ -13,10 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use Node.js 10.16.x
- name: Use Node.js 14.16.x
uses: actions/setup-node@v1
with:
node-version: 10.16.x
node-version: 14.16.x
- name: Install Dependencies
run: yarn install

4
.github/workflows/ci_windows.yml поставляемый
Просмотреть файл

@ -13,10 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use Node.js 10.16.x
- name: Use Node.js 14.16.x
uses: actions/setup-node@v1
with:
node-version: 10.16.x
node-version: 14.16.x
- name: Install Dependencies
run: yarn install

16
Extension/.vscode/tasks.json поставляемый
Просмотреть файл

@ -20,9 +20,7 @@
"command": "yarn",
"args": [
"run",
"compile",
"--loglevel",
"silent"
"compile"
]
},
{
@ -95,9 +93,7 @@
"command": "yarn",
"args": [
"run",
"compile-watch",
"--loglevel",
"silent"
"compile-watch"
],
"problemMatcher": [
{
@ -121,10 +117,10 @@
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "Compilation (.*?)starting…"
"regexp": "asset"
},
"endsPattern": {
"regexp": "Compilation (.*?)finished"
"regexp": "webpack (.*?) compiled (.*?) ms"
}
}
}
@ -162,10 +158,10 @@
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "Compilation (.*?)starting…"
"regexp": "asset"
},
"endsPattern": {
"regexp": "Compilation (.*?)finished"
"regexp": "webpack (.*?) compiled (.*?) ms"
}
}
}

Просмотреть файл

@ -2381,10 +2381,10 @@
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "node ./tools/prepublish.js && gulp generate-native-strings && gulp translations-generate && webpack --mode production --vscode-nls",
"compile": "node ./tools/prepublish.js && gulp generate-native-strings && gulp translations-generate && webpack --mode production --env vscode_nls",
"compile-dev": "node ./tools/prepublish.js && gulp generate-native-strings && webpack --mode development",
"compile-watch": "node ./tools/prepublish.js && gulp generate-native-strings && gulp translations-generate && webpack --mode production --vscode-nls --watch --info-verbosity verbose",
"compile-dev-watch": "node ./tools/prepublish.js && gulp generate-native-strings && webpack --mode development --watch --info-verbosity verbose",
"compile-watch": "node ./tools/prepublish.js && gulp generate-native-strings && gulp translations-generate && webpack --mode production --env vscode_nls --watch --progress",
"compile-dev-watch": "node ./tools/prepublish.js && gulp generate-native-strings && webpack --mode development --watch --progress",
"generateOptionsSchema": "node ./tools/prepublish.js && node ./out/tools/generateOptionsSchema.js",
"generate-native-strings": "node ./tools/prepublish.js && gulp generate-native-strings",
"translations-export": "node ./tools/prepublish.js && gulp generate-native-strings && gulp translations-export",
@ -2404,13 +2404,12 @@
"@octokit/rest": "^16.28.9",
"@types/minimatch": "^3.0.3",
"@types/mkdirp": "^0.5.2",
"@types/mocha": "^5.2.7",
"@types/mocha": "^8.2.2",
"@types/node": "^14.14.0",
"@types/plist": "^3.0.2",
"@types/semver": "^7.1.0",
"@types/tmp": "^0.1.0",
"@types/vscode": "1.53.0",
"@types/webpack": "^4.39.0",
"@types/which": "^1.3.2",
"@types/yauzl": "^2.9.1",
"@typescript-eslint/eslint-plugin": "^2.19.2",
@ -2428,23 +2427,23 @@
"gulp-env": "^0.4.0",
"gulp-eslint": "^6.0.0",
"gulp-filter": "^6.0.0",
"gulp-mocha": "^7.0.1",
"gulp-mocha": "^8.0.0",
"gulp-sourcemaps": "^2.6.5",
"gulp-typescript": "^5.0.1",
"http-proxy-agent": "^2.1.0",
"minimist": "^1.2.5",
"mocha": "^5.2.0",
"mocha": "^8.3.2",
"parse5": "^5.1.0",
"parse5-traverse": "^1.0.3",
"ts-loader": "^6.0.4",
"ts-loader": "^8.1.0",
"tslint": "^5.19.0",
"typescript": "^3.5.3",
"vscode-debugadapter": "^1.35.0",
"vscode-debugprotocol": "^1.35.0",
"vscode-nls-dev": "^3.2.6",
"vscode-test": "^1.3.0",
"webpack": "^4.42.0",
"webpack-cli": "^3.3.7",
"webpack": "^5.28.0",
"webpack-cli": "^4.5.0",
"xml2js": "^0.4.19"
},
"dependencies": {
@ -2454,7 +2453,7 @@
"https-proxy-agent": "^2.2.4",
"minimatch": "^3.0.4",
"mkdirp": "^0.5.1",
"plist": "^3.0.1",
"plist": "^3.0.2",
"tmp": "^0.1.0",
"vscode-cpptools": "^5.0.0",
"vscode-extension-telemetry": "^0.1.2",
@ -2464,17 +2463,7 @@
"yauzl": "^2.10.0"
},
"resolutions": {
"elliptic": "^6.5.4",
"eslint/acorn": "^7.1.1",
"gulp-eslint/acorn": "^7.1.1",
"gulp-sourcemaps/acorn": "^5.7.4",
"https-proxy-agent": "^2.2.4",
"lodash": "^4.17.21",
"**/mkdirp/minimist": "^0.2.1",
"node-fetch": "^2.6.1",
"plist/xmldom": "^0.5.0",
"webpack/acorn": "^6.4.1",
"webpack/terser-webpack-plugin": "^1.4.5",
"yargs-parser": "^15.0.1",
"y18n": "^5.0.5"
},

Просмотреть файл

@ -5,9 +5,9 @@ import * as glob from 'glob';
export function run(): Promise<void> {
// Create the mocha test
const mocha = new Mocha({
ui: 'tdd'
ui: 'tdd',
color: true
});
mocha.useColors(true);
const testsRoot = __dirname;

Просмотреть файл

@ -5,9 +5,9 @@ import * as glob from 'glob';
export function run(): Promise<void> {
// Create the mocha test
const mocha = new Mocha({
ui: 'tdd'
ui: 'tdd',
color: true
});
mocha.useColors(true);
const testsRoot = __dirname;

Просмотреть файл

@ -5,9 +5,9 @@ import * as glob from 'glob';
export function run(): Promise<void> {
// Create the mocha test
const mocha = new Mocha({
ui: 'tdd'
ui: 'tdd',
color: true
});
mocha.useColors(true);
const testsRoot = __dirname;

Просмотреть файл

@ -5,9 +5,9 @@ import * as glob from 'glob';
export function run(): Promise<void> {
// Create the mocha test
const mocha = new Mocha({
ui: 'tdd'
ui: 'tdd',
color: true
});
mocha.useColors(true);
const testsRoot = __dirname;

Просмотреть файл

@ -28,7 +28,8 @@ const config = {
vscode: "commonjs vscode" // the vscode-module is created on-the-fly and must be excluded. Add other modules that cannot be webpack'ed, 📖 -> https://webpack.js.org/configuration/externals/
},
resolve: { // support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader
extensions: ['.ts', '.js']
extensions: ['.ts', '.js'],
mainFields: ['main', 'module']
},
module: {
rules: [{
@ -54,14 +55,17 @@ const config = {
}
}
if (process.argv.includes('--vscode-nls')) {
// rewrite nls call when being asked for
config.module.rules.unshift({
loader: 'vscode-nls-dev/lib/webpack-loader',
options: {
base: __dirname
}
})
}
module.exports = (env) => {
if (env.vscode_nls) {
// rewrite nls call when being asked for
config.module.rules.unshift({
loader: 'vscode-nls-dev/lib/webpack-loader',
options: {
base: __dirname
}
})
}
return config
};
module.exports = config;

Разница между файлами не показана из-за своего большого размера Загрузить разницу