Open WernerMairl opened 7 years ago
Hiyo!
Seems reasonable. I would assume those ecosystems have nicer dependency handlers, but if it would help to have them in psdepend, and you're up for writing them (this doesn't use classes, so code will be ugly!), I'd totally take a pull request : )
Cheers!
Hey, so one of my modules actually requires some node modules for its work. Looking to tackle this shortly.
From a design of PSDeploy perspective, it looks like for any given type (the example I looked up was git
), we are okay assuming that the user has already installed the executable. So when working on this, it'd be okay to throw an error if npm
can't be found in the path? The alternative is to try to resolve and install node/npm, which seems like a bit of a mess.
Awesome!
Yeah, as long as you note the requirement in the docs and have a friendly message, I think it makes sense to simply let the user handle it.
For nuget we have a bootstrap script that we use - I can see that for cases where something is:
Git didn't meet this criteria, so we just depend on it
Cheers!
Well, once we get a choco dependency type in place, we can just rely on that for git/node/go/etc. 😉
I do have some code done on this, planning on making more headway tonight after work.
I've got some WIP in place for node modules in #40. 👷
@WernerMairl, does the NPM support added in #40 work for you? I haven't poked at DotNet Core yet, but NPM should "just" work, as long as you have node installed.
Changing the title given that NPM has been implemented - thanks again @michaeltlombardi!
No problem!
Hi i like the idea behind this project. What about creating dependencytypes for Tools/Environments like NodeJS or Dotnetcore ?
any concerns that this does not fits into the project goals ? any plans in this direction ?
regards Werner