cloudpups / authenticated-scripts

An Azure DevOps extension that lets you use a Service Connection with a shell script!
https://marketplace.visualstudio.com/items?itemName=cloudpup.authenticated-scripts
Other
16 stars 3 forks source link

Do these tasks actually require a dependency on NPM? #6

Closed bermo closed 2 years ago

bermo commented 2 years ago

I have found this task extremely useful - thanks so much for developing it!

I did have a question though. As I am using on-prem build agents, not all of the servers have NPM installed. This causes the task to fail on those servers. I was wondering if NPM is actually necessary demand for this task to execute? I'm definitely no expert, but thought it might be more of a design time thing as don't these sorts of tasks ultimately produced javascript at the end of the day?

Anyway, it would be great if the NPM dependency could be removed from the following powershell task (and I spose from the bash task as well): https://github.com/cloudpups/authenticated-scripts/blob/main/tasks/powershell/task.json#:~:text=%22-,npm,-%22