Panagiotis Papadopoulos
6336699618
build(server): improve "node" folder cleanup
...
* remove useless symlinks to non-existing files (npm, npx -> the actual file gets deleted by "rm -r $BUILD_DIR/node/lib/node_modules/npm"
=> fixes #1499
(this time fully ;-))
* remove unused corepack
* remove useless CHANGELOG.md (LICENSE and README.md should of course still remain)
2025-03-27 21:06:35 +01:00
Panagiotis Papadopoulos
75431ca634
build: make running of npm ci in build scripts configurable
...
* moved the running of npm ci from copy-dist to cleanupNodeModules
* added flag to disable it (necessary for electron-forge)
2025-03-27 00:00:41 +01:00
Panagiotis Papadopoulos
f79b925e49
build(server): use cleanupNodeModules script
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
1640000291
build(build-server): move "build:prepare-dist" call to build-server from copy-trilium
...
in preparation to get rid of the file altogether - rest of the functionality will be merged into copy-dist.ts
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
1e713469e7
build(server): bump to latest node v22.14.0 -> fixes EBADENGINE warning
...
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: 'node-abi@4.2.0',
npm warn EBADENGINE required: { node: '>=22.12.0' },
npm warn EBADENGINE current: { node: 'v20.18.1', npm: '10.8.2' }
npm warn EBADENGINE }
2025-03-26 08:12:22 +01:00
Panagiotis Papadopoulos
afe4fc2d1a
build(build-server): add more detail to status "echo"s
2025-03-09 18:59:54 +01:00
Panagiotis Papadopoulos
36fad35be5
build(build-server): rename archive name to the same naming scheme used in the Github CI
2025-03-09 18:59:54 +01:00
Panagiotis Papadopoulos
56340009ca
build(build-server): remove now unused DONTCOPY check
2025-03-09 18:59:54 +01:00
Panagiotis Papadopoulos
d110c8b067
build(build-server): add some status "echo"s
2025-03-09 18:59:54 +01:00
Panagiotis Papadopoulos
d8ad018819
build(build-server): also delete electron map files
2025-03-09 18:59:54 +01:00
Panagiotis Papadopoulos
33de342842
build(build-server): download and extract node in a single step
2025-03-09 18:59:54 +01:00
Panagiotis Papadopoulos
4bba061629
build(build-server): get rid of now unnecessary arch handling for node
...
directly use "ARCH" instead of creating 2 variables with the identical content as "ARCH"
2025-03-09 18:59:54 +01:00
Panagiotis Papadopoulos
87d37366e4
build(build-server): remove unnecessary copying of translations
...
already happens during build:prepare-dist step
2025-03-09 18:59:54 +01:00
Panagiotis Papadopoulos
1324cc2e53
build(build-server): add TODO remark
2025-03-09 18:59:54 +01:00
Panagiotis Papadopoulos
80d6cd0356
build(build-server): delete temp build dir copy in dist folder
2025-03-09 18:59:54 +01:00
Panagiotis Papadopoulos
e0413b528f
build(build-server): use a single "rm" command
2025-03-09 18:59:54 +01:00
Panagiotis Papadopoulos
19abd14058
build(build-server): use build dir for build and dist for final archive output
2025-03-09 18:59:54 +01:00
Panagiotis Papadopoulos
1ae5c43010
build(copy-trilium): do all the work inside build dir, no target directory needed anymore
...
-> all of these steps will eventually be merged with copy-dist script to have a unified copying script
2025-03-09 18:59:54 +01:00
Panagiotis Papadopoulos
f8c8b9eb3f
build(build-server): stop copying dump-db during build
2025-03-05 09:28:41 +01:00
Jon Fuller
7e30ab2e06
Update build-server.sh and GitHub Actions to build ARM server
2025-01-17 20:45:00 +00:00
Elian Doran
a5fd57308a
server: Fix translations in standalone build
2024-10-13 12:09:36 +03:00
Elian Doran
68042994e0
electron: Fix loading of i18n
2024-09-08 17:40:05 +03:00
Jin
5f6aba8a10
remove comments
2024-08-05 17:14:24 +02:00
Jin
e5c1d38722
- Remove hard-coded better-sqlite3
binaries
...
- Fix ExperimentalWarning
2024-08-05 17:14:24 +02:00
Elian Doran
faa9ebe1bc
build: Remove unnecessary rm
2024-07-23 00:24:27 +03:00
Elian Doran
dd14ba9e0e
build: Increase error strictness
2024-07-22 21:33:07 +03:00
Elian Doran
e74b7f6964
build: Update NODE_VERSION in build-server
2024-07-17 01:08:33 +03:00
zadam
2132cf3bdc
nodejs 18.18.2
2023-10-18 09:40:00 +02:00
zadam
62ecd1ad76
node 18.18.0
2023-09-21 12:29:11 +02:00
zadam
b61aab06b5
nodejs upgrade
2023-07-15 10:32:26 +02:00
zadam
c0cf319521
upgrade electron to 25 and node to 18
2023-05-04 21:01:25 +02:00
zadam
4558e349b5
node update
2023-02-17 15:05:27 +01:00
zadam
6f7b554cdc
preparing 0.59 without ocr/pdf, userguide, note ancillaries
2023-02-17 14:49:45 +01:00
zadam
a9296e2a39
update node.js to 18
2023-02-10 10:44:38 +01:00
zadam
7c98ade72b
fix missing doc resources for launchers, closes #3455
2022-12-25 11:58:24 +01:00
zadam
0d06d5ccee
dump-db should not contain node_modules in release artifacts
2022-12-04 23:49:16 +01:00
zadam
b499640db8
use trilium version number in asset paths to avoid caching issues WIP
2022-10-26 23:50:54 +02:00
zadam
53e9c8cdac
upgrades
2022-05-24 21:34:32 +02:00
zadam
a04becc4ec
dep upgrades
2022-04-10 14:13:45 +02:00
zadam
5260689b8e
include "dump-db" into released artifacts
2022-02-12 22:51:28 +01:00
zadam
d1b39ee8fa
generate anonymization script into a file
2022-01-17 23:47:26 +01:00
zadam
630d9f2e45
backlinks improvements, #2349
2021-12-02 22:00:42 +01:00
zadam
89322c4b03
upgrade to electron v16 and node v16
2021-11-16 22:43:08 +01:00
zadam
241d1b1035
node 14.18.1
2021-10-14 22:22:27 +02:00
zadam
f24ea8137b
revert of better sqlite3 dep for server build
2021-09-08 20:56:26 +02:00
zadam
08eda83700
node update to 14.17.5
2021-08-22 12:25:50 +02:00
zadam
634baae796
Merge remote-tracking branch 'origin/stable'
...
# Conflicts:
# src/services/build.js
2021-04-19 20:56:56 +02:00
zadam
a674a12706
disable tar polluting build log
2021-04-19 20:56:05 +02:00
zadam
00a27313fb
linux desktop and mac better-sqlite3 binaries
2021-04-09 23:40:42 +02:00
zadam
5b8e876b77
upgrade to electron 12
2021-03-09 22:36:41 +01:00