@@ -21,16 +21,12 @@ gsub_file_content("../Gemfile.development_dependencies", /gem "shakapacker", "[^
2121gsub_file_content ( "../spec/dummy/package.json" , /"shakapacker": "[^"]*",/ , '"shakapacker": "6.6.0",' )
2222
2323# The below packages don't work on the oldest supported Node version and aren't needed there anyway
24- gsub_file_content ( "../package.json" , /"eslint": "[^"]*",/ , "" )
25- gsub_file_content ( "../package.json" , /"eslint-plugin-jest": "[^"]*",/ , "" )
24+ gsub_file_content ( "../package.json" , /"[^"]*eslint[^"]*": "[^"]*",/ , "" )
2625gsub_file_content ( "../package.json" , /"globals": "[^"]*",/ , "" )
2726gsub_file_content ( "../package.json" , /"knip": "[^"]*",/ , "" )
2827gsub_file_content ( "../package.json" , /"publint": "[^"]*",/ , "" )
29- gsub_file_content ( "../package.json" , /"typescript-eslint": "[^"]*",/ , "" )
3028gsub_file_content ( "../package.json" , %r{"@arethetypeswrong/cli": "[^"]*",} , "" )
31- gsub_file_content ( "../package.json" , %r{"@eslint/compat": "[^"]*",} , "" )
32- gsub_file_content ( "../package.json" , %r{"@testing-library/dom": "[^"]*",} , "" )
33- gsub_file_content ( "../package.json" , %r{"@testing-library/react": "[^"]*",} , "" )
29+ gsub_file_content ( "../package.json" , %r{"@testing-library/[^"]*": "[^"]*",} , "" )
3430
3531# Switch to the oldest supported React version
3632gsub_file_content ( "../package.json" , /"react": "[^"]*",/ , '"react": "16.14.0",' )
0 commit comments