Coding Standards

Understand why and how to write consistent code

Structure

  • The project is set up as a monorepo
  • We create our CSS using SCSS which outputs utility classes and css variables for themeing
  • Our web components are created using the Lit framework
  • We write our javascript using Typescript

 

Monorepo Structure

Monorepo Structure

Lerna & Versioning

Lerna comes with a version command that allows you to increment your package's version number, commit the changes and tag them accordingly.

lerna version --no-private

Lerna Example

Lerna Example