Skip to content

Migrate to Nx monorepo with create-eslint-config package#50

Merged
hanna-skryl merged 21 commits intomainfrom
nx-monorepo-migration
Apr 13, 2026
Merged

Migrate to Nx monorepo with create-eslint-config package#50
hanna-skryl merged 21 commits intomainfrom
nx-monorepo-migration

Conversation

@hanna-skryl
Copy link
Copy Markdown
Collaborator

@hanna-skryl hanna-skryl commented Apr 7, 2026

Closes #46

Summary

  • Convert repository to Nx monorepo with two packages: @code-pushup/eslint-config (existing) and @code-pushup/create-eslint-config (new, coming soon)
  • Configure Nx to orchestrate tasks (test, lint, typecheck, build, docs) with caching
  • Replace release-it with Nx releases
  • Update CI pipeline to use nx affected for checking affected projects
  • Set up Commitlint and Commitizen for conventional commit enforcement
  • Add monorepo documentation (root README, CONTRIBUTING.md)

Note

The npx nx g @nx/workspace:convert-to-monorepo generator did not produce a usable result for this repository (mangled package name, incomplete file movement, nested scope directory). The monorepo structure was created manually instead.

@hanna-skryl hanna-skryl self-assigned this Apr 7, 2026
@hanna-skryl hanna-skryl marked this pull request as ready for review April 7, 2026 15:48
@hanna-skryl hanna-skryl requested a review from matejchalk April 7, 2026 15:48
Comment thread .github/workflows/ci.yml Outdated
Comment thread nx.json
Comment thread nx.json Outdated
Comment thread packages/create-eslint-config/project.json
Comment thread packages/create-eslint-config/eslint.config.js
Comment thread packages/eslint-config/tests/package.json.spec.js Outdated
Comment thread packages/eslint-config/tests/helpers/lint-utils.js
Comment thread packages/eslint-config/README.md Outdated
Comment thread packages/create-eslint-config/package.json Outdated
@hanna-skryl hanna-skryl requested a review from matejchalk April 9, 2026 19:01
Comment thread eslint.config.js
@hanna-skryl hanna-skryl requested a review from matejchalk April 10, 2026 19:25
@hanna-skryl hanna-skryl merged commit aae8ff6 into main Apr 13, 2026
8 checks passed
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.

Migrate to monorepo with new @code-pushup/create-eslint-config package

2 participants