Skip to content

Add build script for pf2e and sf2e anachronism#21467

Merged
stwlam merged 2 commits intofoundryvtt:v13-devfrom
CarlosFdez:anachronism
Feb 22, 2026
Merged

Add build script for pf2e and sf2e anachronism#21467
stwlam merged 2 commits intofoundryvtt:v13-devfrom
CarlosFdez:anachronism

Conversation

@CarlosFdez
Copy link
Copy Markdown
Collaborator

No description provided.

@CarlosFdez CarlosFdez added the pr: housekeeping Updates to build/release management label Feb 7, 2026
Comment thread build/lib/compendium-pack.ts Outdated
Comment thread build/lib/compendium-pack.ts Outdated
Comment thread build/lib/level-database.ts Outdated

interface LevelDatabaseOptions {
systemId: SystemId;
systemId?: SystemId;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why optional now? These are much less obvious as to their purpose and could use some jsdoc

Copy link
Copy Markdown
Collaborator Author

@CarlosFdez CarlosFdez Feb 12, 2026

Choose a reason for hiding this comment

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

The property is used to load a system manifest file to then use to validate the packs, however in the case of anachronism we want to load a module manifest instead. So I added manifest as an alternative way to initialize.

We could either make the core system pass in a manifest file always instead of system (since manifest file supports all use cases) or include a packageType: "system" | "module" param. What do you prefer?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

It now always accepts manifest instead of manifest or systemId. Let me know if this is preferable.

@stwlam stwlam merged commit 4727b16 into foundryvtt:v13-dev Feb 22, 2026
1 check passed
@CarlosFdez CarlosFdez deleted the anachronism branch February 22, 2026 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: housekeeping Updates to build/release management

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants