This is a hard question and I'll try to explain.
How to add new packages without install dependencies or new packages (defined in package/-lock.json)?
For example: Currently, we have our package.json and package-lock.json to maintain the versioning.
However, If we try to add a new package, other packages (related to package.json or package-lock.json) are being updated/added.
The intention is just add new packages, add these packages info inside package.json and package-lock.json, without affect the current packages installed.