Commit Graph

276 Commits

Author SHA1 Message Date
Alex Ross
231fe61ab5 Add setting to exclude scripts from NPM scripts view
Fixes #71635
2021-11-12 17:14:51 +01:00
Alex Ross
22b53c1acf Add contextualTitle for NPM Scripts
Fixes #111994
2021-11-12 11:57:50 +01:00
Johannes Rieken
09c9d4c293 use enabledApiProposals instead of wildcard property, also update compilation units to only include d.ts-files that are needed, https://github.com/microsoft/vscode/issues/131165 2021-11-12 11:05:57 +01:00
Johannes Rieken
a4d426a1c2 split vscode.proposed.d.ts into a file per proposal, https://github.com/microsoft/vscode/issues/131165 2021-11-12 09:48:17 +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
Simon Chan
c6e447b350 Fix a typo in npm extension package.json 2021-10-12 12:27:25 +08:00
Martin Aeschlimann
4feb4fd4d9 [html/css/json] update services 2021-07-25 17:31:20 +02:00
Martin Aeschlimann
8207551d34 update request-light 2021-07-14 22:34:03 +02:00
Martin Aeschlimann
23c58d4176 update request-light 2021-07-13 09:16:43 +02:00
Martin Aeschlimann
cde5781978 polish webpack configs 2021-07-09 11:55:21 +02:00
Martin Aeschlimann
7ebe6a6054 adopt web extensions to webpack 5 2021-07-08 21:41:03 +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
736896527c Improve npm trust message 2021-05-17 10:50:33 +02:00
Robo
bce4d71f64 chore: bump node@14.x in devDependencies (#122905) 2021-05-04 10:04:13 +02:00
Alex Ross
f38f90dfe1 Improve package.json file check
Fixes #120279
2021-04-22 17:35:45 +02:00
Sandeep Somavarapu
68bed01970 adopt virtual workspaces - not supported 2021-04-22 16:54:06 +02:00
SteVen Batten
ed16789225 localise workspace trust strings for exts 2021-04-22 07:44:24 -07:00
SteVen Batten
f9fc28d47d update ext manifest schema validation and built-in exts 2021-04-21 11:54:42 -07:00
Martin Aeschlimann
f0a344a76e npm: use which (#121209) 2021-04-13 19:34:43 +02:00
Matt Bierner
119581fc2a Use more standard name for shared extension tsconfig
This enables Intellisense in the `tsconfig.base` file
2021-04-12 15:58:38 -07:00
Alex Ross
50fe76ba29 Onboard task extension to workspace trust 2021-04-09 14:29:13 +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
179c89852f Change icon for npm scripts view
Fixes #118019
2021-03-04 15:32:04 +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
João Moreno
ec805db5ed add repository field to extensions package.json 2021-01-29 15:30:45 +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
Alexandru Dima
f74ad9692f Align @types/* dev dependencies (#112718) 2020-12-18 13:28:39 +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
Alex Ross
3689660fcc Add descriptions for npm.packageManager options
Fixes #111628
2020-12-01 15:53:30 +01:00
Alex Ross
2afcea867a Use argparse 1.0.9 in npm extension 2020-11-30 15:03:16 +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
Sandeep Somavarapu
b5cd02f178 #106348 Adopt codicon for npm view 2020-11-13 09:56:48 +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
Alex Ross
bea76730f1 feat: Autodetect npm.packageManager #102050 (#102494)
Detects the preferred  package manager
and if multiple are present, warns and uses
in priority order: npm => yarn => pnpm
Fixes #102050
Co-authored-by: Alex Ross <alros@microsoft.com>
2020-11-02 14:48:11 +01:00
Alex Ross
8d0ca78841 Revert "feat: Autodetect npm.packageManager #102050 (#102494)"
This reverts commit f8c0e3b612.
2020-10-27 10:07:45 +01:00
Jackson Kearl
e3db76ab7f Update import 2020-10-26 19:04:26 -07:00
Jackson Kearl
74654f3c35 Use find-yarn-workspace-root over find-yarn-workspace-root2 (#109429) 2020-10-26 18:38:27 -07:00