bb-plane-fork/apps/web/core/lib
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
..
b-progress [WEB-5389] chore: enable progress bar for production builds and add logo spinner for hydration fallback (#8093) 2025-11-11 12:22:40 +05:30
polyfills Add codespell support (config, workflow to detect/not fix) and make it fix some typos (#7864) 2025-10-07 17:42:49 +05:30
wrappers [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
intercom-provider.tsx [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
local-storage.ts [WEB-5027] fix: replace lodash package with lodash-es (#7856) 2025-09-26 17:59:31 +05:30
posthog-provider.tsx [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30
posthog-view.tsx chore: format files using prettier (#7364) 2025-07-08 20:41:11 +05:30
store-context.tsx [WEB-5459] feat(codemods): add function declaration transformer with tests (#8137) 2025-11-20 17:39:40 +05:30