File update_npm_tarball.sh of Package nodejs16
16
1
2
3
#
4
# Fetch npm module tarball that is required to run unit tests
5
# which are not provided by upstream tarball
6
#
7
# This is only needed for NodeJS 10.x
8
#
9
set -e
10
11
tar xf node-git.*.tar
12
cd node-git.*/tools/doc
13
npm i
14
cd ../..
15
exec tar Jcf ../node_modules.tar.xz tools/doc/node_modules
16