mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Updated to Node.js v14.21.3. Thanks to Node.js developers.
This commit is contained in:
parent
32bce898f4
commit
dd6e7372b7
9 changed files with 17 additions and 17 deletions
|
@ -10,7 +10,7 @@ ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
ENV \
|
ENV \
|
||||||
DEBUG=false \
|
DEBUG=false \
|
||||||
NODE_VERSION=v14.21.2 \
|
NODE_VERSION=v14.21.3 \
|
||||||
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: 14.21.2
|
node-engine: 14.21.3
|
||||||
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: 14.21.2
|
TRAVIS_NODE_VERSION: 14.21.3
|
||||||
TRAVIS_NPM_VERSION: latest
|
TRAVIS_NPM_VERSION: latest
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
|
|
|
@ -21,7 +21,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=v14.21.2 \
|
NODE_VERSION=v14.21.3 \
|
||||||
METEOR_RELEASE=2.8.1 \
|
METEOR_RELEASE=2.8.1 \
|
||||||
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=v14.21.2 \
|
NODE_VERSION=v14.21.3 \
|
||||||
WEKAN_VERSION=latest \
|
WEKAN_VERSION=latest \
|
||||||
WEKAN_ARCHITECTURE=arm64 \
|
WEKAN_ARCHITECTURE=arm64 \
|
||||||
NODE_OPTIONS="--max_old_space_size=4096"
|
NODE_OPTIONS="--max_old_space_size=4096"
|
||||||
|
@ -49,7 +49,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=v14.21.2 \
|
NODE_VERSION=v14.21.3 \
|
||||||
NODE_ENV=production \
|
NODE_ENV=production \
|
||||||
NPM_VERSION=latest \
|
NPM_VERSION=latest \
|
||||||
WITH_API=true \
|
WITH_API=true \
|
||||||
|
|
|
@ -15,8 +15,8 @@ REM Install chocolatey
|
||||||
|
|
||||||
choco install -y git curl python2 dotnet4.5.2 nano mongodb-4 mongoclient
|
choco install -y git curl python2 dotnet4.5.2 nano mongodb-4 mongoclient
|
||||||
|
|
||||||
curl -O https://nodejs.org/dist/v14.21.2/node-v14.21.2-x64.msi
|
curl -O https://nodejs.org/dist/v14.21.3/node-v14.21.3-x64.msi
|
||||||
call node-v14.21.2-x64.msi
|
call node-v14.21.3-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
|
||||||
|
|
|
@ -39,7 +39,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 14.21.2
|
sudo n 14.21.3
|
||||||
sudo npm -g install npm
|
sudo npm -g install npm
|
||||||
#sudo npm -g install npm
|
#sudo npm -g install npm
|
||||||
## Latest npm with Meteor 2.2
|
## Latest npm with Meteor 2.2
|
||||||
|
|
|
@ -111,7 +111,7 @@ parts:
|
||||||
wekan:
|
wekan:
|
||||||
source: .
|
source: .
|
||||||
plugin: npm
|
plugin: npm
|
||||||
npm-node-version: 14.21.2
|
npm-node-version: 14.21.3
|
||||||
#npm-packages:
|
#npm-packages:
|
||||||
# - node-gyp
|
# - node-gyp
|
||||||
# - node-pre-gyp
|
# - node-pre-gyp
|
||||||
|
@ -141,7 +141,7 @@ parts:
|
||||||
#echo "registry=http://registry.npmjs.org/" > ~/.npmrc
|
#echo "registry=http://registry.npmjs.org/" > ~/.npmrc
|
||||||
#echo "Installing npm, node-gyp, node-pre-gyp, fibers"
|
#echo "Installing npm, node-gyp, node-pre-gyp, fibers"
|
||||||
#npm -g install n --unsafe-perm
|
#npm -g install n --unsafe-perm
|
||||||
#n 14.21.2
|
#n 14.21.3
|
||||||
#npm -g install node-gyp --unsafe-perm
|
#npm -g install node-gyp --unsafe-perm
|
||||||
#npm -g install node-pre-gyp --unsafe-perm
|
#npm -g install node-pre-gyp --unsafe-perm
|
||||||
#npm -g install fibers --unsafe-perm
|
#npm -g install fibers --unsafe-perm
|
||||||
|
@ -186,12 +186,12 @@ parts:
|
||||||
#rm fibers-multi.7z
|
#rm fibers-multi.7z
|
||||||
#cd ../../../../../../..
|
#cd ../../../../../../..
|
||||||
# Copy to Snap
|
# Copy to Snap
|
||||||
wget https://nodejs.org/dist/latest-v14.x/node-v14.21.2-linux-x64.tar.xz
|
wget https://nodejs.org/dist/latest-v14.x/node-v14.21.3-linux-x64.tar.xz
|
||||||
tar -xf node-v14.21.2-linux-x64.tar.xz node-v14.21.2-linux-x64/bin/node
|
tar -xf node-v14.21.3-linux-x64.tar.xz node-v14.21.3-linux-x64/bin/node
|
||||||
rm node-v14.21.2-linux-x64.tar.xz
|
rm node-v14.21.3-linux-x64.tar.xz
|
||||||
mkdir $SNAPCRAFT_PART_INSTALL/bin
|
mkdir $SNAPCRAFT_PART_INSTALL/bin
|
||||||
cp -p node-v14.21.2-linux-x64/bin/node $SNAPCRAFT_PART_INSTALL/bin/
|
cp -p node-v14.21.3-linux-x64/bin/node $SNAPCRAFT_PART_INSTALL/bin/
|
||||||
rm -rf node-v14.21.2-linux-x64
|
rm -rf node-v14.21.3-linux-x64
|
||||||
cp -r .build/bundle/* $SNAPCRAFT_PART_INSTALL/
|
cp -r .build/bundle/* $SNAPCRAFT_PART_INSTALL/
|
||||||
cp .build/bundle/.node_version.txt $SNAPCRAFT_PART_INSTALL/
|
cp .build/bundle/.node_version.txt $SNAPCRAFT_PART_INSTALL/
|
||||||
rm -f $SNAPCRAFT_PART_INSTALL/lib/node_modules/wekan
|
rm -f $SNAPCRAFT_PART_INSTALL/lib/node_modules/wekan
|
||||||
|
|
|
@ -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=v14.21.2
|
NODE_VERSION=v14.21.3
|
||||||
#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