iqb-components
v5.1.0
Published
[](https://www.npmjs.com/package/iqb-components) [](LICENSE) [
How to include a new component
new component check list
- clone repository and install showcase up (see above)
- place component under
src/app/components
- include component in module in
src/app/components/iqb-components.module.ts
- export component from barrel file:
src/app/components/public_api.ts
- make a testing card in the showcase app for your component in
src/app/showcase.component.*
- write unit test in same folder like component. You can use ... to auto-generate a skeleton for the unit test
- write a e2e-test for your component in e2e/src
publish a new version of components lib
run make tag-minor
(or patch or major)
or:
- change version tag both in
src/app/components/package.json
andpackage.json
to new {version} npm run build:lib
cp README.md dist/
npm login
npm publish dist
git tag {version}
git push
# or pull requestgit push origin {version}