lock ajv-keywords to 2.1.1

This commit is contained in:
Pirate Praveen 2018-03-21 21:51:46 +05:30
parent 2cada181ee
commit b595094f3f
2 changed files with 3 additions and 2 deletions

View file

@ -1,10 +1,11 @@
--- a/package.json
+++ b/package.json
@@ -13,6 +13,7 @@
@@ -13,6 +13,8 @@
"webpack-prod": "NODE_ENV=production webpack --config config/webpack.config.js"
},
"dependencies": {
+ "yarn": "^1.5.1",
+ "ajv-keywords": "2.1.1",
"autosize": "^4.0.0",
"axios": "^0.17.1",
"babel-core": "^6.26.0",

View file

@ -30,7 +30,7 @@ chmod 0700 ${gitlab_data_dir}/.gitlab_shell_secret
echo "Installing node modules..."
runuser -u ${gitlab_user} -- sh -c 'install -d /var/lib/gitlab/node_modules'
runuser -u ${gitlab_user} -- sh -c 'npm install yarn'
runuser -u ${gitlab_user} -- sh -c 'npm install yarn ajv-keywords@2.1.1'
runuser -u ${gitlab_user} -- sh -c 'node_modules/.bin/yarn install'
echo "Precompiling locales..."