parent
830d702241
commit
40798fc68b
|
@ -10,7 +10,7 @@ echo "Shinobi - Do you want to Install Node.js?"
|
||||||
echo "(y)es or (N)o"
|
echo "(y)es or (N)o"
|
||||||
read -r nodejsinstall
|
read -r nodejsinstall
|
||||||
if [ "$nodejsinstall" = "y" ]; then
|
if [ "$nodejsinstall" = "y" ]; then
|
||||||
curl -o node-installer.pkg https://nodejs.org/dist/v16.15.0/node-v16.15.0.pkg
|
curl -o node-installer.pkg https://nodejs.org/dist/v20.7.0/node-v20.7.0.pkg
|
||||||
sudo installer -pkg node-installer.pkg -target /
|
sudo installer -pkg node-installer.pkg -target /
|
||||||
rm node-installer.pkg
|
rm node-installer.pkg
|
||||||
sudo ln -s /usr/local/bin/node /usr/bin/nodejs
|
sudo ln -s /usr/local/bin/node /usr/bin/nodejs
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
sudo yum install --nogpgcheck https://rpm.nodesource.com/pub_16.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y
|
sudo yum install --nogpgcheck https://rpm.nodesource.com/pub_20.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y
|
||||||
sudo yum install --nogpgcheck nodejs -y
|
sudo yum install --nogpgcheck nodejs -y
|
||||||
|
|
|
@ -2,7 +2,7 @@ sudo apt-get update
|
||||||
sudo apt-get install -y ca-certificates curl gnupg
|
sudo apt-get install -y ca-certificates curl gnupg
|
||||||
sudo mkdir -p /etc/apt/keyrings
|
sudo mkdir -p /etc/apt/keyrings
|
||||||
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
|
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
|
||||||
NODE_MAJOR=16
|
NODE_MAJOR=20
|
||||||
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
|
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install nodejs -y
|
sudo apt-get install nodejs -y
|
||||||
|
|
|
@ -34,7 +34,7 @@ echo "(y)es or (N)o"
|
||||||
NODEJSINSTALL=0
|
NODEJSINSTALL=0
|
||||||
read -r nodejsinstall
|
read -r nodejsinstall
|
||||||
if [ "$nodejsinstall" = "y" ] || [ "$nodejsinstall" = "Y" ]; then
|
if [ "$nodejsinstall" = "y" ] || [ "$nodejsinstall" = "Y" ]; then
|
||||||
sudo zypper install -y nodejs16
|
sudo zypper install -y nodejs20
|
||||||
NODEJSINSTALL=1
|
NODEJSINSTALL=1
|
||||||
fi
|
fi
|
||||||
echo "============="
|
echo "============="
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -15,7 +15,7 @@
|
||||||
"homepage": "https://gitlab.com/Shinobi-Systems/Shinobi#readme",
|
"homepage": "https://gitlab.com/Shinobi-Systems/Shinobi#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@aws-sdk/client-s3": "^3.226.0",
|
"@aws-sdk/client-s3": "^3.226.0",
|
||||||
"async": "^3.2.2",
|
"async": "^3.2.4",
|
||||||
"backblaze-b2": "^1.7.0",
|
"backblaze-b2": "^1.7.0",
|
||||||
"body-parser": "^1.19.0",
|
"body-parser": "^1.19.0",
|
||||||
"bson": "^4.6.1",
|
"bson": "^4.6.1",
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
"googleapis": "^100.0.0",
|
"googleapis": "^100.0.0",
|
||||||
"http-proxy": "^1.18.1",
|
"http-proxy": "^1.18.1",
|
||||||
"jsonfile": "^3.0.1",
|
"jsonfile": "^3.0.1",
|
||||||
"knex": "^0.21.21",
|
"knex": "^2.5.1",
|
||||||
"ldapauth-fork": "^5.0.2",
|
"ldapauth-fork": "^5.0.2",
|
||||||
"marked": "^4.3.0",
|
"marked": "^4.3.0",
|
||||||
"moment": "^2.29.4",
|
"moment": "^2.29.4",
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
"node-fetch": "^2.6.7",
|
"node-fetch": "^2.6.7",
|
||||||
"node-onvif-events": "^2.0.5",
|
"node-onvif-events": "^2.0.5",
|
||||||
"node-ssh": "^12.0.4",
|
"node-ssh": "^12.0.4",
|
||||||
"node-telegram-bot-api": "^0.61.0",
|
"node-telegram-bot-api": "^0.63.0",
|
||||||
"nodemailer": "^6.7.1",
|
"nodemailer": "^6.7.1",
|
||||||
"pam-diff": "^1.1.0",
|
"pam-diff": "^1.1.0",
|
||||||
"path": "^0.12.7",
|
"path": "^0.12.7",
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
"sat": "^0.7.1",
|
"sat": "^0.7.1",
|
||||||
"shinobi-node-moving-things-tracker": "^0.9.1",
|
"shinobi-node-moving-things-tracker": "^0.9.1",
|
||||||
"shinobi-onvif": "0.1.9",
|
"shinobi-onvif": "0.1.9",
|
||||||
"shinobi-sound-detection": "^0.1.13",
|
"shinobi-sound-detection": "^0.1.14",
|
||||||
"shinobi-zwave": "^1.0.11",
|
"shinobi-zwave": "^1.0.11",
|
||||||
"smtp-server": "^3.9.0",
|
"smtp-server": "^3.9.0",
|
||||||
"socket.io": "^4.4.1",
|
"socket.io": "^4.4.1",
|
||||||
|
|
Loading…
Reference in New Issue