Thanks for contributing! 👍
You'll want to create a fork first, then this should get you going:
git clone https://github.com/<your-user>/shallow-render.git
cd shallow-render
npm install
npm run build:all
If that all passes, you're good!
npm run lint
-- or --
npm run lint:fix
Please avoid adding new packages. We have to support old and new versions of Angular and the fewer dependencies we have, the easier it is to keep this compatibility.
Public contracts should always be type-safe. I understand that Angular constantly breaks out of the type system but shallow-render
is meant to encourage staying in the type-system as much as possible. If a feature cannot be done in a type-safe manner, we should seriously consider abandoning the feature.
- All new code should have solid coverage with unit tests
- All new features should be exercised in the
examples
folder
- Avoid magic whenever possible, err on the side of being explicit
- If you have to do something weird because of Angular, please leave a detailed comment in the code for why things got weird