Skip to content

Merge indev -> Main#1

Merged
MooSaurus merged 14 commits intomainfrom
indev
Mar 17, 2025
Merged

Merge indev -> Main#1
MooSaurus merged 14 commits intomainfrom
indev

Conversation

@MooSaurus
Copy link
Copy Markdown
Collaborator

This pull request includes several significant changes to the project, focusing on adding build and launch configurations, updating the documentation, and enhancing configuration management. The most important changes include the addition of VSCode configurations, updates to the README.md, introduction of a new environment configuration file, modifications to the package.json scripts, and improvements to the configuration loading mechanism.

VSCode Configurations:

  • Added launch configurations for various build and run tasks in .vscode/launch.json. This includes commands for building, launching programs, and bundling for both Linux and Windows environments.
  • Added a build task configuration in .vscode/tasks.json to streamline the build process using npm commands.

Documentation Updates:

  • Updated README.md to include detailed instructions on building and publishing the project for both Linux and Windows platforms. This section also covers how to increment version numbers and create releases.

Configuration Management:

  • Introduced a new example environment configuration file local.env.example to guide users on setting up their environment variables for the project.
  • Enhanced the configuration loading mechanism by defining a ConfigTemplate type and a defaultConfig object in src/config.ts. This ensures a structured and default fallback configuration. [1] [2] [3]
  • Implemented a new configuration loader in src/configLoader.ts to read from the local.env file and merge it with the default configuration, providing validation for critical fields.

Package Scripts:

  • Updated package.json to include new scripts for building, bundling, and releasing the project. These scripts support both Linux and Windows environments and facilitate the creation of GitHub releases. [1] [2]

Codebase Simplification:

  • Removed unused import and simplified the autoCorrect function calls in src/anticheat_listener/anticheat_logs.ts. [1] [2]

@MooSaurus MooSaurus merged commit 6d44bbd into main Mar 17, 2025
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.

1 participant