when using --dependency flag, the scrip will automatically read the home page of all dependencies charts and insert it to the README.md file.
Benefits
automatically detects and injects all dependencies charts home pages.
no need to search and worry for chart home page as here
Possible drawbacks
i wasnt sure where to place this code, and how exaclty i should inject the home page.
so im not sure if i added this script in the right place
it may take from 2-10 second for the axios request to GET the index.yaml file which contains the home page, so it makes the script pretty slow.
but also if you dont use --dependency it skips this scrip and runs fast as usual.
Applicable issues
automatically fixes stuff like this in all charts/subCharts
Additional information
function became async, i think its advantage because now we can do more manipulations, but a little harder to control.
i dont expect for the pull request to be accepted, i thought axios will work great but turns out the request takes super long (i did what i could).
Checklist
[X] Version bumped in package.json and package-lock.json according to semver.
[X] New features are documented in the README.md
[X] New features contain a new test at the tests folder
Description of the change
when using --dependency flag, the scrip will automatically read the home page of all dependencies charts and insert it to the README.md file.
Benefits
automatically detects and injects all dependencies charts home pages. no need to search and worry for chart home page as here
Possible drawbacks
Applicable issues
Additional information
Checklist
package.json
andpackage-lock.json
according to semver.tests
foldernpm test