Npm and octopus deploy


how would you suggest to tackle deployments of web apps that contain both nuget and npm packages?
Should the contents of npm packs be included in the deployable nuget package for a web app?
Or should the contents be kept separate and PowerShell should be used to deal with npm packages in custom defined Octopus deploy steps?


Hi Valy,

Thanks for getting in touch. Both approaches make sense, so I’d say its up to you to choose the one that suits you better. I’d personally try to give Octopus a Nuget package that contains everything It’ll need for the deployment. So I’d try to build (on the build server) a NuGet package that also contains all my npm packages.