Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check unverified packages after start/publishing #1319

Merged
merged 5 commits into from
Dec 20, 2022

Conversation

ricardo-devis-agullo
Copy link
Collaborator

This solves the issue #1318

It will try to get the JSON list and pass it to the directory list. For every component version that it's not in the json, it will check for the package.json existence, and if it can't get it, it will remove it from the list.

For this, I also added a new case, where if loading the JSON fails when starting the registry, it will throw, which makes sense and ensures that we have a first version of the json always cached (if the json doesn't exist that's a different case and it will keep the previous behaviour of continuing through)

@ricardo-devis-agullo ricardo-devis-agullo merged commit 2ad9d81 into master Dec 20, 2022
@ricardo-devis-agullo ricardo-devis-agullo deleted the check-packages branch December 20, 2022 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants