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

Remove ThunderstorePackages helper #1272

Merged
merged 2 commits into from
Apr 15, 2024
Merged

Conversation

anttimaki
Copy link
Collaborator

No description provided.

@anttimaki anttimaki requested a review from MythicManiac March 18, 2024 15:17
@anttimaki anttimaki force-pushed the drop-thunderstorepackages branch from 8019be4 to d9b89a7 Compare March 19, 2024 08:46
- Move package exclusions from ThunderstorePackages to TsModsModule
- Drop package exclusions altogether from ApiData and ApiCacheUtils.
  Caching this information on disk doesn't make much sense since the
  exclusion list is stored in a local MD file anyway. Furthermore, the
  disk cache file will soon be removed altogether in favor of IndexedDB
- Remove references to ThunderstorePackages from SplashMixin and
  UtilityMixin. Call related methods directly instead. In the future
  these methods can be combined behing a single Vuex action
- Remove now unused package list related methods from
  ThunderstorePackages
All remaining code deals with calculating the deprecation status of
packages based on the status of their dependencies, so the new name is
more descriptive.

The methods remain wrapped in a class to make it easier to spy on them
in Jest test cases.
@anttimaki anttimaki force-pushed the drop-thunderstorepackages branch from d9b89a7 to fb4e30a Compare April 3, 2024 13:19
@anttimaki anttimaki marked this pull request as ready for review April 3, 2024 13:19
Base automatically changed from deprecations to develop April 15, 2024 06:07
@anttimaki anttimaki merged commit 8bb3383 into develop Apr 15, 2024
7 checks passed
@anttimaki anttimaki deleted the drop-thunderstorepackages branch April 15, 2024 06:28
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