Initialize NX and update dependencies with changelog and tests#277
Merged
flaviodelgrosso merged 14 commits intomasterfrom Apr 25, 2026
Merged
Initialize NX and update dependencies with changelog and tests#277flaviodelgrosso merged 14 commits intomasterfrom
flaviodelgrosso merged 14 commits intomasterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a major restructuring of the project, migrating from Turborepo to Nx for monorepo management, and updates related tooling, configurations, and workflows to align with Nx conventions. It also removes legacy files and updates dependency management, scripts, and project structure for improved maintainability and consistency.
Monorepo Management & Build System Migration:
Migrated the monorepo build system from Turborepo to Nx, including new Nx configuration files (
project.json), updated build scripts, and changes in dependency referencing to use Nx's workspace and catalog conventions. This is a breaking change and affects all build, serve, and deploy workflows. [1] [2] [3]Removed Turborepo-specific files and settings, such as the
apps/api/Dockerfile,.dockerignore, and related scripts, to fully transition to Nx. [1] [2]Tooling and Workflow Updates:
Updated CI workflow to use Nx commands for linting and typechecking, and removed steps related to environment preparation and legacy scripts.
Replaced the pre-commit hook to use a new
pnpm pre-commitscript instead oflint-staged, and removed the.lintstagedrcconfiguration. [1] [2]Added and updated configuration files for Prettier, EditorConfig, and VSCode, ensuring consistent code formatting and editor behavior across the team. [1] [2] [3] [4] [5] [6]
Codebase and Dependency Refactoring:
Updated dependency references in
apps/api/package.jsonto use Nx workspace conventions and removed obsolete or Turborepo-specific fields. Also updated the main entry point and cleaned up scripts.Refactored the Fastify app bootstrap process in
apps/api/src/app.tsto use a new default export and updated plugin/route registration for better compatibility with Nx.Documentation and Environment:
Updated the changelog to reflect the breaking change of migrating to Nx.
Updated
.env.exampleto include a missingBETTER_AUTH_URLvariable.Removed or Deprecated Files:
.github/copilot-instructions.mdfile and old VSCode/editor settings that are no longer relevant after the migration. [1] [2]Monorepo migration and build system:
project.json), updated dependency references, and breaking changes to build and serve workflows. [1] [2] [3]apps/api/Dockerfileand.dockerignore. [1] [2]Tooling and workflow updates:
Codebase refactoring:
apps/api/package.json.Documentation and environment:
.env.example. [1] [2]Removed/deprecated files: