Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
015efb0f
Commit
015efb0f
authored
Sep 03, 2019
by
Winnie Hellmann
Committed by
Kushal Pandya
Sep 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve output for yarn integrity check
parent
bc26349b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
package.json
package.json
+1
-1
scripts/frontend/check_dependencies.sh
scripts/frontend/check_dependencies.sh
+11
-0
No files found.
package.json
View file @
015efb0f
{
"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 ."
,
...
...
scripts/frontend/check_dependencies.sh
0 → 100755
View file @
015efb0f
#!/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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment