0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00
Commit graph

3 commits

Author SHA1 Message Date
Ward Peeters
0dd734d829
feat(config): enforce node: prefix for Node.js built-in imports (#10625) 2025-11-28 14:05:35 +01:00
Lennart
c584f9a633
feat(codemod): Add more codemods (#9782) 2025-11-05 17:53:54 -08:00
Lennart
91ff0460b9
feat: Add codemod package (#9579)
## Description

Add a `@mastra/codemod` package for easier migrations

## Related Issue(s)

<!-- Link to the issue(s) this PR addresses, using hashtag notation:
#123 -->

## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [X] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [ ] Test update

## Checklist

- [ ] I have made corresponding changes to the documentation (if
applicable)
- [X] I have added tests that prove my fix is effective or that my
feature works


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* New codemod CLI with dry-run/print/verbose options, two initial
codemods (import migrations, runtime-context rename), scaffold command,
and helper utilities for transforms and comment insertion
* **Documentation**
* Comprehensive README with quick start, CLI usage, available codemods,
contributing and testing guides
* **Tests**
* Unit and E2E tests with fixtures and test utilities validating codemod
behavior
* **Chores**
* Build, TypeScript, test, and lint configs added for the new package;
package added with initial changeset declaration
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-11-04 14:37:44 -08:00