✨ This workspace has been generated by Nx, Smart Monorepos · Fast CI. ✨
AlgoNx is a monorepo workspace containing multiple projects focused on algorithmic problem-solving. It includes solutions for LeetCode problems and Project Euler challenges.
- leet-code: Contains solutions for LeetCode problems.
- euler-project: Contains solutions for Project Euler challenges.
- Clone the repository
- Install dependencies:
pnpm install
To run a specific project, use the following Nx command:
nx serve <project-name>
For example:
nx serve leet-code
nx serve euler-project
To run tests for a specific project, use the following command:
nx test <project-name>
For example:
nx test leet-code
nx test euler-project
nx build <project-name>
: Build the specified projectnx lint <project-name>
: Lint the specified projectnx test <project-name>
: Run tests for the specified projectnx serve <project-name>
: Serve the specified projectnx graph
: Visualize the project dependency graphnx affected:test
: Run tests for affected projectsnx affected:lint
: Lint affected projectsnx affected:build
: Build affected projects
apps/
: Contains the main application code for each projectlibs/
: Shared libraries (if any)tools/
: Custom scripts and tools
- Create a new branch for your feature or bugfix
- Make your changes
- Run tests:
nx affected:test
- Push your changes and create a pull request