nodejs-nodemon/nodemon-tarball.sh
Zuzana Svetlikova 4a3ab2d242 Resolves: RHBZ#2005419
Resolves CVE-2020-28469
Rebase to newest version
Change source to npmjs.com
2022-06-08 12:40:18 +02:00

8 lines
303 B
Bash

#!/bin/sh
version=$(rpm -q --specfile --qf='%{version}\n' nodejs-nodemon.spec | head -n1)
wget https://registry.npmjs.org/nodemon/-/nodemon-$version.tgz
tar -zxf nodemon-$version.tgz
cd package
npm install --production && rm -rf Dockerfile && cd .. && tar -zcf nodemon-v$version-bundled.tar.gz package