Skip to content

refactor: migrate military generator#1330

Open
SheepFromHeaven wants to merge 7 commits intoAzgaar:masterfrom
SheepFromHeaven:refactor/migrate-military-generator
Open

refactor: migrate military generator#1330
SheepFromHeaven wants to merge 7 commits intoAzgaar:masterfrom
SheepFromHeaven:refactor/migrate-military-generator

Conversation

@SheepFromHeaven
Copy link
Collaborator

Description

Type of change

  • Bug fix
  • New feature
  • Refactoring / style
  • Documentation update / chore
  • Other (please describe)

Versioning

  • Version is updated
  • Changed files hash is updated

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Migrates the military generator from the legacy compiled public/modules script into the TypeScript modules pipeline.

Changes:

  • Adds a new src/modules/military-generator.ts module and registers it in src/modules/index.ts
  • Updates State typing to support military generation scratch fields
  • Removes the legacy <script> include and deletes the old public/modules/military-generator.js

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
src/modules/states-generator.ts Extends State interface to support military generation fields
src/modules/military-generator.ts New TS implementation of military generation + global exposure via window.Military
src/modules/index.ts Ensures the new generator module is loaded by the modules entrypoint
src/index.html Removes legacy modules/military-generator.js script include
public/modules/military-generator.js Deletes legacy generated JS implementation

@netlify
Copy link

netlify bot commented Feb 22, 2026

Deploy Preview for afmg ready!

Name Link
🔨 Latest commit 47c52c5
🔍 Latest deploy log https://app.netlify.com/projects/afmg/deploys/69a33aff27aed10008cb519e
😎 Deploy Preview https://deploy-preview-1330--afmg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Azgaar Azgaar self-requested a review February 23, 2026 11:46
SheepFromHeaven and others added 4 commits February 28, 2026 10:04
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@SheepFromHeaven SheepFromHeaven marked this pull request as ready for review February 28, 2026 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants