Replies: 2 comments
-
|
I've done a tiny PoC using Node.js and I think writing it in Go would make it smaller and probably faster, but I'm not sure if either gain is significant enough versus the benefits of:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
So this is some testing for this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
runinstallis my punny name for a new complimentary capability for Containerbase.The idea is not aimed at Renovate as a user yet but instead other Containerbase downstream users, of which I have a particular one at Mend which would need this.
This is for an application which calls commands like
npmorpoetry, but which isn't really "aware" of versions or dynamic installations.Instead, that application would simply call
npm install, and:runinstallwould be aliased tonpm(and others), so intercept the call tonpm, and useargvto know what was called andcwdto know from whereNODE_VERSIONis not specified in env then it would look in thecwdfor e.g..nvmrc,.node-version, orpackage.jsonto determine the version of Node.js to use, then runinstall-tool nodeNPM_VERSIONis not specified in env then use logic (e.g.package.json, or looking at thepackage-lock.jsoncharacteristics) to decide whichnpmversion to install, then install itnpmwhich was just installed, passing on the samecwdand argsPotentially Renovate could even reuse this capability later.
Beta Was this translation helpful? Give feedback.
All reactions