An angular component library that makes any task feel luxurious.
In order for a contribution to be considered, the following conditions must be met:
ng lintshould result inAll files pass linting- note: for purposes of aot compilation, strict null checking has been enabled
ng testshould result in all tests passing- New components and directives must be accompanied by a component demonstrating the functionality. This component should be added to the demo app's routes
- New components and directives must be accompanied by unit tests demonstrating that it functions as intended.
- The component should adhere to the Health Catalyst style
- Certain libraries (like momentjs and lodash) if used by your components will need to be added to the globals object used by rollup.config.js
- Branch from master
- Ensure all linting and tests pass
- Develop new component or feature
- Ensure all linting and tests pass
- Package the library
npm run package - Run
npm linkfrom the dist folder - In another angular application run
npm link @healthcatalyst/cashmere - Ensure external application can do a production/aot build
ng build --prod - Submit pull request
Run npm run package to bundle the library.
Run ng serve to begin serving the demo application on port 4200
Run ng test to execute the unit tests via Karma.
