bb-plane-fork/packages
Aaron 83fdebf64d
[WEB-5459] feat(codemods): add function declaration transformer with tests (#8137)
- Add jscodeshift-based codemod to convert arrow function components to function declarations
- Support React.FC, observer-wrapped, and forwardRef components
- Include comprehensive test suite covering edge cases
- Add npm script to run transformer across codebase
- Target only .tsx files in source directories, excluding node_modules and declaration files

* [WEB-5459] chore: updates after running codemod

---------

Co-authored-by: sriramveeraghanta <veeraghanta.sriram@gmail.com>
2025-11-20 17:39:40 +05:30
..
codemods [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
constants chore: use oxc tooling to speed up prettier (#8117) 2025-11-20 17:30:27 +05:30
decorators chore: use oxc tooling to speed up prettier (#8117) 2025-11-20 17:30:27 +05:30
editor [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
eslint-config [WEB-5416] fix: Use proper import syntax (#8105) 2025-11-13 17:41:06 +05:30
hooks chore: use oxc tooling to speed up prettier (#8117) 2025-11-20 17:30:27 +05:30
i18n [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
logger chore: use oxc tooling to speed up prettier (#8117) 2025-11-20 17:30:27 +05:30
propel [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
services chore: use oxc tooling to speed up prettier (#8117) 2025-11-20 17:30:27 +05:30
shared-state chore: use oxc tooling to speed up prettier (#8117) 2025-11-20 17:30:27 +05:30
tailwind-config chore: version bump 2025-10-21 19:14:43 +05:30
types chore: use oxc tooling to speed up prettier (#8117) 2025-11-20 17:30:27 +05:30
typescript-config chore: version bump 2025-10-21 19:14:43 +05:30
ui [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
utils chore: use oxc tooling to speed up prettier (#8117) 2025-11-20 17:30:27 +05:30