Feature/VFX and animations #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "Feature/VFX-and-animations"
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?
TypeScript Migration & Code Quality Improvements
Overview
This PR migrates the entire codebase from JavaScript to TypeScript, introduces comprehensive code quality tooling, and improves the overall developer experience. This is a major refactoring that enhances type safety, maintainability, and code consistency across the project.
Key Changes
TypeScript Migration
.js) converted to TypeScript (.ts)anytypes, replaced with proper TypeScript typesCode Quality Improvements
Visual Improvements
Documentation
Statistics
.jsfiles converted to.tsanytypes: Complete type safety achievedTechnical Details
Type System Improvements
WeaponItem,ArmorItem,ConsumableItemDamageDealtEvent,MutationGainedEvent, etc.)anyassertions)isProjectileproperty toHealthcomponentSkillEffectinterface for type-safe skill effectsDeveloper Experience
npm run format- Format all filesnpm run format:check- Check formattingnpm run lint- Lint with zero warningsnpm run lint:fix- Auto-fix linting issuesBuild & Tooling
Visual Changes
Bioluminescence Effect
File Structure
All files migrated from
.jsto.ts:Quality Assurance
anytypes remaining!)Migration Benefits
Breaking Changes
None - this is a pure refactoring. All functionality remains identical, only the implementation language changed.
Notes
.jsfiles have been removed.tsextensionstsconfig.jsonconfigured with strict mode and modern ES2020 targetTesting
Branch:
Feature/VFX-and-animationsBase:
main