Skip to content

Commit daabbf8

Browse files
authored
Merge branch 'vnext' into mkirova/finjs-sample
2 parents dbf07bb + 2c15bea commit daabbf8

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

azure-pipelines/build-pipeline.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,17 +99,16 @@ stages:
9999
Set-Content $_.PSPath }
100100
101101
- task: PowerShell@2
102-
displayName: 'Extra temporary replace for the dockmanager trial->licensed'
102+
displayName: 'npm install igniteui-dockmanager (licensed)'
103+
enabled: false # Disable this extra step because we are already going for the licensed version in the package.json - 2 steps above
103104
inputs:
104-
failOnStderr: true
105-
showWarnings: true
106-
workingDirectory: '$(Build.SourcesDirectory)\browser\node_modules\@infragistics\igniteui-react'
107105
targetType: 'inline'
106+
# We are using a PowerShell script because the npm step doesn't allow for explicit use of variable expansion which is what we use here.
107+
# The script below grabs the current version of the dockmanager and installs it separately (after we UNinstalled it in a previous step)
108108
script: |
109-
Write-Output "$(Build.SourcesDirectory)\browser\node_modules\@infragistics\igniteui-react"
110-
Get-ChildItem -Include "*.js" -Recurse | `
111-
ForEach { (Get-Content $_.PSPath | ForEach { ($_ -replace 'igniteui-dockmanager', '@infragistics/igniteui-dockmanager') }) | `
112-
Set-Content $_.PSPath }
109+
cd $(Build.SourcesDirectory)\browser
110+
npm install igniteui-dockmanager@npm:@infragistics/igniteui-dockmanager@$($(jq '.dependencies.\"igniteui-dockmanager\"' .\package.json).Trim('"'))
111+
113112
- task: Npm@1
114113
displayName: 'npm run build'
115114
inputs:

0 commit comments

Comments
 (0)