File tree Expand file tree Collapse file tree
react-19-migration-recipe
react-to-react-dom/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,7 +112,12 @@ See [react-prop-types-typescript](https://app.codemod.com/registry/react-prop-ty
112112- [ ` react-to-react-dom ` ] ( https://app.codemod.com/registry/react-to-react-dom )
113113- [ ` react-19-remove-context-provider ` ] ( https://app.codemod.com/registry/react-19-remove-context-provider )
114114- [ ` react-19-remove-forward-ref ` ] ( https://app.codemod.com/registry/react-19-remove-forward-ref )
115+ - [ ` react-19-remove-legacy-context ` ] ( https://app.codemod.com/registry/react-19-remove-legacy-context )
116+ - [ ` react-19-remove-memoization ` ] ( https://app.codemod.com/registry/react-19-remove-memoization )
115117- [ ` react-rename-unsafe-lifecycles ` ] ( https://app.codemod.com/registry/react-rename-unsafe-lifecycles )
118+ - [ ` react-19-replace-create-factory ` ] ( https://app.codemod.com/registry/react-19-replace-create-factory )
119+ - [ ` react-19-replace-default-props ` ] ( https://app.codemod.com/registry/react-19-replace-default-props )
120+ - [ ` react-19-replace-react-test-renderer-import ` ] ( https://app.codemod.com/registry/react-19-replace-react-test-renderer-import )
116121- [ ` react-sort-comp ` ] ( https://app.codemod.com/registry/react-sort-comp )
117122- [ ` react-update-react-imports ` ] ( https://app.codemod.com/registry/react-update-react-imports )
118123
Original file line number Diff line number Diff line change 11{
22 "name" : " react-19-migration-recipe" ,
3- "version" : " 0.1.4 " ,
3+ "version" : " 0.1.5 " ,
44 "description" : " Run all React 19 migration codemods in sequence" ,
55 "type" : " module" ,
66 "scripts" : {
77 "test" : " node --test ./scripts/metadata-tests.mjs" ,
88 "check-types" : " node --check ./scripts/metadata-tests.mjs"
99 },
10- "private" : true ,
1110 "license" : " MIT"
1211}
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ function expectFailure(input, pattern) {
4343 const result = runCodemod ( input ) ;
4444 const combined = `${ result . stdout } \n${ result . stderr } ` ;
4545 assert . match ( combined , pattern ) ;
46- assert . match ( combined , / F a i l e d t o e x e c u t e c o d e m o d | I n i t i a l i z a t i o n F a i l e d / ) ;
46+ assert . match ( combined , / F a i l e d t o e x e c u t e c o d e m o d | I n i t i a l i z a t i o n F a i l e d | W o r k f l o w f a i l e d a f t e r | c o d e m o d : : r u n t i m e : : j a v a s c r i p t / ) ;
4747}
4848
4949test ( "throws on conflicting ReactDOM binding" , ( ) => {
You can’t perform that action at this time.
0 commit comments