From 3902d464d6045c2f5f6b687c0acf3254d7458928 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Mon, 1 Jun 2020 21:08:09 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- config/webpack.vendor.config.js | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'config/webpack.vendor.config.js') diff --git a/config/webpack.vendor.config.js b/config/webpack.vendor.config.js index 3ac1121fca4..548eca4200f 100644 --- a/config/webpack.vendor.config.js +++ b/config/webpack.vendor.config.js @@ -65,7 +65,23 @@ module.exports = { }), new YarnCheck({ rootDirectory: ROOT_PATH, - exclude: /ts-jest/, + exclude: new RegExp( + [ + /* + chokidar has a newer version which do not depend on fsevents, + is faster and only compatible with newer node versions (>=8) + + Their actual interface remains the same and we can safely _force_ + newer versions to get performance and security benefits. + + This can be removed once all dependencies are up to date: + https://gitlab.com/gitlab-org/gitlab/-/issues/219353 + */ + 'chokidar', + // We are ignoring ts-jest, because we force a newer version, compatible with our current jest version + 'ts-jest', + ].join('|'), + ), forceKill: true, }), ], -- cgit v1.2.3