Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
fix: replace deprecated and broken package jest-plugin-filename with … (
Browse files Browse the repository at this point in the history
#273)

* fix: replace deprecated and broken package jest-plugin-filename with jest-watch-typeahead

* Removed dependency

---------

Co-authored-by: Philipp Hofmann <philipp.hofmann@commercetools.com>
  • Loading branch information
phofmann and phofmann authored May 11, 2023
1 parent 6629e49 commit 9ecef6b
Show file tree
Hide file tree
Showing 13 changed files with 154 additions and 57 deletions.
2 changes: 1 addition & 1 deletion packages/bundles-core/jest.eslint-graphql.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ module.exports = {
testPathIgnorePatterns: ['schema.graphql'],
moduleFileExtensions: ['graphql'],
testMatch: ['<rootDir>/**/*.graphql'],
watchPlugins: ['jest-plugin-filename'],
watchPlugins: ['jest-watch-typeahead/filename'],
};
2 changes: 1 addition & 1 deletion packages/bundles-core/jest.eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ module.exports = {
modulePathIgnorePatterns: ['dist', 'coverage'],
moduleFileExtensions: ['js'],
testMatch: ['<rootDir>/**/*.js'],
watchPlugins: ['jest-plugin-filename'],
watchPlugins: ['jest-watch-typeahead/filename'],
};
2 changes: 1 addition & 1 deletion packages/bundles-core/jest.stylelint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ module.exports = {
moduleFileExtensions: ['css'],
modulePathIgnorePatterns: ['dist', 'coverage'],
testMatch: ['<rootDir>/**/*.css'],
watchPlugins: ['jest-plugin-filename'],
watchPlugins: ['jest-watch-typeahead/filename'],
};
1 change: 0 additions & 1 deletion packages/bundles-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@
"graphql-tag": "2.12.6",
"jest": "27.5.1",
"jest-enzyme": "7.1.2",
"jest-plugin-filename": "0.0.1",
"jest-runner-eslint": "0.11.1",
"jest-runner-stylelint": "2.3.7",
"jest-validate": "27.5.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/bundles-dynamic/jest.eslint-graphql.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ module.exports = {
testPathIgnorePatterns: ['schema.graphql'],
moduleFileExtensions: ['graphql'],
testMatch: ['<rootDir>/**/*.graphql'],
watchPlugins: ['jest-plugin-filename'],
watchPlugins: ['jest-watch-typeahead/filename'],
};
2 changes: 1 addition & 1 deletion packages/bundles-dynamic/jest.eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ module.exports = {
modulePathIgnorePatterns: ['dist', 'packages-from-mc', 'coverage', 'public'],
moduleFileExtensions: ['js'],
testMatch: ['<rootDir>/**/*.js'],
watchPlugins: ['jest-plugin-filename'],
watchPlugins: ['jest-watch-typeahead/filename'],
};
2 changes: 1 addition & 1 deletion packages/bundles-dynamic/jest.stylelint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ module.exports = {
moduleFileExtensions: ['css'],
modulePathIgnorePatterns: ['dist', 'packages-from-mc', 'coverage', 'public'],
testMatch: ['<rootDir>/**/*.css'],
watchPlugins: ['jest-plugin-filename'],
watchPlugins: ['jest-watch-typeahead/filename'],
};
2 changes: 1 addition & 1 deletion packages/bundles-dynamic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@
"install-peers": "1.0.4",
"jest": "27.5.1",
"jest-enzyme": "7.1.2",
"jest-plugin-filename": "0.0.1",
"jest-runner-eslint": "0.11.1",
"jest-runner-stylelint": "2.3.7",
"jest-validate": "27.5.1",
"jest-watch-typeahead": "^2.2.2",
"lint-staged": "11.2.6",
"prettier": "2.8.0",
"stylelint": "13.13.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/bundles-static/jest.eslint-graphql.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ module.exports = {
testPathIgnorePatterns: ['schema.graphql'],
moduleFileExtensions: ['graphql'],
testMatch: ['<rootDir>/**/*.graphql'],
watchPlugins: ['jest-plugin-filename'],
watchPlugins: ['jest-watch-typeahead/filename'],
};
2 changes: 1 addition & 1 deletion packages/bundles-static/jest.eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ module.exports = {
modulePathIgnorePatterns: ['dist', 'packages-from-mc', 'coverage', 'public'],
moduleFileExtensions: ['js'],
testMatch: ['<rootDir>/**/*.js'],
watchPlugins: ['jest-plugin-filename'],
watchPlugins: ['jest-watch-typeahead/filename'],
};
2 changes: 1 addition & 1 deletion packages/bundles-static/jest.stylelint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ module.exports = {
moduleFileExtensions: ['css'],
modulePathIgnorePatterns: ['dist', 'packages-from-mc', 'coverage', 'public'],
testMatch: ['<rootDir>/**/*.css'],
watchPlugins: ['jest-plugin-filename'],
watchPlugins: ['jest-watch-typeahead/filename'],
};
2 changes: 1 addition & 1 deletion packages/bundles-static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@
"graphql-tag": "2.12.6",
"jest": "27.5.1",
"jest-enzyme": "7.1.2",
"jest-plugin-filename": "0.0.1",
"jest-runner-eslint": "0.11.1",
"jest-runner-stylelint": "2.3.7",
"jest-validate": "27.5.1",
"jest-watch-typeahead": "^2.2.2",
"jscodeshift": "0.14.0",
"lint-staged": "11.2.6",
"prettier": "2.8.0",
Expand Down
Loading

1 comment on commit 9ecef6b

@vercel
Copy link

@vercel vercel bot commented on 9ecef6b May 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.