Skip to content

Build your personal knowledge base with Trilium Notes

node 14.18.1

zadam241d1b103513
diff --git a/.gitpod.yml b/.gitpod.yml
index 9daed07490..eaadcb1e88 100644
--- a/.gitpod.yml
+++ b/.gitpod.yml
@@ -2,10 +2,10 @@ image:
file: .gitpod.dockerfile
tasks:
- - before: nvm install 14.17.6 && nvm use 14.17.6
+ - before: nvm install 14.18.1 && nvm use 14.18.1
init: npm install
command: npm run start-server
ports:
- port: 8080
- onOpen: open-preview
\ No newline at end of file
+ onOpen: open-preview
diff --git a/Dockerfile b/Dockerfile
index d9cf57d781..dcedff7671 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM node:14.17.6-alpine
+FROM node:14.18.1-alpine
# Create app directory
WORKDIR /usr/src/app
diff --git a/bin/build-server.sh b/bin/build-server.sh
index f39a9570ae..6aefca9834 100755
--- a/bin/build-server.sh
+++ b/bin/build-server.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
PKG_DIR=dist/trilium-linux-x64-server
-NODE_VERSION=14.17.6
+NODE_VERSION=14.18.1
if [ "$1" != "DONTCOPY" ]
then
diff --git a/bin/copy-trilium.sh b/bin/copy-trilium.sh
index df78285d22..b68c0cf1c2 100755
--- a/bin/copy-trilium.sh
+++ b/bin/copy-trilium.sh
@@ -5,7 +5,7 @@ if [[ $# -eq 0 ]] ; then
exit 1
fi
-n exec 14.17.6 npm run webpack
+n exec 14.18.1 npm run webpack
DIR=$1
@@ -27,7 +27,7 @@ cp -r electron.js $DIR/
cp webpack-* $DIR/
# run in subshell (so we return to original dir)
-(cd $DIR && n exec 14.17.6 npm install --only=prod)
+(cd $DIR && n exec 14.18.1 npm install --only=prod)
# cleanup of useless files in dependencies
rm -r $DIR/node_modules/image-q/demo