git clone
Generate repo.json
, which is a file with all necessary meta information for one or multiple repos.
{
"projects": [
{
"folder": "airtap",
"repo": "airtap/airtap",
"gitURL": "https://github.com/airtap/airtap.git",
"unitTest": "test"
}
]
}
sh detect_bloated_strace.sh
sh remove_bloated_dependencies.sh
python debloat_pck_json.py package_name
python debloat_lock_file.py package_name
We can observe that new versions of package.json
and package-lock.json
is generated, without the bloated dependencies.