aziontech/bundler

refactor: Generate Version ID in Dispatcher

jotanarciso opened this issue · 0 comments

Description:

Currently, the version ID is generated exclusively in the webpack config, limiting its availability and usage in other parts of the project. To improve flexibility and enable passing the version ID to the prebuild context and other relevant processes, we need to generate the version ID directly in the dispatcher.

The goal of this issue is to modify the project's dispatcher to generate the version ID and make it accessible throughout the prebuild and related processes. This will provide a consistent versioning mechanism and allow for better integration with other parts of the project.

Tasks:

  • Modify the dispatcher to generate the version ID during the build process.
  • Update the necessary build scripts and commands to utilize the version ID generated in the dispatcher.
  • Ensure the generated version ID is accessible in the prebuild context and other relevant processes.
  • Test the build process with the updated dispatcher to verify the correct generation and usage of the version ID.
  • Document the changes in the project's README and provide clear instructions on how to access and utilize the generated version ID.
  • Perform code review and ensure the implementation meets quality standards.
  • Update the project's documentation and contribute guidelines to reflect the changes and provide information on contributing to the project.

Acceptance Criteria:

  • The version ID should be generated within the dispatcher during the build process.
  • Build scripts and commands should be updated to use the version ID generated in the dispatcher.
  • The generated version ID should be accessible in the prebuild context and other relevant processes.
  • The build process with the updated dispatcher should be tested to ensure the correct generation and usage of the version ID.
  • The README should be updated with clear instructions on how to access and utilize the generated version ID.
  • All tasks should be completed and tested.
  • The code should undergo a thorough review and adhere to the project's quality standards.