How does angular4 publish the NPM package? How to introduce your own released npm package?

I encapsulated some components through ng and wanted to release these components into npm packages for use by other projects, but I encountered a lot of problems and found a lot of information on the Internet, but I had no choice but to update the version of ng-related things too quickly and there were many compatibility problems. I use the version of angular-cli1.3 to complete the release, download and reference of the npm package, which can basically be implemented. But our project uses echarts, and he requires that the version of cli be higher than 1.3. Then I tried a lot of methods, but failed in the end. Do you gods have a good way to ask for advice

Mar.12,2021
Menu