@@ -21,16 +21,12 @@ gsub_file_content("../Gemfile.development_dependencies", /gem "shakapacker", "[^
21
21
gsub_file_content ( "../spec/dummy/package.json" , /"shakapacker": "[^"]*",/ , '"shakapacker": "6.6.0",' )
22
22
23
23
# 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[^"]*": "[^"]*",/ , "" )
26
25
gsub_file_content ( "../package.json" , /"globals": "[^"]*",/ , "" )
27
26
gsub_file_content ( "../package.json" , /"knip": "[^"]*",/ , "" )
28
27
gsub_file_content ( "../package.json" , /"publint": "[^"]*",/ , "" )
29
- gsub_file_content ( "../package.json" , /"typescript-eslint": "[^"]*",/ , "" )
30
28
gsub_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/[^"]*": "[^"]*",} , "" )
34
30
35
31
# Switch to the oldest supported React version
36
32
gsub_file_content ( "../package.json" , /"react": "[^"]*",/ , '"react": "16.14.0",' )
0 commit comments