delete-package-versions
delete-package-versions copied to clipboard
Support multiple packages
This PR adds support for multiple packages, a requested feature in #65. A new field package-names
that supports this feature was added to make the code backward compatible.
Thanks @OmarCastro for the PR. Will take a look in the week of 18 April.
@NamrataJha is there any update?
I feel like this is a very important feature. Any updates @NamrataJha ?
Also I am still not able to run the action. I am using this workflow for testing. The action is not able to fetch package-version-ids
.

Also you will need to add package-names
entry here in this action.yml file to remove the runtime warning.
Also I am still not able to run the action. I am using this workflow for testing. The action is not able to fetch
package-version-ids
.![]()
Also you will need to add
package-names
entry here in this action.yml file to remove the runtime warning.
After analyzing action.yml and package.json, I noticed I have to run the pack
script instead of build
before commit, so the script was outdated
After that, all new commits now have dist/index.js
updated
I have been testing this feature with success using this workflow
One thing I noticed is the minimal information on the logs, only total number of versions deleted. With this feature implemented, I propose to add the number of versions removed by package
@NamrataJha Is there any update on this?
Hello @OmarCastro
We have released a major update for this action. See the release here. Could you please rebase your changes against main
and submit the PR again?