The first step would be to test and build our code. The example here is github actions syntax, but it can be easily “translated” into any CI/CD flow. In this part, we will delve a bit into our CI/CD infrastructure. Npm install modules with dependencies how to#How to publish multiple libraries in an NX monorepo with github actions? Now that we have tested libraries and an app that uses the libraries and tests them as well (integration tests), we can move on to publish our multiple libraries. We also use it in the demo app that was conveniently created for us when we created the NX workspace in step 1. For every module we want to create, we run the lib generation command. All in all, it was angular wrappers, directives and services that enabled angular users to more easily use complex components. Other modules we created exposed some custom functionality for angular users that are using our web components. The form elements had to have some custom angular directives to be able to interact with angular reactive forms or ngModel. This is a true use case, since in our team we had to integrate our native web components inside angular applications. npm publish) angular module called form-association. This command creates a new publishable (e.g.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |