Common Angular

screenshot of Common Angular

Common Angular files and awesome boilerplate code that feeds a large group of repositories

Overview

The projects in the Megabyte Labs eco-system have a cascade of common file repositories from which they inherit their files. These repositories include shared files as submodules located in the .common/ folder in the root of each project. The common file repositories contain the necessary data for downstream repositories, with some files inherited from even further upstream repositories.

Features

  • Partial Documentation and Variable Inheritance: The documentation partials repositories cover the inheritance process of variables stored in common.json, common.{{ project_subtype }}.json, and variables.json.
  • Common File Propagation Process: Changes made in upstream repositories propagate to downstream repositories through the use of a GitLab CI script that triggers the pipelines of the respective repositories.
  • Sub-Type Specific Files: Each type of project has specific common file repositories that house the files required for that project type.
  • Templated Files: The common file repositories contain templated files that can be used by downstream projects.

Summary

The Megabyte Labs eco-system utilizes common file repositories and a propagation process to ensure that downstream projects have access to the necessary files they need. The documentation partials repositories cover the inheritance of variables, allowing for efficient management of shared files. The installation process is straightforward and can be completed with a few simple steps.