You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The templates (express and vuejs template) and libraries (shareable libraries and tools) projects referenced in the Recipes are based on the two principles below.
1.1 - Updateable Templates
Your project is created using a template. If template updates, can upstream changes be merged with minimal impact on userland codes?
Yes and it is achieved through:
Design
Create folder where all userland code is placed, template must NOT touch this folder
template should not to be part of a monorepo
Process
clone template and create remote called upstream pointing to template
update framework when necessary by merging upstream into origin
1.2 - Manageable Sharing
You have code shared between multiple projects and libraries. If the code is updated, is breaking dependents and dependencies avoidable?
Yes, based on the following principles:
Shared libraries should be isolated and versioned. Use last-known-good version and update when ready
Isolation and versioning can be extended to types (for Typescript) and contracts (for API)
minimize inter & nested dependencies, and technical debt