Merge pull request #7 from microsoft/06212021_Fix

Fixed npm install issue
This commit is contained in:
Brian Harney 2021-06-21 14:26:00 -07:00 коммит произвёл GitHub
Родитель d8d19363da a42af002e0
Коммит b06143bc81
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 11515 добавлений и 186 удалений

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

@ -12,6 +12,7 @@
"editor.codeActionsOnSave": {
"source.eslint.fixAll": true
},
"editor.formatOnSave": true,
"editor.formatOnPaste": false,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.tabSize": 2

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

@ -1,24 +1,18 @@
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "0.1.0",
"version": "2.0.0",
"name": "npmTask",
"suppressTaskName": true,
"command": "npm",
"isShellCommand": true,
"args": ["run"],
"tasks": [
{
//Build Task
"taskName": "webpack",
//Run On Shift+Ctrl+B
"isBuildCommand": true,
//Don't run when Shift+Ctrl+T
"isTestCommand": false,
// Show the output window if error any
"showOutput": "silent",
//Npm Task Name
"args": ["webpack"],
"label": "webpack",
"type": "shell",
"args": [
"run",
"webpack"
],
"problemMatcher": [
{
"pattern": [
@ -35,17 +29,18 @@
"endsPattern": "."
}
}
]
],
"group": "build"
},
{
//Test Task
"taskName": "mocha",
// Don't run on Shift+Ctrl+B
"isBuildCommand": false,
// Run on Shift+Ctrl+T
"isTestCommand": true,
"showOutput": "always",
"args": ["compile"]
"label": "mocha",
"type": "shell",
"args": [
"run",
"compile"
],
"problemMatcher": [],
"group": "test"
}
]
}

11656
package-lock.json сгенерированный

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

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

@ -6,7 +6,7 @@
"version": "0.2.6",
"publisher": "docsmsft",
"engines": {
"vscode": "^1.43.0"
"vscode": "^1.57.0"
},
"license": "MIT",
"categories": [
@ -56,7 +56,6 @@
"watch": "tsc -watch -p ./",
"prettier": "prettier --write \"**/*.{ts,js,json,yml}\"",
"prettier-check": "prettier --check \"**/*.{ts,js,json,yml}\" --loglevel debug",
"postinstall": "node ./node_modules/vscode/bin/install",
"pretest": "npm run compile",
"test": "node ./out/src/test/runTest.js",
"lint": "eslint . --ext .ts",
@ -81,6 +80,7 @@
"@types/chai-spies": "^1.0.1",
"@types/mocha": "^7.0.1",
"@types/node": "^6.0.40",
"@types/vscode": "^1.57.0",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/eslint-plugin-tslint": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
@ -100,7 +100,6 @@
"ts-node": "^8.8.1",
"tslint": "^6.0.0",
"typescript": "^3.9.3",
"vscode": "^1.1.33",
"vscode-test": "^1.3.0",
"webpack": "^4.42.1",
"webpack-bundle-analyzer": "^3.6.1",