diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-10 00:09:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-10 00:09:07 +0300 |
commit | 76e4504156ece9b9126ad8edb035d7c4b4cd7751 (patch) | |
tree | 48d30ffe92ab15c96b23c4f976a45ce9a8e606cd /scripts/frontend | |
parent | f8b0e661f885d8d7df2414eaf4a465df0133a626 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/frontend')
-rw-r--r-- | scripts/frontend/postinstall.js | 6 |
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.`); |