Clean up dirty build: gitignore IDE/temp files, consolidate vite configs #1

Closed
opened 2026-05-11 21:43:50 +08:00 by justin-admin · 0 comments
Owner

Problem

The app currently builds as v1.3.225-dirty because several untracked and modified files are present in the working tree. This prevents clean version strings in deployed builds.

Files causing -dirty

File Action
android/.project Add to .gitignore (Android Studio IDE file)
android/.settings/ Add to .gitignore (Android Studio IDE settings dir)
dist-solar/ Add to .gitignore (build output)
vite.config.ts.backup Delete — do not commit backups
vite.config.inline.ts Decide: commit as intentional split config OR delete if superseded
vite.config.main.ts Decide: commit if this is the new singlefile build config OR delete
vite.config.solar.ts Decide: commit if this splits the solar-system-2d build OR delete

Context

vite-plugin-singlefile was added to package.json to address the Forgejo Pages MIME-type issue where .js/.css files are served as text/plain. If the vite config split is the intended approach, commit all three configs and remove the backup. If not, revert to single vite.config.ts.

Acceptance

  • git status shows no untracked files or modifications after cleanup
  • npm run build produces version string without -dirty
  • .gitignore covers android/.project, android/.settings/, dist-solar/
  • No .backup files in the repo

Assigned to

Kimi

## Problem The app currently builds as `v1.3.225-dirty` because several untracked and modified files are present in the working tree. This prevents clean version strings in deployed builds. ## Files causing `-dirty` | File | Action | |---|---| | `android/.project` | Add to `.gitignore` (Android Studio IDE file) | | `android/.settings/` | Add to `.gitignore` (Android Studio IDE settings dir) | | `dist-solar/` | Add to `.gitignore` (build output) | | `vite.config.ts.backup` | Delete — do not commit backups | | `vite.config.inline.ts` | Decide: commit as intentional split config OR delete if superseded | | `vite.config.main.ts` | Decide: commit if this is the new singlefile build config OR delete | | `vite.config.solar.ts` | Decide: commit if this splits the solar-system-2d build OR delete | ## Context `vite-plugin-singlefile` was added to `package.json` to address the Forgejo Pages MIME-type issue where `.js`/`.css` files are served as `text/plain`. If the vite config split is the intended approach, commit all three configs and remove the backup. If not, revert to single `vite.config.ts`. ## Acceptance - `git status` shows no untracked files or modifications after cleanup - `npm run build` produces version string without `-dirty` - `.gitignore` covers `android/.project`, `android/.settings/`, `dist-solar/` - No `.backup` files in the repo ## Assigned to Kimi
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
gi7b/Mneme-CE-World-Generator#1
No description provided.