This library is used to build forms dynamically. It includes several types of inputs and can perform several predefined validations on these inputs.
To visualize all the stories created for this lib run
nx run shared-ui-kit-dynamic-form:storybook
You can use storybook to make develop the lib, any change made to the code will be reflected in the stories
Run nx build shared-ui-kit-dynamic-form --with-deps --prod
Go to package.json created in dist/libs/shared/ui-kit/dynamic-form
and move all @angular
dependencies to perDependencies
For all @bamzooka
dependencies replace it with local yarn install:
Example: "@bamzooka/ui-kit-spinner": "file:/Users/ahmed/workspace/bamzooka/dist/libs/shared/ui-kit/spinner"
Run nx test shared-ui-kit-dynamic-form
to execute the unit tests.
TODO
implement unit tests
Run nx e2e shared-ui-kit-dynamic-form-e2e
to execute
the end-to-end tests.
The e2e tests are coupled with storybook
, stories are created
for this component, then these stories are used to perform some browser
based tests.
To visualize all the stories created for this lib run
nx run shared-ui-kit-dynamic-form:storybook