by creating a monorep-project with using of other internal modules, which are only stored in the private npm (Azure DevOps), then it is not possible to integrate an common-npm 'common' (private) on a lower level.
With npm install in the integrated monorep-module 'm1', the common-module 'common' is installed (with help from .npmrc).
With npm install on the main monorepo-module 'main', the common-module could be installed too (with help from .npmrc on the main-module level).
But by 'mbt build' the main monorep-module, the monorep module 'm1' leads to an error, because the 'common' module is not found. On the main-module level the .npmrc is working and deliver the correct internal registry. But on the 'm1' module level, the .npmrc (on main level) is not used and then the common-module will be searched in the standard https://registry.npmjs.org, but could not be found. In my case it was a fiori-app to build.
MBT Version: 1.2.27
OS Version: independent
Steps to Reproduce:
Create a common module
Create a fiori app
npm publish in e.g. Azure Devops (not to npmjs.org)
Use common module in a monorepo module
npm publish in e.g. Azure Devops (not to npmjs.org)
Hi,
by creating a monorep-project with using of other internal modules, which are only stored in the private npm (Azure DevOps), then it is not possible to integrate an common-npm 'common' (private) on a lower level.
With npm install in the integrated monorep-module 'm1', the common-module 'common' is installed (with help from .npmrc).
With npm install on the main monorepo-module 'main', the common-module could be installed too (with help from .npmrc on the main-module level).
But by 'mbt build' the main monorep-module, the monorep module 'm1' leads to an error, because the 'common' module is not found. On the main-module level the .npmrc is working and deliver the correct internal registry. But on the 'm1' module level, the .npmrc (on main level) is not used and then the common-module will be searched in the standard https://registry.npmjs.org, but could not be found. In my case it was a fiori-app to build.
Steps to Reproduce: