repo.or.cz
/
gitter.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'hotfix/21.56.9' into master
[gitter.git]
/
build-scripts
/
upgrade-eslint-deps.sh
blob
b43100cd83e988d5a56386504ab42fcb952adaea
1
#!/usr/bin/env bash
2
3
set -euo
pipefail
4
IFS
=
$
'
\n\t
'
5
6
set -x
7
8
MODULES
=
$
(
jq
-r
'.devDependencies|keys|.[]'
package.json |
grep
eslint
)
9
for
i
in
$MODULES
;
do
10
npm
rm
$i
;
11
done
12
13
for
i
in
$MODULES
;
do
14
npm i
$i
@latest
--save-dev
15
done