Remove forum password grants table and refactor domain packages - #168
Merged
Conversation
…me name Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011TkUEQhzDEpjYSgJLqeBDb
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011TkUEQhzDEpjYSgJLqeBDb
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011TkUEQhzDEpjYSgJLqeBDb
…ser and the guards Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011TkUEQhzDEpjYSgJLqeBDb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR removes the deprecated
forum_password_grantstable from the database schema and refactors the domain packages configuration to be more maintainable and dynamic.Key Changes
forum_password_grantstable that is no longer neededforumPasswordGrantstable definition frompackages/db/src/schema/structure.ts.dependency-cruiser.cjsinto a newscripts/domain-packages.cjsmodule for better reusability.dependency-cruiser.cjsby removing hardcoded domain lists and importing from the new shared modulescripts/guards.mjsto use the newdomainPackagesexportdocs/architecture.mdto reflect the new domain packages structuremeith_uploadstodocker_uploadsindocs/operating.mdanddocs/disaster-recovery.md.env.examplewith corrected Docker Compose file path referenceImplementation Details
The domain packages configuration is now centralized in a single source of truth (
scripts/domain-packages.cjs), making it easier to maintain and reference across multiple configuration files. This eliminates duplication and reduces the risk of configuration drift between different tools.https://claude.ai/code/session_011TkUEQhzDEpjYSgJLqeBDb