-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frontend development tools should be automatically installed #6249
Comments
Is there any reason why we should not install it system wide in ~/.vaadin i.e. in the users homedir? This would install it only once and use it for all projects |
I can't think why we wouldn't do that. Updated description. |
We must note that requiring npm installation makes also setting up CI more complicated. This is what I got when trying to GitHub actions for one of my projects:
|
Optimal solution for this would be that:
For Gradle plugin there was a task introduced that one can call and which installs project global node/npm. That was already found helpful by the community. If the optimal solution is found too hard, we could maybe implement just that. If not, then that feature probably becomes obsolete in the Gradle plugin as it will be implemented by Vaadin development mode helpers already 🤔 Please share your ideas @vaadin/flow |
@samie This is one of your favourite topics, any insights how this should work? |
Just to confirm, for Vaadin 14, this would use npm, and for Vaadin 15, it would use pnpm? Or do you just want to jump directly to pnpm? |
pnpm would be an implementation detail. IIRC, we already install it automatically if it is not installed. Why did you ask? Do you have some concerns or issues with pnpm? |
I just wanted to make sure that you wouldn't need to do re-work when eventually switching to pnpm. :) |
To clarify, this will be targeted to 14.2, but it will be done to master branch (3.x). Acceptance Criteria
|
Please add "Running CI behind a proxy (allow for configuration of a proxy)" as Acceptance Criteria. It's common practice and should not be missed if possible. Example: all our Jenkins builds run within the companies network and have to access one global artifactory where all binaries / artefacts are stored without any direct access to the internet (Security Reasons / Government Regulation) |
Add logging for when we are automatically installing node and where it is installed. Part of #6249
Add logging for when we are automatically installing node and where it is installed. Part of #6249
Add logging for when we are automatically installing node and where it is installed. Part of #6249
Since Vaadin 14 build fails if npm is not installed.
Many of our core audience are allergic to frontend development tools and have chosen Vaadin because they can ignore all that can build their web UI with plain Java tools. Thus we shouldn't nag about uninstalled npm, but just install it to project or to ~/.vaadin for them and give a warning that thing might be bit faster if it was installed locally.
Proofpoints can already be found on forum and SOF
The text was updated successfully, but these errors were encountered: