Skip to content

Commit

Permalink
Merge pull request #4 from DevExpress-Examples/update-ps-script
Browse files Browse the repository at this point in the history
Update test-example.ps1
  • Loading branch information
SavchenkoAlexander authored Dec 11, 2024
2 parents eef5c2d + 1508630 commit e7b548b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<!-- default badges list -->
![](https://img.shields.io/endpoint?url=https://codecentral.devexpress.com/api/v1/VersionRange/800447205/23.1.3%2B)
[![](https://img.shields.io/badge/Open_in_DevExpress_Support_Center-FF7200?style=flat-square&logo=DevExpress&logoColor=white)](https://supportcenter.devexpress.com/ticket/details/T1233410)
[![](https://img.shields.io/badge/📖_How_to_use_DevExpress_Examples-e9f6fc?style=flat-square)](https://docs.devexpress.com/GeneralInformation/403183)
[![](https://img.shields.io/badge/💬_Leave_Feedback-feecdd?style=flat-square)](#does-this-example-address-your-development-requirementsobjectives)
Expand Down
9 changes: 0 additions & 9 deletions test-example.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,12 @@ function Process-JavaScriptProjects {

Set-Location $($folder.Name)

# Prepare the list of packages with their versions
$packages = $folder.Packages | ForEach-Object { "$_@$global:buildVersion" }

# Join the package list into a single string
$packageList = $packages -join " "

# Construct the npm install command
$command = "npm install $packageList --force --save --no-fund"

# Output and execute the command
Write-Output "Running: $command"
Invoke-Expression $command

Expand All @@ -52,11 +48,6 @@ function Process-JavaScriptProjects {
}

Write-Host "`nUpdating packages..."
#foreach ($package in $($folder.Packages)) {
# $command = "npm install $package@$global:buildVersion --save"
# Write-Output "Running: $command"
# Invoke-Expression $command
#}

Write-Host "Running 'npm run build' in $($folder.Name)"
$buildResult = & npm run build
Expand Down

0 comments on commit e7b548b

Please sign in to comment.