Read codemod target versions from workspace manifests at build time (#2419)

This commit is contained in:
Felix Weinberger 2026-07-02 16:01:32 +01:00 • committed by GitHub
commit 79dc162efc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,5 @@
---
'@modelcontextprotocol/codemod': patch
---
Read the v2 package versions the codemod writes into migrated `package.json` files directly from the workspace manifests at build time, replacing the committed generated `versions.ts` (which went stale after every release and made source builds write outdated versions).