Commit ce1531bf authored by Lukas Eipert's avatar Lukas Eipert

Force newer versions of chokidar

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

It should also alleviate the problem of:
https://gitlab.com/gitlab-org/gitlab-development-kit/-/issues/765
parent ddab0efc
......@@ -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,
}),
],
......
......@@ -211,8 +211,9 @@
"bootstrap-vue": "https://docs.gitlab.com/ee/development/fe_guide/dependencies.md#bootstrapvue"
},
"resolutions": {
"vue-jest/ts-jest": "24.0.0",
"monaco-editor": "0.18.1"
"chokidar": "^3.4.0",
"monaco-editor": "0.18.1",
"vue-jest/ts-jest": "24.0.0"
},
"engines": {
"node": ">=10.13.0",
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment