Commit graph

333 commits

Author SHA1 Message Date
Frank 59d84c5c8c
disable corepack auto pin feature when executing npm view (#210601) 2024-04-18 01:28:08 +00:00
Megan Rogge ba5f685b65
Merge pull request #124803 from nrayburn-tech/npm-activation
npm extension - check for root package.json before findFiles
2024-01-22 15:04:27 -08:00
susiwen8 f78d488f80 fix: task name end with space 2023-12-19 20:33:30 +08:00
susiwen8 d022a7b517 fix: install in npm script shouldn't be opened 2023-12-17 22:09:59 +08:00
meganrogge c6c21f1535
add to yarn.lock 2023-12-06 11:27:22 -06:00
meganrogge 93b691ea01
fix #181598 2023-12-06 11:01:59 -06:00
Megan Rogge 8af169e554
Merge pull request #197668 from microsoft/merogge/quick-fix-api
`addNewLine` -> `shouldExecute`, expose this in quick fix API
2023-11-21 10:23:27 -06:00
Matt Bierner 4f866533b4
Add missing disposable registration (#198473) 2023-11-16 14:18:43 -08:00
Marvin A. Ruder 4645305f14
Add Bun as package manager to npm extension
* Auto-detect Bun by looking for `bun.lockb` lockfile
* Extend `npm.packageManager` setting
* Update documentation

Signed-off-by: Marvin A. Ruder <signed@mruder.dev>
2023-11-11 16:37:29 +00:00
meganrogge 97eccab2e0
update reference in npm 2023-11-07 11:16:22 -08:00
Raymond Zhao f20ca3aa50
Mark packages as private (#193414) 2023-09-19 00:30:01 +01:00
Martin Aeschlimann 8284903c26
use findup v5 (no esm) (#193000)
* use findup v5 (no esm)

* fix import
2023-09-13 15:46:29 +02:00
Martin Aeschlimann 21276bad51 fix npm view exploits 2023-09-12 20:11:45 +02:00
Martin Aeschlimann 206341dd9e
npm extension: update dependencies (#192870) 2023-09-12 09:48:14 -07:00
Alpha Romer Coma 7ef754c2f6
Fix supported markdown-lint violations in markdown files (#190750)
docs: fix supported markdownlint violations
2023-08-24 08:37:25 +00:00
Daniel Imms 5edcca3b38
Update terminal quick fix proposal
Part of #162950
2023-08-09 07:41:00 -07:00
Robo ea490e5545
chore: update to Electron 25 (#188268)
* chore: update electron@25.3.0

* ci: update NodeTool version

* chore: update @types/node

* add more common types to layers checker

* chore: update debian dependencies

* chore: update rpm dependencies

* fix: use legacy dns result order of Node.js

* ci: remove deprecated always-auth npm config

Refs npm/cli@72a7eeb

* chore: update deb and rpm dependencies

* chore: update armhf rpm dependencies

* chore: update x64 debian dependencies

* chore: update x64 rpm dependencies

* chore: update electron@25.3.1

* chore: update electron@25.4.0

* chore: bump distro

* chore: bump distro

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-08-07 21:46:27 +09:00
weartist 669e5c578c adjust to correct link 2023-06-01 09:40:34 +08:00
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
Megan Rogge 2b457a3ae9
terminal.quickFixes -> terminalQuickFixes (#173860) 2023-02-09 11:38:55 -06:00
Martin Aeschlimann 2472a59bd6
[json/html/css] update dependencies (#172058) 2023-01-23 20:49:20 +01: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
Martin Aeschlimann dac409ee91
set virtualWorkspaces: limited (#168177) 2022-12-06 16:52:23 +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
Ladislau Szomoru 353e1cfcc3
NPM - Update minimatch (#167099)
Update minimatch
2022-11-23 21:27:51 +00:00
Greg Van Liew 27a550f451
Settings description edits (#166315)
* Settings description edits

* Remove unnecessary trailing line returns
2022-11-14 13:47:54 -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
Tyler James Leonhardt 29e985eca0
rev vscode-nls to version that doesn't ask for vscode-nls-web-data (#161819)
ref #161297
2022-09-26 11:10:54 -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
Tyler James Leonhardt d8453c0440
Rev built-in versions of vscode-nls to 5.1.0 (#157530)
* rev version of vscode-nls to 5.1.0

* and yarn lock
2022-08-08 18:43:45 +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
Robo 32d40cf44e
chore: update to electron 17 (#143223)
* chore: bump electron@17.0.0

* Revert "chore: revert to electron@13 (#143851)"

This reverts commit df645f1450.

* chore: bump electron@17.1.0

* Revert "ci: fix build with latest node-gyp"

This reverts commit c3e948aa30.

* chore: revert ci changes for node v16

* chore: update yarn.lock

* chore: bump electron@17.1.1
2022-03-11 00:51:37 +09:00
Robo df645f1450
chore: revert to electron@13 (#143851)
* Revert "chore: update to electron 16 (#137241)"

This reverts commit 01df559c18.
This reverts commit 46301339b7

* ci: fix remote compiler for sdl-scan

* chore: fix remote/.yarnrc

* chore: fix build/npm/postinstall.js

* chore: rm crash reporter from shared process

* chore: rm crash reporter from ext host

* chore: fix build/lib/layersChecker.ts

* :chore: preserve some more changes

* fix tests

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2022-02-24 17:49:49 +01:00
Alex Ross 6a9c6c2ff9
Fix npm task resolving to include task group
Fixes #142615
2022-02-09 13:46:05 +01:00
Robo 01df559c18
chore: update to electron 16 (#137241)
* chore: bump electron@15.3.0

* chore: bump node@16.x

* chore: enable render process reuse

* Revert "watcher - use `type` property for crash reporter location"

This reverts commit bfa488dd8f.

* Revert "watcher - enable crash reports on linux (#136264)"

This reverts commit af261488f8.

* chore: enable crashpad on linux

* chore: bump electron@15.3.1

* chore: update api changes

* chore: bump @vscode/sqlite3@5.0.3

* spec: skip non-context aware module unittests

* chore: fix perf hook integration with node environment

* fix: adopt fs api changes

* chore: fix integration tests

* chore: bump electron@15.3.2

* chore: bump electron@16.0.0

* temp(macOS): kill test instances in OSS

* Revert "temp(macOS): kill test instances in OSS"

This reverts commit b0d796c8d64227a5ec012c060bbbee7d9da27568.

* chore: update chromium version for clang downloader

* some 💄 changes

* align with changes

* adopt more fs.rm

* 💄

* chore: bump @vscode/sqlite3@5.0.4

* fix layers check to account for duplicated types from node.js

* update todo for type casts

* smoke - fix compile issue

* chore: update module cache

* watcher - fix unhandled rejection (fix #137416)

* ci: update node version

* enable stack dumping

* update electron types to 16.x

* chore: bump @vscode/sqlite3@5.0.5

Refs https://github.com/microsoft/vscode/issues/137496

* fix layer issue

* add `AbortSignal` to core types

* chore: update linux compile flags

Refs 797723ec83

* ci: fix linux build

* ci: update github ci cache

* ci: fix remote build in github ci

* ci: better fix for remote build

* chore: bump azure cache

* chore: fix merge conflict

* :chore: update to electron@16.0.2

* chore: bump @vscode/sqlite3@5.0.7

* ci: update to gcc-4.9 for remote

Refs https://github.com/microsoft/vscode/issues/137659

* ci: switch to buster for linux arm

Refs https://github.com/microsoft/vscode/issues/137927

* ci: fix build on linux arm64

* ci: fix arm client compiler toolchain

Refs #137927

* chore: bump electron@16.0.3

* ci: fix compile flags for the c toolchain

* chore: bump electron@16.0.4

* Add experimental dark mode flag (#139109)

* Add experimental dark mode flag

* Apply PR feedback

* chore: bump electron@16.0.6

* chore: bump electron@16.0.7

Fixes https://github.com/microsoft/vscode/issues/138792
Fixes https://github.com/microsoft/vscode/issues/139300

* chore: experimental highlight API

* smoke - fix compile issue

* FIXME: custom ELECTRON_RUN_AS_NODE with node worker

* Revert "chore: bump electron@16.0.7"

This reverts commit 5fd01cf37c.

* Revert "Revert "chore: bump electron@16.0.7""

This reverts commit a7f1b73951.

* chore: fix github linux workflow

* chore: address review feedback

* chore: bump electron@16.0.8

* ci: revert to stretch distro for linux arm

Refs https://github.com/microsoft/vscode/issues/137927

* ci: force build

* chore: update yarn.lock

* address feedback

* Revert "FIXME: custom ELECTRON_RUN_AS_NODE with node worker"

This reverts commit 7b48fa3732.

* ci: fix remote folder build

* chore: fix github linux ci

* 🆙 `versionSpec`

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Raymond Zhao <raymondzhao@microsoft.com>
2022-02-08 20:09:00 +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