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:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-06-10 00:09:07 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-06-10 00:09:07 +0300
commit76e4504156ece9b9126ad8edb035d7c4b4cd7751 (patch)
tree48d30ffe92ab15c96b23c4f976a45ce9a8e606cd /scripts/frontend
parentf8b0e661f885d8d7df2414eaf4a465df0133a626 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/frontend')
-rw-r--r--scripts/frontend/postinstall.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/frontend/postinstall.js b/scripts/frontend/postinstall.js
index 94977e459e3..50052bb806e 100644
--- a/scripts/frontend/postinstall.js
+++ b/scripts/frontend/postinstall.js
@@ -1,3 +1,4 @@
+const { execSync } = require('child_process');
const chalk = require('chalk');
// check that fsevents is available if we're on macOS
@@ -20,3 +21,8 @@ if (process.platform === 'darwin') {
}
console.log(`${chalk.green('success')} Dependency postinstall check passed.`);
+
+// Apply any patches to our packages
+// See https://gitlab.com/gitlab-org/gitlab/-/issues/336138
+execSync('node_modules/.bin/patch-package --error-on-fail');
+console.log(`${chalk.green('success')} Packages successfully patched.`);