mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1663] [MERGED] Remove unused game mechanics exports #5195
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5195
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1663
Author: @cha1latte
Created: 5/30/2026
Status: ✅ Merged
Merged: 5/30/2026
Merged by: @cha1latte
Base:
refactor← Head:knip/refactor-export-cleanup📝 Commits (1)
5c5fddeRemove unused game mechanics exports📊 Changes
9 files changed (+16 additions, -78 deletions)
View changed files
📝
src/engine/modes/game/mechanics/combat.service.ts(+5 -5)📝
src/engine/modes/game/mechanics/dice.service.ts(+1 -9)📝
src/engine/modes/game/mechanics/element-reactions.service.ts(+2 -2)📝
src/engine/modes/game/mechanics/encounter.service.ts(+2 -2)📝
src/engine/modes/game/mechanics/loot.service.ts(+3 -3)📝
src/engine/modes/game/mechanics/morale.service.ts(+0 -35)📝
src/engine/modes/game/mechanics/perception.service.ts(+1 -1)📝
src/engine/modes/game/mechanics/reputation.service.ts(+2 -14)📝
src/engine/modes/game/mechanics/skill-check.service.ts(+0 -7)📄 Description
Linked issue
N/A - mechanical Knip cleanup batch.
Why this change
refactorbranch Knip cleanup by removing unnecessary public exports from game mechanics modules.pnpm exec knip --exports --no-config-hints --reporter compact --no-exit-code.Unused exports (70)/Unused exported types (55)toUnused exports (62)/Unused exported types (50).What changed
isDiceNotationmoraleDiceModifierformatMoraleContextbuildNpcRelationshipSummaryattributeModifierRefactor impact
Primary owner:
engine game mode mechanics
Impact areas reviewed:
src/engine/modes/game/mechanicsBoundary notes:
Pressure points touched:
GameSurface,ModeSurface, command registration, or import modules touched.Validation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
pnpm exec knip --exports --no-config-hints --reporter compact --no-exit-codeafter the cleanup and confirmed the selected mechanics rows no longer appear.pnpm typechecksuccessfully.git diff --checksuccessfully.pnpm buildsuccessfully.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo docs or release-note updates are needed for this mechanical export cleanup.
UI evidence
N/A - no UI changes.
Summary by CodeRabbit
Release Notes
This release contains internal code refactoring with no user-facing changes. All game mechanics, features, and functionality remain unchanged and work as before.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.