javascript - Can npm workspaces sequence the build of monorepo projects? - Stack Overflow

admin2025-04-17  6

I'm trying to figure out how to build multiple typescript projects that have common dependencies.

I need to build them so that common dependencies are built before the projects that depend on them are built and after each build I need to install the project to Verdaccio, which is like an local NPM.

And I was looking at Bazel, but it's a little "Heavy". Can NPM workspaces figure out the right build sequence bazed on package.json dependencies?

转载请注明原文地址:http://www.anycun.com/QandA/1744892900a89112.html