Skip to content

Latest commit

 

History

History
86 lines (66 loc) · 1.9 KB

DEVELOPER.md

File metadata and controls

86 lines (66 loc) · 1.9 KB

Developer Documentation

Contributing

Please read the contributing guidelines here.

Building the Project

Prerequisites

Installing Global Dependencies

npm install -g lerna @angular/cli

Creating Your Own Fork

Fork the Daffodil Repository

GitHub Fork Button

Clone your repository

git clone [email protected]:{username}/daffodil.git && cd daffodil
git checkout -b new-branch

Installing Dependencies

npm install

Full Build

You can run a full build that builds all projects and libraries via:

lerna run build

Partial Build

If you want to build a single project or library, you can run:

lerna run build --scope="@daffodil/{library}"
lerna run build --scope="@daffodil/{app}"

For example,

lerna run build --scope="@daffodil/core"

Running unit tests

Much like builds, we utilize Lerna and the Angular CLI to run our tests.

Full Test Suite

To run the full suite

lerna run test

Partial Test Suite

If you want to run a single project or library's test suite

ng test libName
ng test appName

Reference

You can read more about each library and it's build/testing process in the readme of the relevant library or app.

Apps

Libraries