Replies: 5 comments 2 replies
-
@computerlove Would you like to take this on? It would be a very nice/big contribution! |
Beta Was this translation helpful? Give feedback.
-
@gastaldi nop, package.json is just what's npm is using behind, but the goal with this is to allow any command (could possibly be something else than NodeJS).
That was my initial idea, but it'd be nice to allow random project to work with Quinoa. Example if the UI project is owned by another team which doesn't want to change anything (could because of CI setup or whatever). This feature would allow any process that generate UI resources to be used alongside Quarkus. |
Beta Was this translation helpful? Give feedback.
-
It will also allow to disable commands |
Beta Was this translation helpful? Give feedback.
-
I think I will start on an approach with |
Beta Was this translation helpful? Give feedback.
-
I have a first draft ready: feature-134. quarkus.quinoa.package-manager-commands.install=npm install-all-packages --prefer-offline
quarkus.quinoa.package-manager-commands.install-env.MODE=secret
quarkus.quinoa.package-manager-commands.install-env.CI=maybe? |
Beta Was this translation helpful? Give feedback.
-
This discussion has been initiated by @computerlove in #132.
I've been thinking into improving the customization of package manager commands in the long run (and not just "install").
I believe it would be nice to have something close to the script section in the package.json. e.g.:
Instead of just the argument it would allow to edit the entire command (including envs) for one or more the available "actions". If not set if would keep the default (what we currently have).
To allow this, we might need to use something like commons.apache.org/proper/commons-exec and be careful about os compat.
Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions