Skip to content

feat: boilerplate and dependencies maintenance (MAPCO-10114)#63

Merged
razbroc merged 10 commits into
masterfrom
feat/infrastructure-boilerplate-maintenance
Jun 21, 2026
Merged

feat: boilerplate and dependencies maintenance (MAPCO-10114)#63
razbroc merged 10 commits into
masterfrom
feat/infrastructure-boilerplate-maintenance

Conversation

@CL-SHLOMIKONCHA

@CL-SHLOMIKONCHA CL-SHLOMIKONCHA commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

This pull request introduces significant improvements to configuration management, tracing, and metrics handling, as well as updates to dependencies and build tooling. The main changes include migrating to a new configuration system using @map-colonies/config, updating tracing to use @map-colonies/tracing, removing legacy metrics support, and modernizing the build and linting setup. These changes streamline the codebase, improve maintainability, and align with newer package versions and best practices.

Configuration and Tracing Modernization:

  • Migrated configuration handling to use @map-colonies/config and @map-colonies/schemas, replacing the legacy config package and updating all related code to use typed configuration access via the new ConfigType interface (src/common/config.ts, src/containerConfig.ts). [1] [2] [3]
  • Updated tracing implementation to use @map-colonies/tracing, introducing a factory pattern for initialization and access, and removing legacy metrics integration (src/common/tracing.ts, src/containerConfig.ts). [1] [2]

Metrics and Helm Cleanup:

  • Removed metrics configuration and related Helm chart values and templates, reflecting the deprecation of legacy metrics support (helm/templates/configmap.yaml, helm/templates/deployment.yaml, helm/values.yaml). [1] [2] [3] [4] [5] [6]
  • Added new configManagement values in Helm for improved configuration control (helm/templates/configmap.yaml, helm/values.yaml). [1] [2]

Dependency and Build Tooling Updates:

  • Updated dependencies to latest versions, including @map-colonies/error-express-handler, @map-colonies/express-access-log-middleware, @map-colonies/eslint-config, and others; added new dependencies for SWC, cross-env, tsc-alias, and eslint-plugin-jest (package.json). [1] [2]
  • Added SWC configuration for TypeScript and decorators support (.swcrc).
  • Enhanced build scripts to include SWC, tsc-alias, and stricter type checks; updated start scripts to use new instrumentation entrypoint (package.json, Dockerfile). [1] [2]

Linting and Testing Improvements:

  • Introduced a new ESLint configuration using @map-colonies/eslint-config, eslint-plugin-jest, and improved rule management for test files (eslint.config.mjs).
  • Updated commitlint and prettier configurations to latest standards (commitlint.config.json, package.json). [1] [2]

Miscellaneous Refinements:

  • Refactored configuration files for clarity and correctness, including renaming tracing properties and removing unused metrics sections (config/custom-environment-variables.json, config/default.json). [1] [2]
  • Improved OpenAPI linter configuration and plugin handling in redocly.yaml. [1] [2] [3]

These changes collectively modernize the project’s infrastructure and codebase, making it more robust and easier to maintain.

Question Answer
Bug fix
New feature
Breaking change
Deprecations
Documentation
Tests added
Chore

@CL-SHLOMIKONCHA CL-SHLOMIKONCHA changed the title feat: boilerplate and dependencies maintenance feat: boilerplate and dependencies maintenance (MAPCO-10114) Mar 11, 2026
@CL-SHLOMIKONCHA CL-SHLOMIKONCHA requested a review from razbroc March 11, 2026 14:27

@razbroc razbroc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

kk

Comment thread config/custom-environment-variables.json Outdated
Comment thread config/default.json
Comment thread helm/templates/configmap.yaml
Comment thread tests/mocks/configMock.ts Outdated
Comment thread tests/mocks/configMock.ts Outdated
Comment thread tests/configurations/integration/jest.config.js
Comment thread .swcrc
Comment thread eslint.config.mjs
Comment thread src/common/constants.ts Outdated
Comment thread helm/values.yaml
Comment thread src/common/interfaces.ts Outdated
Comment thread src/instrumentation.mts
Comment thread eslint.config.mjs
Comment thread package.json Outdated
Comment thread package.json Outdated
Comment thread package.json
Comment thread package.json Outdated
Comment thread package.json Outdated
Comment thread package.json Outdated
Comment thread package.json Outdated
Comment thread package.json Outdated
Comment thread package.json
Comment thread package.json
@razbroc razbroc merged commit b7df3f6 into master Jun 21, 2026
5 checks passed
@razbroc razbroc deleted the feat/infrastructure-boilerplate-maintenance branch June 21, 2026 13:53
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