This PR adds the initial implementation for performing npm install as a dsc resource.
Get() - Uses npm list and npm list -g to determine whether a package is installed.
Test() - Calls Get() and checks the NotConfigurable properties ($installedStatus and $installStatusGlobal) to determine whether the npm package is already installed.
Set() - Executes npm install with the provided arguments.
This PR adds the initial implementation for performing
npm install
as a dsc resource.Get() - Uses npm list and npm list -g to determine whether a package is installed. Test() - Calls Get() and checks the NotConfigurable properties ($installedStatus and $installStatusGlobal) to determine whether the npm package is already installed. Set() - Executes npm install with the provided arguments.
Tested locally with grunt.