bb-plane-fork/apps/web/core/components/dropdowns
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
..
cycle [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
member [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
module [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
project [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
state [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
buttons.tsx [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
constants.ts [WEB-5134] refactor: update web ESLint configuration and refactor imports to use type imports (#7957) 2025-10-14 16:45:07 +05:30
date-range.tsx [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
date.tsx [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
estimate.tsx [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
layout.tsx [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
merged-date.tsx [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
priority.tsx [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
types.d.ts [WEB-5134] refactor: update web ESLint configuration and refactor imports to use type imports (#7957) 2025-10-14 16:45:07 +05:30