Skip to content

GH-449: enhance development experience and Compile Time#450

Open
Marcel-TO wants to merge 2 commits intoHytaleModding:mainfrom
Marcel-TO:chore/improve-development-experience
Open

GH-449: enhance development experience and Compile Time#450
Marcel-TO wants to merge 2 commits intoHytaleModding:mainfrom
Marcel-TO:chore/improve-development-experience

Conversation

@Marcel-TO
Copy link
Contributor

@Marcel-TO Marcel-TO commented Feb 17, 2026

Description

This PR intends to improve the development experience for developers and contributors by adjusting the development workflow.

When running the bun run dev command, the script does not execute the prebuild.ts file but a new file for development called predev.ts. This file removes all languages from the documentation except english. With this change, the compile time is merely seconds instead of minutes.

To prevent unwanted changes there is a new script called bun run dev:restore that restores all changes made by the predev.ts file.

To prevent contributors from pushing the deleted files by accident (didnt run the restore script mentioned above) a pre-commit tool got implemented called Husky. Its goal is to restore the languages when the contributor creates a commit to prevent unwanted changes from any of the language files.

With those changes only local development gets a significant improvement in performance without changing anything on the codebase.

Type of Change

  • Documentation fix (typo, grammar, clarification)
  • New documentation (guide, tutorial, page)
  • Bug fix
  • New feature
  • Other

Screenshots

The following image is an example of the improved performance (7.9 seconds compiletime) for the whole documentation.
Compile-En

Checklist

  • Tested locally with bun run dev
  • Formatted code to adhere Styleguide with bun format
  • Ran bun audit (no critical vulnerabilities)
  • Checked spelling and grammar
  • Verified all links work
  • Followed Contributing Guidelines

Closes #449

Thank you for contributing!
gh-449

@Marcel-TO Marcel-TO requested a review from ItsNeil17 as a code owner February 17, 2026 16:28
@hytalemodding-deploy
Copy link

hytalemodding-deploy bot commented Feb 17, 2026

Dokploy Preview Deployment

Name Status Preview Updated (UTC)
Website ❌ Failed Preview URL 2026-02-22T20:24:24.987Z

@Marcel-TO Marcel-TO force-pushed the chore/improve-development-experience branch from f3b9968 to 67a7ebe Compare February 17, 2026 16:29
…ge management scripts to improve compile time
@Marcel-TO Marcel-TO force-pushed the chore/improve-development-experience branch from 67a7ebe to 1ca3988 Compare February 17, 2026 16:53
@ItsNeil17 ItsNeil17 requested review from okunamayanad and removed request for ItsNeil17 February 19, 2026 16:23
@ItsNeil17
Copy link
Member

!bot sync

@hytalemodding
Copy link

hytalemodding bot commented Feb 22, 2026

Synced with issue #449

📋 Labels: No labels on linked issue
🎯 Milestone: No milestone on linked issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Compile Time improvements

2 participants