Upgrade to Node v12.17.0

Thanks to Node developers and xet7 !
This commit is contained in:
Lauri Ojansivu 2020-05-29 21:37:28 +03:00
parent 55c5f07026
commit 3ade9d95a6
10 changed files with 12 additions and 12 deletions

View file

@ -6,7 +6,7 @@ ENV DEBIAN_FRONTEND=noninteractive
ENV \ ENV \
DEBUG=false \ DEBUG=false \
NODE_VERSION=12.16.3 \ NODE_VERSION=12.17.0 \
METEOR_RELEASE=1.10.2 \ METEOR_RELEASE=1.10.2 \
USE_EDGE=false \ USE_EDGE=false \
METEOR_EDGE=1.5-beta.17 \ METEOR_EDGE=1.5-beta.17 \

View file

@ -81,7 +81,7 @@ parts:
wekan: wekan:
source: . source: .
plugin: nodejs plugin: nodejs
node-engine: 12.16.3 node-engine: 12.17.0
node-packages: node-packages:
- node-gyp - node-gyp
- node-pre-gyp - node-pre-gyp

View file

@ -83,7 +83,7 @@ parts:
wekan: wekan:
source: . source: .
plugin: nodejs plugin: nodejs
node-engine: 12.14.3 node-engine: 12.17.0
node-packages: node-packages:
- node-gyp - node-gyp
- node-pre-gyp - node-pre-gyp

View file

@ -3,7 +3,7 @@ sudo: required
env: env:
TRAVIS_DOCKER_COMPOSE_VERSION: 1.24.0 TRAVIS_DOCKER_COMPOSE_VERSION: 1.24.0
TRAVIS_NODE_VERSION: 12.16.3 TRAVIS_NODE_VERSION: 12.17.0
TRAVIS_NPM_VERSION: latest TRAVIS_NPM_VERSION: latest
before_install: before_install:

View file

@ -8,7 +8,7 @@ ARG DEBIAN_FRONTEND=noninteractive
ENV BUILD_DEPS="apt-utils libarchive-tools gnupg gosu wget curl bzip2 g++ build-essential git ca-certificates python3" \ ENV BUILD_DEPS="apt-utils libarchive-tools gnupg gosu wget curl bzip2 g++ build-essential git ca-certificates python3" \
DEBUG=false \ DEBUG=false \
NODE_VERSION=v12.16.3 \ NODE_VERSION=v12.17.0 \
METEOR_RELEASE=1.10.2 \ METEOR_RELEASE=1.10.2 \
USE_EDGE=false \ USE_EDGE=false \
METEOR_EDGE=1.5-beta.17 \ METEOR_EDGE=1.5-beta.17 \

View file

@ -4,7 +4,7 @@ FROM amd64/alpine:3.7 AS builder
ENV QEMU_VERSION=v4.2.0-6 \ ENV QEMU_VERSION=v4.2.0-6 \
QEMU_ARCHITECTURE=aarch64 \ QEMU_ARCHITECTURE=aarch64 \
NODE_ARCHITECTURE=linux-arm64 \ NODE_ARCHITECTURE=linux-arm64 \
NODE_VERSION=v12.16.3 \ NODE_VERSION=v12.17.0 \
WEKAN_VERSION=3.96 \ WEKAN_VERSION=3.96 \
WEKAN_ARCHITECTURE=arm64 WEKAN_ARCHITECTURE=arm64
@ -40,7 +40,7 @@ LABEL maintainer="wekan"
# Set the environment variables (defaults where required) # Set the environment variables (defaults where required)
ENV QEMU_ARCHITECTURE=aarch64 \ ENV QEMU_ARCHITECTURE=aarch64 \
NODE_ARCHITECTURE=linux-arm64 \ NODE_ARCHITECTURE=linux-arm64 \
NODE_VERSION=v12.16.1 \ NODE_VERSION=v12.17.0 \
NODE_ENV=production \ NODE_ENV=production \
NPM_VERSION=latest \ NPM_VERSION=latest \
WITH_API=true \ WITH_API=true \

View file

@ -5,7 +5,7 @@ echo " with 'sudo dpkg-reconfigure locales' , so that MongoDB works correct
echo " You can still use any other locale as your main locale." echo " You can still use any other locale as your main locale."
#Below script installs newest node 8.x for Debian/Ubuntu/Mint. #Below script installs newest node 8.x for Debian/Ubuntu/Mint.
#NODE_VERSION=12.16.3 #NODE_VERSION=12.17.0
#X64NODE="https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.gz" #X64NODE="https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.gz"
function pause(){ function pause(){
@ -79,7 +79,7 @@ do
curl -0 -L https://npmjs.org/install.sh | sudo sh curl -0 -L https://npmjs.org/install.sh | sudo sh
sudo chown -R $(id -u):$(id -g) $HOME/.npm sudo chown -R $(id -u):$(id -g) $HOME/.npm
sudo npm -g install n sudo npm -g install n
sudo n 12.16.3 sudo n 12.17.0
#curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - #curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
#sudo apt-get install -y nodejs #sudo apt-get install -y nodejs
elif [[ "$OSTYPE" == "darwin"* ]]; then elif [[ "$OSTYPE" == "darwin"* ]]; then

View file

@ -18,7 +18,7 @@ cd $REPODIR
rm -rf $WEKANDIR rm -rf $WEKANDIR
git clone git@github.com:wekan/wekan.git git clone git@github.com:wekan/wekan.git
cd $WEKANDIR cd $WEKANDIR
sudo n 12.16.3 sudo n 12.17.0
sudo mkdir -p /usr/local/lib/node_modules/fibers/.node-gyp sudo mkdir -p /usr/local/lib/node_modules/fibers/.node-gyp
# Build Wekan # Build Wekan
./releases/rebuild-release.sh ./releases/rebuild-release.sh

View file

@ -81,7 +81,7 @@ parts:
wekan: wekan:
source: . source: .
plugin: nodejs plugin: nodejs
node-engine: 12.16.3 node-engine: 12.17.0
node-packages: node-packages:
- node-gyp - node-gyp
- node-pre-gyp - node-pre-gyp

View file

@ -2,7 +2,7 @@
set -euxo pipefail set -euxo pipefail
BUILD_DEPS="bsdtar gnupg wget curl bzip2 python git ca-certificates perl-Digest-SHA" BUILD_DEPS="bsdtar gnupg wget curl bzip2 python git ca-certificates perl-Digest-SHA"
NODE_VERSION=v12.16.3 NODE_VERSION=v12.17.0
#METEOR_RELEASE=1.6.0.1 - for Stacksmith, meteor-1.8 branch that could have METEOR@1.8.1-beta.8 or newer #METEOR_RELEASE=1.6.0.1 - for Stacksmith, meteor-1.8 branch that could have METEOR@1.8.1-beta.8 or newer
USE_EDGE=false USE_EDGE=false
METEOR_EDGE=1.5-beta.17 METEOR_EDGE=1.5-beta.17