Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config/webpack.vendor.config.js')
-rw-r--r--config/webpack.vendor.config.js18
1 files changed, 17 insertions, 1 deletions
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,
}),
],