Publishing Angular Wrapper Library

I followed the StencilJS Angular Integration guide and can successfully use my Angular wrapper components in a demo angular app within a monorepo setup. However, I don’t want to develop web components alongside the target angular app in the same repo. I want to publish the library and npm install it elsewhere.

What are the steps to publish an Angular Stencil library? Is it a matter of publishing the AngularOutputTarget dist folder or are there additional steps? The core web component library is still a peer dependency so I’m not sure how that’s handled. Are there any guides on this?

1 Like