How can I support these NPM/ember addon scenarios?
- developers build ember addon A and use build ember application B which uses their A local package
- developers only builds B installing A from our nexus NPM integration repository
- build system builds ember addon A installing into our nexus NPM release repository
Maven
- developer desktop builds install packages to a local repo to be used later in the build.
- build system builds deploy packages to our internal shared repo to be used by developers so they don't need to build all
NPM
- build system builds can use npm publish --registry http://ourrepo/nexus/.... to publish into a private registry
- develop desktop builds do????
We could use DependsOnMe with relative paths but that requires us to setup some kind of rule where builds work one way locally and another on the build machine.
While possible, I hope there's a more elegant solution to making this happen.
Can I have developers generate packages that go into the local npm cache for later use and if so can you point me to that documentation?
Related