Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
include "dump-db" into released artifacts
zadam5260689b8eb3
diff --git a/.gitpod.yml b/.gitpod.ymlindex 03a98ff187..faafd9f575 100644--- a/.gitpod.yml+++ b/.gitpod.yml@@ -2,7 +2,7 @@ image:file: .gitpod.dockerfiletasks:- - before: nvm install 16.13.2 && nvm use 16.13.2+ - before: nvm install 16.14.0 && nvm use 16.14.0init: npm installcommand: npm run start-serverdiff --git a/Dockerfile b/Dockerfileindex ed3dead900..cb47e0c7c6 100644--- a/Dockerfile+++ b/Dockerfile@@ -1,4 +1,4 @@-FROM node:16.13.2-alpine+FROM node:16.14.0-alpine# Create app directoryWORKDIR /usr/src/appdiff --git a/bin/build-linux-x64.sh b/bin/build-linux-x64.shindex d46f58640b..68d67a8b55 100755--- a/bin/build-linux-x64.sh+++ b/bin/build-linux-x64.sh@@ -29,6 +29,8 @@ rm -r $BUILD_DIR/swiftshadercp bin/tpl/anonymize-database.sql $BUILD_DIR/+cp -r dump-db $BUILD_DIR/+cp bin/tpl/trilium-portable.sh $BUILD_DIR/chmod 755 $BUILD_DIR/trilium-portable.shdiff --git a/bin/build-mac-x64.sh b/bin/build-mac-x64.shindex 2cc111339a..fd16cc2a29 100755--- a/bin/build-mac-x64.sh+++ b/bin/build-mac-x64.sh@@ -25,6 +25,8 @@ mv "./dist/Trilium Notes-darwin-x64" $BUILD_DIRcp bin/tpl/anonymize-database.sql $BUILD_DIR/+cp -r dump-db $BUILD_DIR/+echo "Zipping mac x64 electron distribution..."VERSION=`jq -r ".version" package.json`diff --git a/bin/build-server.sh b/bin/build-server.shindex 1e62d8aa08..522c9faad5 100755--- a/bin/build-server.sh+++ b/bin/build-server.sh@@ -1,7 +1,7 @@#!/usr/bin/env bashPKG_DIR=dist/trilium-linux-x64-server-NODE_VERSION=16.13.2+NODE_VERSION=16.14.0if [ "$1" != "DONTCOPY" ]then@@ -30,6 +30,8 @@ chmod 755 $PKG_DIR/trilium.shcp bin/tpl/anonymize-database.sql $PKG_DIR/+cp -r dump-db $PKG_DIR/+VERSION=`jq -r ".version" package.json`cd distdiff --git a/bin/build-win-x64.sh b/bin/build-win-x64.shindex c1b8030e49..0f7040a047 100755--- a/bin/build-win-x64.sh+++ b/bin/build-win-x64.sh@@ -27,6 +27,8 @@ rm -r $BUILD_DIR/swiftshadercp bin/tpl/anonymize-database.sql $BUILD_DIR/+cp -r dump-db $BUILD_DIR/+cp bin/tpl/trilium-{portable,no-cert-check,safe-mode}.{bat,ps1} $BUILD_DIR/echo "Zipping windows x64 electron distribution..."diff --git a/bin/copy-trilium.sh b/bin/copy-trilium.shindex e66026c227..d9831c6830 100755--- a/bin/copy-trilium.sh+++ b/bin/copy-trilium.sh@@ -5,7 +5,7 @@ if [[ $# -eq 0 ]] ; thenexit 1fi-n exec 16.13.2 npm run webpack+n exec 16.14.0 npm run webpackDIR=$1@@ -14,6 +14,9 @@ mkdir $DIRecho "Copying Trilium to build directory $DIR"+cp -r dump-db $DIR/+rm -rf $DIR/dump-db/node_modules+cp -r images $DIR/cp -r libraries $DIR/cp -r src $DIR/@@ -27,7 +30,7 @@ cp -r electron.js $DIR/cp webpack-* $DIR/# run in subshell (so we return to original dir)-(cd $DIR && n exec 16.13.2 npm install --only=prod)+(cd $DIR && n exec 16.14.0 npm install --only=prod)# cleanup of useless files in dependenciesrm -r $DIR/node_modules/image-q/demo