Commit Graph

201 Commits

Author SHA1 Message Date
Christof Marti
7a4092f1b0 Package hover: Show when last published (#177634) 2023-03-20 09:41:52 +01:00
susiwen8
811324be93 fix: detectedPackageManagerNames should be string (#175610) 2023-03-15 14:53:52 +00:00
Matt Bierner
c390a331c5 Switch to standard imports (#169451) 2022-12-17 00:22:53 +01:00
Megan Rogge
3e9bfdddc0 quick fix API polish (#168688)
* fix #167649

* Update src/vs/platform/terminal/common/xterm/terminalQuickFix.ts

* fix #167652

* add builtin everywhere for consistency

* fix  #167621 and fix #167646

* get rid of type in api

* fix  #167584

* fix #167587

* fix #167587

* fix #167590 and fix #167557

* Revert "fix #167652"

This reverts commit cf4cc72790.

* Update src/vs/workbench/contrib/terminal/common/terminal.ts

Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>

* Update src/vscode-dts/vscode.proposed.terminalQuickFixProvider.d.ts

Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>

* use const enum + more

* use classes

* update npm package.json

* add example for outputMatcher

* improve description

Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
2022-12-13 19:32:54 +01:00
Connor Peet
dc83ca1951 npm: adopt terminal quick fix api (#167664)
Fixes https://github.com/microsoft/vscode/issues/167588
2022-12-02 08:20:53 -08:00
Matt Bierner
952bbb6720 Adopt l10n for npm package (#165527)
For #164438
2022-11-04 13:56:39 -07:00
David Dossett
2da60fd58b Update quick pick placeholders and/or remove titles (#165267) 2022-11-02 15:43:18 -07:00
Martin Aeschlimann
c1dd46c2f4 [npm] package.json latest vue version incorrect (#159315)
[npm] package.json latest vue version incorrect. FIxes #158850
2022-08-29 15:49:48 +02:00
Babak K. Shandiz
2150470804 🎁 Add option to disable script hovers in package.json files (#156752)
* ⚙️ Define `npm.scriptHover` configuration parameter

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* 🌐 Add localized description for `npm.scriptHover` config parameter

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>

* 🎁 Respect `npm.scriptHover` config parameter in `NpmScriptHoverProvider`

Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2022-08-01 09:43:31 -07:00
Connor Peet
d88ab38f1b npm: remove icon from localization
For #153743
2022-07-06 10:57:16 -07:00
Megan Rogge
cf94d8370d use const instead of literal (#151742)
use const
2022-06-10 13:56:43 +00:00
Johannes
ed9ed45794 Merge branch 'main' into joh/voluminous-lobster 2022-06-10 09:07:30 +02:00
Megan Rogge
4222eb73aa allow excluding npm install script from the npm scripts view (#151647)
fix #149924
2022-06-09 17:15:43 -07:00
Johannes
3622010b64 Merge branch 'main' into joh/voluminous-lobster 2022-06-09 09:08:20 +02:00
jram
6d91b80dd8 [npm extension] exclude top level npm_modules when detecting npm scripts in workspaces (#150205)
* Check if current folder is a path that should be excluded

* update regex to be an exact match
2022-06-08 10:46:54 -07:00
Johannes
0656d21d11 auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Megan Rogge
7c22caad55 Use I prefix for task interfaces (#151350) 2022-06-07 09:27:44 -07:00
Alex Ross
a576b4c066 Fix npm task path now that there's no slash 2022-04-19 15:15:36 +02:00
Alex Ross
5468607181 Make npm task path fix backwards compatible
Fixes #147193
2022-04-12 16:02:47 +02:00
Alex Ross
2381cae3a5 Fix extra character in npm task path
Fixes #146165
2022-03-29 15:47:12 +02:00
Alex Ross
6a9c6c2ff9 Fix npm task resolving to include task group
Fixes #142615
2022-02-09 13:46:05 +01:00
Johannes Rieken
4a130c40ed enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Alex Ross
419d62aa0b Fix multiple lockfile warning with npm workspaces
Fixes #139654
2021-12-23 14:02:18 +01:00
Alex Ross
ae3b03a7eb Fix npm.scripsExplorerExclude for multiroot
Fixes #138826
2021-12-15 11:58:15 +01:00
Alex Ross
0c202aa22a Improve multiple lock file warning
Fixes #138174
2021-12-08 14:49:03 +01:00
Alex Ross
231fe61ab5 Add setting to exclude scripts from NPM scripts view
Fixes #71635
2021-11-12 17:14:51 +01:00
Alex Ross
9efa55c419 Improve appearance of NPM scripts tree
Fixes #123091
2021-11-11 16:45:00 +01:00
Johannes Rieken
68e819043c use tsconfig.json#include for vscode.d.ts and vscode.proposed.d.ts, enables to remove most ref.d.ts-files 2021-11-09 15:53:35 +01:00
Johannes Rieken
9254a8cd27 move vscode.d.ts and vscode.proposed.d.ts into src/vscode-dts-folder, https://github.com/microsoft/vscode/issues/131165 2021-11-09 15:00:03 +01:00
Martin Aeschlimann
23c58d4176 update request-light 2021-07-13 09:16:43 +02:00
Johannes Rieken
14704a7e92 adopt API changes in tests and extensions 2021-06-22 14:35:32 +02:00
Johannes Rieken
b5da2d0f10 extract MarkdownString from MarkedString type, fyi @mjvbz 2021-06-16 14:53:42 +02:00
Alex Ross
f38f90dfe1 Improve package.json file check
Fixes #120279
2021-04-22 17:35:45 +02:00
Martin Aeschlimann
f0a344a76e npm: use which (#121209) 2021-04-13 19:34:43 +02:00
Martin Aeschlimann
e7e15984bc package.json completion: fetch on every key (always incomplete) 2021-04-06 19:26:35 +02:00
Joël
13e5c93740 refactor npm extension to only use npm 2021-04-01 10:06:12 +02:00
Alex Ross
3da9f36645 Cancel packagejson search in npm after 1 second 2021-03-18 12:00:20 +01:00
Alex Ross
3c238e71db Add "hasPackageJson" check back to npm view
and let it find files in directories
Fixes #117950
2021-03-04 14:39:04 +01:00
Alex Ross
a4a6607ceb Use weak shell quoting for npm tasks with --
Part of #115876
2021-02-05 16:22:55 +01:00
Connor Peet
5b2dc0cad2 npm: move debug script lens into npm, clean up parsing logic
This keeps our npm logic in one place and avoids activating the heavier-
weight `js-debug` extension on every .json file.

Also, use the same command to debug both from the explorer and
from script lens.

Fixes https://github.com/microsoft/vscode-js-debug/issues/782
2021-02-04 18:41:27 +00:00
Alex Ross
3973012a9c Only getPackageManager once per folder
Part of #115384
2021-02-04 16:45:24 +01:00
Jonathan Mataloni
9441f1c645 Add support for npm scripts with a space (#113840)
This PR fixes #113750
2021-01-18 12:02:53 +01:00
Bohdan Yevchenko
445f259e34 Add sorting to npm scripts (#112725)
This PR fixes #92773 - npm scripts panel is not ordered
2020-12-22 10:33:42 +01:00
Alex Ross
83993fb92c Fix run npm script in folder command
Fixes #112152
2020-12-09 16:25:00 +01:00
Alex Ross
59ba6494b9 Better timing for multiple lock files warning
Fixes #111635
2020-12-09 10:10:58 +01:00
Alex Ross
8d171e6492 Improve multiple lock files notification
Fixes #111589
2020-12-02 14:39:46 +01:00
Martin Aeschlimann
3ceea17846 npm: use project dir when using npm 2020-11-25 11:53:14 +01:00
Alex Ross
eea8648466 Use vscode.open in NPM scripts view
Part of #110497
2020-11-13 14:42:54 +01:00
Alex Ross
7b5849b123 Fix build 2020-11-12 16:36:02 +01:00
Alex Ross
256066f94c Fix preffered pm when pm can't be determined 2020-11-06 11:30:29 +01:00