Skip to content
Snippets Groups Projects
Commit 015efb0f authored by Winnie Hellmann's avatar Winnie Hellmann Committed by Kushal Pandya
Browse files

Improve output for yarn integrity check

parent bc26349b
No related branches found
No related tags found
No related merge requests found
{
"private": true,
"scripts": {
"check-dependencies": "yarn check --integrity",
"check-dependencies": "scripts/frontend/check_dependencies.sh",
"clean": "rm -rf public/assets tmp/cache/*-loader",
"dev-server": "NODE_OPTIONS=\"--max-old-space-size=3584\" nodemon -w 'config/webpack.config.js' --exec 'webpack-dev-server --config config/webpack.config.js'",
"eslint": "eslint --max-warnings 0 --report-unused-disable-directives --ext .js,.vue .",
Loading
Loading
#!/usr/bin/env bash
if ! yarn check --integrity 2>&1 > /dev/null
then
echo
echo " $(tput setaf 1)yarn check --integrity$(tput sgr0) failed!"
echo " Your dependencies probably don't match the yarn.lock file."
echo " Please run $(tput setaf 2)yarn install$(tput sgr0) and try again."
echo
exit 1
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment