I am using few in-house angular libraries, published on company's local npm repository. There is also a code base maintained, but i have noticed the latest code is not checked in for latest published version. (Bad set-up)
I am looking into possibilities for recover the original code from node_modules for these libraries. I could see only declaration files (.d.ts) and bunch of .js
"es2015": "fesm2015/my-angular-lib.js",
"esm2015": "esm2015/my-angular-lib.js",
"esm5": "esm5/my-angular-lib.js",
"fesm2015": "fesm2015/my-angular-lib.js",
"fesm5": "fesm5/my-angular-lib.js",
"license": "MIT",
"main": "bundles/my-angular-lib.umd.js",
"metadata": "my-angular-lib.metadata.json",
"module": "fesm5/my-angular-lib.js",
"name": "my-angular-lib",
"sideEffects": false,
"typings": "my-angular-lib.d.ts",
"version": "1.1.31"
Is there any standard way to recover the original code?
I could recover few libs by referring code in js but some libs codebase is big and i want to avoid manual task and errors.