mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Upgrade to Node.js 14.15.0
Thanks to Node.js and Meteor.js developers!
This commit is contained in:
parent
460b1d3a66
commit
045e9db7b8
11 changed files with 13 additions and 13 deletions
|
@ -6,7 +6,7 @@ ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
ENV \
|
ENV \
|
||||||
DEBUG=false \
|
DEBUG=false \
|
||||||
NODE_VERSION=v12.19.0 \
|
NODE_VERSION=v14.15.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 \
|
||||||
|
|
|
@ -81,7 +81,7 @@ parts:
|
||||||
wekan:
|
wekan:
|
||||||
source: .
|
source: .
|
||||||
plugin: nodejs
|
plugin: nodejs
|
||||||
node-engine: 12.19.0
|
node-engine: 14.15.0
|
||||||
node-packages:
|
node-packages:
|
||||||
- node-gyp
|
- node-gyp
|
||||||
- node-pre-gyp
|
- node-pre-gyp
|
||||||
|
|
|
@ -83,7 +83,7 @@ parts:
|
||||||
wekan:
|
wekan:
|
||||||
source: .
|
source: .
|
||||||
plugin: nodejs
|
plugin: nodejs
|
||||||
node-engine: 12.19.0
|
node-engine: 14.15.0
|
||||||
node-packages:
|
node-packages:
|
||||||
- node-gyp
|
- node-gyp
|
||||||
- node-pre-gyp
|
- node-pre-gyp
|
||||||
|
|
|
@ -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.19.0
|
TRAVIS_NODE_VERSION: 14.15.0
|
||||||
TRAVIS_NPM_VERSION: latest
|
TRAVIS_NPM_VERSION: latest
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
|
|
|
@ -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.19.0 \
|
NODE_VERSION=v14.15.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 \
|
||||||
|
|
|
@ -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.19.0 \
|
NODE_VERSION=v14.15.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.19.0 \
|
NODE_VERSION=v14.15.0 \
|
||||||
NODE_ENV=production \
|
NODE_ENV=production \
|
||||||
NPM_VERSION=latest \
|
NPM_VERSION=latest \
|
||||||
WITH_API=true \
|
WITH_API=true \
|
||||||
|
|
|
@ -18,8 +18,8 @@ REM Install chocolatey
|
||||||
|
|
||||||
choco install -y git curl python2 dotnet4.5.2 nano mongodb-3 mongoclient meteor
|
choco install -y git curl python2 dotnet4.5.2 nano mongodb-3 mongoclient meteor
|
||||||
|
|
||||||
curl -O https://nodejs.org/dist/v12.19.0/node-v12.19.0-x64.msi
|
curl -O https://nodejs.org/dist/v14.15.0/node-v14.15.0-x64.msi
|
||||||
call node-v12.19.0-x64.msi
|
call node-v14.15.0-x64.msi
|
||||||
|
|
||||||
call npm config -g set msvs_version 2015
|
call npm config -g set msvs_version 2015
|
||||||
call meteor npm config -g set msvs_version 2015
|
call meteor npm config -g set msvs_version 2015
|
||||||
|
|
|
@ -28,7 +28,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.19.0
|
sudo n 14.15.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
|
||||||
|
|
|
@ -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.19.0
|
sudo n 14.15.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
|
||||||
|
|
|
@ -81,7 +81,7 @@ parts:
|
||||||
wekan:
|
wekan:
|
||||||
source: .
|
source: .
|
||||||
plugin: nodejs
|
plugin: nodejs
|
||||||
node-engine: 12.19.0
|
node-engine: 14.15.0
|
||||||
node-packages:
|
node-packages:
|
||||||
- node-gyp
|
- node-gyp
|
||||||
- node-pre-gyp
|
- node-pre-gyp
|
||||||
|
|
|
@ -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.19.0
|
NODE_VERSION=v14.15.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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue