Dependency inside a private npm-repository

npm has a feature where you can use a dependency that is inside that you can add this inside a private npm-repository.

You need to add a .npmrc to the root-level of the repository (see Configuring npm -> npmrc).

They also have an article on how to implement this for a CI/CD solution which is the one we need here: Using private packages in a CI/CD workflow