DEV Community

loading...

Discussion on: Angular 10 + Storybook + npm package = NG Design System 💜 - Step-by-Step

activenode profile image
David Lorenz Author

I think i can see the problem. You were probably running npm publish in your root directory right?

That however would publish your whole angular project. What you want instead is build it and then go to dist/pattern-lib and run npm publish from there :)

Hope that solves it. I will enhance the article.