[Windows] Update npm parcel package to v2 (#4742)

* [Windows] Update npm parcel package to v2

* [Windows] Add the parcel to the software report

* [Windows] Add the parcel in tests

* [Windows] Move the function Get-ParcelVersion
This commit is contained in:
V-Zabayrachny
2021-12-16 18:37:45 +03:00
committed by GitHub
parent 2d4cd7ab63
commit d9b2265e58
4 changed files with 8 additions and 2 deletions

View File

@@ -121,6 +121,7 @@ $toolsList = @(
if ((Test-IsWin16) -or (Test-IsWin19)) {
$toolsList += @(
(Get-GoogleCloudSDKVersion),
(Get-ParcelVersion),
(Get-ServiceFabricSDKVersion)
)
}

View File

@@ -135,6 +135,11 @@ function Get-PackerVersion {
return "Packer $packerVersion"
}
function Get-ParcelVersion {
$parcelVersion = parcel --version
return "Parcel $parcelVersion"
}
function Get-PulumiVersion {
return "Pulumi $(pulumi version)"
}

View File

@@ -374,7 +374,7 @@
{ "name": "cordova" },
{ "name": "grunt-cli", "test": "grunt --version" },
{ "name": "gulp-cli", "test": "gulp --version" },
{ "name": "parcel-bundler" },
{ "name": "parcel", "test": "parcel --version" },
{ "name": "webpack" },
{ "name": "webpack-cli" },
{ "name": "node-sass" }

View File

@@ -406,7 +406,7 @@
{ "name": "cordova" },
{ "name": "grunt-cli", "test": "grunt --version" },
{ "name": "gulp-cli", "test": "gulp --version" },
{ "name": "parcel-bundler" },
{ "name": "parcel", "test": "parcel --version"},
{ "name": "webpack" },
{ "name": "webpack-cli" },
{ "name": "node-sass" }