Skip to content

Port from FF client to XNA#7

Open
CnCRAZER wants to merge 119 commits into
masterfrom
feature/port-to-xna
Open

Port from FF client to XNA#7
CnCRAZER wants to merge 119 commits into
masterfrom
feature/port-to-xna

Conversation

@CnCRAZER
Copy link
Copy Markdown

@CnCRAZER CnCRAZER commented Oct 26, 2025

At the moment this is still a draft

Todo:

  • Finalize layout and verify all resolutions work
  • Add updater to client
  • Add workflows to auto release and publish packages
  • Transfer maps from FF's client
  • Add missions
  • Import tools from YR repo to auto update mpmaps.ini
  • Merge changes from Update client config #2

Add a set of tools workspace packages and modernize the toolchain and CI. Introduces package.json files for core, build-installer, map-name-case-fix, mix-packer, mpmaps-updater, publish-release, release-asset-uploader, release-tag-validator, and version-writer; adds a tools README, Prettier config/ignore, and updates tools/package-lock.json to lockfileVersion 3 with workspace entries. Update code to ESM-friendly patterns (use import.meta.url + path.resolve), switch internal imports to package names (e.g. cncnet-core, mpmaps-updater), and refactor utilities: mix-packer now parses CLI args, cleans up intermediate .mix files, and ExFS gains deleteAllMix. CI workflows updated to set up Node.js 24 with npm caching and run npm ci --omit=dev in the tools directory. These changes prepare the repository for modular tool packages and newer Node/packaging conventions.
Replace imports of Context from '@actions/github/lib/context' with the exported context (context as defaultContext) from '@actions/github' and update method signatures and static run callers to use the defaultContext. Standardize parameter types to typeof defaultContext across services (publish-release, release-asset-uploader, release-tag-validator). In PublishReleaseService, replace usage of this.options with this.optionValues to align with the AbstractRepoService API. Also change Twig import style in build-installer.service.ts from `import * as Twig` to `import Twig`.
@MahBoiDeveloper MahBoiDeveloper marked this pull request as ready for review April 20, 2026 15:17
Update client binaries, remove redalertconfig.exes

Co-Authored-By: CO2 <233559692+CO2-code@users.noreply.github.com>
* delete useless stuff

* Add Popular maps
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.

3 participants