For a unique situation in a Vue.js and JavaScript project, there is a need to integrate an NPM package dependency into the current JavaScript code base.
In this particular case, the NPM package should no longer be part of the nodes_modules folder but rather integrated directly into the JavaScript code itself.
Both codebases are expected to grow together in the future, independently from the original NPM package and not as a Fork.
What is the best way to merge or combine an NPM package with a JavaScript project?
Additional Details:
- The library that needs to be integrated is OIDC client. It is an open source project "Archived" by its author (So no possibility to create Pull Request for a new release).
- This library is used to create a SSO for an internal project. The architect has chosen this library for specific project needs and there are no alternative options available.
- There is no "internal package manager" available within the company.
- I prefer not to host the fork on my personal Github and manage the package on the NPM website.