Read codemod target versions from workspace manifests at build time (#2419)
This commit is contained in:
parent
ddf6cc1d73
commit
79dc162efc
1 changed files with 27 additions and 49 deletions
5
.changeset/codemod-versions-from-manifests.md
Normal file
5
.changeset/codemod-versions-from-manifests.md
Normal 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).
|
||||
Loading…
Reference in a new issue