This commit is contained in:
egamma 2022-06-29 13:41:22 +02:00
Родитель 20293f5d02
Коммит f9cae098c4
5 изменённых файлов: 10 добавлений и 13 удалений

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

@ -1,6 +1,8 @@
# vscode-npm-scripts Changelog
- 0.3.26 [#171](https://github.com/Microsoft/vscode-npm-scripts/issues/171) Change the keybindings to not use the R as their chording character
[#172](https://github.com/Microsoft/vscode-npm-scripts/issues/172) Remove support for module validation
- 0.3.26
- [#171](https://github.com/Microsoft/vscode-npm-scripts/issues/171) Change the keybindings to not use the R as their chording character
- [#172](https://github.com/Microsoft/vscode-npm-scripts/issues/172) Remove support for module validation
- [#174](https://github.com/Microsoft/vscode-npm-scripts/issues/174) The terminal's cmd+k keybinding doesn't work
- 0.3.25 Address github reported vulnerabilities.
- 0.3.24 Update the `thirdpartynotices.txt` file.
- 0.3.23 Address github reported vulnerabilities.

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

@ -7,20 +7,22 @@
This extension supports running npm scripts defined in the `package.json` file.
**Notice** support for running npm scripts is now provided by VS Code and this extension should no longer be needed. Please the documentation on [task auto detection](https://code.visualstudio.com/Docs/editor/tasks#_task-autodetection).
**Notice** support for running npm scripts is now provided by VS Code and this extension should no longer be needed. You can run npm scripts as tasks using [task auto detection](https://code.visualstudio.com/Docs/editor/tasks#_task-autodetection) or from the [npm scripts explorer](https://code.visualstudio.com/docs/getstarted/tips-and-tricks#_run-npm-scripts-as-tasks-from-the-explorer).
## Commands
Commands for running scripts are available the `npm` category.
![command palette](images/cmds.png)
- Run npm install, also available in the context menu of the explorer when the `package.json` file
- Run a script (`npm run-script`) defined in the `package.json` by picking a script
defined in the `scripts` section of the `package.json`.
- Rerun the last npm script you have executed using this extension.
- Run npm install, also available in the context menu of the explorer when the `package.json` file
- Terminate a running script
The scripts can be run either in the integrated terminal or an output window.
## Touch bar
Support for Macbook Pro touch bar. You can run the following commands:
- npm install
@ -32,7 +34,6 @@ Support for Macbook Pro touch bar. You can run the following commands:
## Settings
- `npm.validate.enable` validate the dependencies in the `package.json` file, the default is `true`.
- `npm.runInTerminal` defines whether the command is run
in a terminal window or whether the output form the command is shown in the `Output` window. The default is to show the output in the terminal.
- `npm.includeDirectories` define additional directories that include a `package.json`.

Двоичные данные
images/cmds.png

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 9.3 KiB

Двоичные данные
images/validation.png

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 34 KiB

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

@ -228,12 +228,6 @@
"default": "npm",
"description": "npm bin name"
},
"npm.validate.enable": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Validate installed modules"
},
"npm.enableTouchbar": {
"type": "boolean",
"scope": "resource",