Modernize project configuration and development tooling - #70
Open
Snuffy2 wants to merge 41 commits into
Open
Conversation
Run the frontend-installed Biome migration explicitly against the root and frontend configuration files so dependency updates cannot leave either versioned schema stale.
Enforce the npm install-script allowlist across local, CI, update, and Docker installs. Validate Python, Node.js, and npm before setup mutates the virtual environment or Git hooks.
Pass the strict install-script policy at each npm dependency command in local setup, maintenance, CI, and Docker. Remove the extra npm configuration layer in favor of visible CLI enforcement.
Derive the isolated mypy hook's runtime and type-stub dependencies from pyproject.toml during dependency maintenance, preventing the duplicated prek list from drifting.
Move frontend-specific Biome rules into the root configuration, point frontend scripts at the shared file, and migrate only that single configuration during dependency updates.
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
Modernizes MouseTrap's project configuration and development tooling so local setup, CI, dependency maintenance, and Docker builds use the same supported Python, Node.js, npm, Biome, and prek contracts.
What Changed
pyproject.tomland replaced the legacy pre-commit configuration withprek.toml.Why
The repository previously spread overlapping configuration across several files and allowed local, CI, and Docker workflows to drift. Centralizing the authoritative settings and enforcing the same dependency-install policies makes maintenance simpler and ensures unsupported or unapproved tooling fails early.