Versioning
To keep the FrontHub ecosystem healthy, reliable, and secure, each microfrontend is built with version linked to the filename, which allows you to use aggressive caching techniques to avoid the browser re-downloading your assets if the file contents haven't changed.
Versioning is done through the version
property in the package.json
of the microfrontend, we recommend that you follow the semantic versioning spec.
You can manually version each deployment, but FrontHub do that automatically in CI/CD process.
Check the RD Station internal documentation about the CI/CD process for more details
For now, only the PATCH number will be added to each deployment for production, if you want to change another number it must be done manually. This evolution can be followed in the issue #401.
Any deployment that is not in production the bundle will be versioned as prerelease using the timestamp, but no changes will be made to package.json
.