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

Add JSON <=> DB utils, unpack compendia to JSON so we can track them #901

Merged
merged 4 commits into from
Nov 11, 2023

Conversation

rsek
Copy link
Collaborator

@rsek rsek commented Oct 17, 2023

note that about 1,000 of the 1,006 changed files are just JSON exports from the DBs. the actual data is unchanged in this PR, so they don't require review.

  • adds a couple build-time dependencies, fs-extra and the FVTT CLI
  • adds some typings for FVTT CLI (they aren't provided so i had to DIY them)
  • cleans up a couple unused, empty DBs that the CLI was complaining about not being to iterate over
  • adds two scripts to scripts, to pack/unpack the DB files to/from JSON, plus a couple constants so the new scripts know where to look
    • i think they could be run as part of CI, but i haven't actually tested this yet

Copy link
Owner

@ben ben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ben ben merged commit 72a363e into ben:main Nov 11, 2023
2 checks passed
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