Using source control with Vaadin Flow

This topic is the discussion thread for the Vaadin documentation page Using source control with Vaadin Flow.

Questions, feedback, and comments are welcome here.

What about file .prettierjs.rc ? It is there with a freshly created project from Vaadin Start.

.prettierjs.rc is a configuration file for the Prettier formatter. If you are using Prettier to format the code, it should be in the repository so everybody formats the same way. If you are not using Prettier, you can delete it.


I am not sure though it should be in the projects generated from Vaadin Start, it might be removed in the future.

Hello! Why was src/main/bundles/prod.bundle not included into typical directory layout?

Seems like we forgot to update this older article when the prebuilt bundle feature was added. It it indeed recommended to keep those files in version control so that everyone in the team can benefit from the production bundle that one team member has built.

I created https://github.com/vaadin/docs/issues/4626 for reviewing the documentation to make sure this topic is covered.

Great, thank you!

Hello! What should one do with the 25.2.5 added

pnpm-workspace.yaml

file (PR#24918)?