Skip to content

chore(tools): remove dead local Nx plugins superseded by @nx-devkit/typescript - #228

Merged
ThePlenkov merged 2 commits into
abapify:mainfrom
ThePlenkov:chore/nx-devkit-cleanup
Sep 30, 2026
Merged

ThePlenkov merged 2 commits into
abapify:mainfrom
ThePlenkov:chore/nx-devkit-cleanup

Conversation

@ThePlenkov

@ThePlenkov ThePlenkov commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

User description

Summary

  • Delete 4 dead local Nx plugins (tools/nx-tsdown, tools/nx-vitest, tools/nx-typecheck, tools/nx-sync) — all build/test/typecheck inference comes from @nx-devkit/typescript since chore(nx): migrate to @nx-devkit/typescript plugin #221
  • Bump @nx-devkit/typescript 0.2.8 → 0.2.17
  • Keep tools/nx-npm-trust — its npm-trust-check target is still wired into publish.yml preflight and has no npm-package equivalent
  • Drop stale tsconfig.json project references, dead tools/eslint-rules lint input, and update README / agent rules to name the plugin actually in use

Test plan

  • nx show projects — 46 projects, inference intact
  • nx run-many -t build test --projects=adt-lint — green
  • CI

Closes bead ac-fvl.

Generated with Devin


Summary by cubic

Deletes four dead local Nx plugins (tools/nx-tsdown, tools/nx-vitest, tools/nx-typecheck, tools/nx-sync) whose build, test, and typecheck target inference is now handled by @nx-devkit/typescript, and bumps that dependency from 0.2.8 to 0.2.17. Also drops the stale tools/eslint-rules lint input and outdated tsconfig.json project references, updates the README and agent rules to name the plugin actually in use, removes the one-off discrepancy_report.md audit, and ignores the .beads.gate.lock runtime artifact.

Refactors

  • tools/nx-npm-trust is kept because its npm-trust-check target is still wired into the publish.yml preflight and has no equivalent in @nx-devkit/typescript.

Written for commit dfa200c. Summary will update on new commits.

Review in cubic


CodeAnt-AI Description

Replace redundant local Nx plugins with the shared TypeScript inference plugin

What Changed

  • Removed the unused local plugins for build, test, type checking, and nested workspace syncing
  • Nx continues to infer build, test, and type-check targets through @nx-devkit/typescript
  • Updated documentation and project configuration to reflect the supported tooling
  • Updated @nx-devkit/typescript to version 0.2.17 and removed stale project references and lint inputs

Impact

✅ Consistent Nx build, test, and type-check targets
✅ Fewer obsolete workspace tools to maintain
✅ Clearer Nx setup documentation

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

…ypescript

After the abapify#221 migration, all build/test inference comes from
@nx-devkit/typescript (tsdown.config.ts -> build, vitest.config.ts ->
test, tsc -> typecheck). The local plugin implementations were no
longer registered in nx.json and are deleted:

- tools/nx-tsdown, tools/nx-vitest, tools/nx-typecheck, tools/nx-sync

tools/nx-npm-trust stays — its npm-trust-check target is still wired
into publish.yml preflight, and @nx-devkit/prepare-for-release does
not cover the read-only trust/pack checks.

Also:
- bump @nx-devkit/typescript 0.2.8 -> 0.2.17
- drop stale tsconfig project references and the dead
  tools/eslint-rules lint input (directory does not exist)
- update README, ts-xsd AGENTS, and nx-monorepo-setup rule to name
  the inference plugin actually in use

Verified: nx show projects (46), nx build+test @abapify/adt-lint.

Closes bead ac-fvl.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@codeant-ai

codeant-ai Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

🤖 CodeAnt AI — Review Status

Status Commit Started (UTC) Finished (UTC)
✅ Reviewed your PR e91cd4b Sep 29, 2026 · 23:11 23:13

@netlify

netlify Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for adt-cli canceled.

Name Link
🔨 Latest commit dfa200c
🔍 Latest deploy log https://app.netlify.com/projects/adt-cli/deploys/6abc4a702ec10900085b81df

