Common Angular

screenshot of Common Angular

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

Overview

The Megabyte Labs eco-system contains multiple projects that inherit common files from a cascade of common file repositories. These repositories consist of shared files as submodules, located in the .common/ folder of each project. Each project links to the common file repository that corresponds to its type. The common file repositories contain the necessary data for downstream repositories, with many files inherited from upstream repositories.

Features

  • Documentation Partials and Variable Inheritance: The documentation partials repositories serve as the highest upstream source, and the variables stored in common.json, common.{{ project_subtype }}.json, and variables.json inherit from each other.
  • Common File Propagation Process: Files housed in upstream repositories are propagated to repositories specific to project types. This process ensures that changes made in shared documentation repositories are propagated to all project-type-specific documentation repositories.
  • Common File Sub-Types: Common file repositories house various sub-types of files, such as configuration files, which are inherited by downstream repositories.

Summary

The Megabyte Labs eco-system relies on shared files in common file repositories. These repositories are linked as submodules in each project and contain a cascade of common files inherited from upstream repositories. The common file propagation process ensures that changes in shared documentation repositories are propagated to project-type-specific repositories. By understanding the documentation partials and variable inheritance process, users can effectively utilize the common files within the Megabyte Labs eco-system.