@codeant-ai

codeant-ai Bot commented Sep 29, 2026

Copy link
Copy Markdown

Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@coderabbitai

coderabbitai Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 18 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 3f052da2-61ed-4c72-9ca4-e07b8e57fc14

📥 Commits

Reviewing files that changed from the base of the PR and between 6da7aaf and dfa200c.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (40)
  • .agents/rules/nx/nx-monorepo-setup.md
  • .gitignore
  • README.md
  • discrepancy_report.md
  • nx.json
  • package.json
  • packages/ts-xsd/AGENTS.md
  • tools/nx-sync/README.md
  • tools/nx-sync/generators.json
  • tools/nx-sync/package.json
  • tools/nx-sync/project.json
  • tools/nx-sync/src/generators/nested-sync/generator.ts
  • tools/nx-sync/src/generators/nested-sync/schema.d.ts
  • tools/nx-sync/src/generators/nested-sync/schema.json
  • tools/nx-sync/src/index.ts
  • tools/nx-sync/tsconfig.json
  • tools/nx-sync/tsconfig.lib.json
  • tools/nx-tsdown/README.md
  • tools/nx-tsdown/package.json
  • tools/nx-tsdown/project.json
  • tools/nx-tsdown/scripts/build.sh
  • tools/nx-tsdown/src/index.ts
  • tools/nx-tsdown/src/plugin.ts
  • tools/nx-tsdown/tsconfig.json
  • tools/nx-tsdown/tsconfig.lib.json
  • tools/nx-typecheck/README.md
  • tools/nx-typecheck/package.json
  • tools/nx-typecheck/project.json
  • tools/nx-typecheck/src/index.ts
  • tools/nx-typecheck/src/plugin.ts
  • tools/nx-typecheck/tsconfig.json
  • tools/nx-typecheck/tsconfig.lib.json
  • tools/nx-vitest/README.md
  • tools/nx-vitest/package.json
  • tools/nx-vitest/project.json
  • tools/nx-vitest/src/index.ts
  • tools/nx-vitest/src/plugin.ts
  • tools/nx-vitest/tsconfig.json
  • tools/nx-vitest/tsconfig.lib.json
  • tsconfig.json

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@baz-reviewer

baz-reviewer Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Review this PR on Baz

Merger

Needs Review

Non-trivial Nx plugin removals, dependency changes, and lockfile updates have no recorded CI run. The claimed build/test/typecheck inference therefore lacks automated verification before merge.

@codeant-ai codeant-ai Bot added the size:XS This PR changes 0-9 lines, ignoring generated files label Sep 29, 2026

@amazon-q-developer amazon-q-developer Bot 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.

This is a clean refactoring PR that successfully consolidates build/test/typecheck inference to @nx-devkit/typescript by removing dead local Nx plugins. The changes are consistent across documentation, configuration, and dependency updates. The version bump from 0.2.8 to 0.2.17 and the removal of stale tsconfig.json references complete the cleanup appropriately. No defects identified that would block merge.


You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.


⚠️ This PR contains more than 30 files. Amazon Q is better at reviewing smaller PRs, and may miss issues in larger changesets.

@socket-security

socket-security Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​nx-devkit/​typescript@​0.2.8 ⏵ 0.2.1777 -110010095 +2100

View full report

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@gitar-bot

gitar-bot Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Important

You are using the Gitar free plan. Upgrade to unlock code review, CI analysis, auto-apply, custom automations, and more.

Gitar

discrepancy_report.md was a one-off May audit (Jules). Its findings
are now either resolved by the spec reconciliation work (abapify#227) or
tracked as live beads: thin-adapter violation in sap_connect (ac-b5o)
and the adt-cli dependency leak in adt-mcp (ac-c07).

Also gitignore .beads.gate.lock — runtime artifact of the bead gate.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@sonarqubecloud

Copy link
Copy Markdown

@ThePlenkov
ThePlenkov merged commit 3571d0f into abapify:main Sep 30, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

baz: needs review size:XS This PR changes 0-9 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant