Panagiotis Papadopoulos
e9fa37c4ee
chore(docker): remove TODO
2025-03-27 09:04:10 +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
0b428035ae
build(cleanupNodeModules): move removal of elements to its own function
...
also added a logging function for debugging purposes
2025-03-26 09:48:06 +01:00
Panagiotis Papadopoulos
51f2e23c2f
build(cleanupNodeModules): delete .bin folder
...
this is only needed for executing package scripts -> which we don't do in production
fixes #1499
2025-03-26 09:28:50 +01:00
Panagiotis Papadopoulos
1528703ed9
build(cleanupNodeModules): add some minimalistic logging
2025-03-26 09:26:22 +01:00
Panagiotis Papadopoulos
1150f78b15
build(cleanupNodeModules): use path.join and basePath for extraFoldersDelete
2025-03-26 09:18:16 +01:00
Panagiotis Papadopoulos
6fe23f9a13
chore(cleanupNodeModules): remove commented out paths
...
extra note on mermaid: that should be packed by webpack now, so we just need to move it to devDeps and and we should be good
2025-03-26 09:15:33 +01:00
Panagiotis Papadopoulos
b457fa2e87
chore(cleanupNodeModules): rename nodeDir to nodeModulesContent
2025-03-26 09:12:22 +01:00
Panagiotis Papadopoulos
83da24b38d
build(dockerignore): add cleanupNodeModules as exception
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
57ee61938d
build(copy-trilium): delete now unused script
...
all of its functionality has been "absorbed" by the cross-platform copy-dist and cleanupNodeModules scripts, that can be used for all of our builds now
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
f79b925e49
build(server): use cleanupNodeModules script
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
3e3344b329
chore(scripts): remove now unneeded electron-forge:prepare
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
1ceaafa1e8
build: move cleanupNodeModules to its own file
...
this is necessary, since for Docker and electron-forge, we need to run this as an extra step after copy-dist
for electron-forge: after it is done with its own "pruning", as we otherwise would need to also take care of certain electron related pruning
for Docker: as a last step in the build stage
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
cd8401089d
build(copy-trilium): update list of useless deps paths
...
* image-q/demo -> doesn't exist anymore (and even if it did - previous cleanup step, would've removed this anyways)
* @excalidraw/excalidraw/dist/* -> updated to point to the dev folder
* boxicons -> only fonts and css folders are used, so remove the other ones
* jimp -> updated paths and removed non-existent path
fixing here for historical reasons, next step is to move these over to copy-dist.ts
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
6749d8084b
build(copy-dist): add further cleanupNodeModules functionality
...
deleting of ts and map files from node_modules folder,
adapted from copy-trilium.sh.
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
8275f3c867
build(copy-dist): execute filterableDirs cleanup in one chain
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
a9643174cc
build(copy-dist): add further folders to list of filterableDirs
...
same as before, but some of the modules use singular/plural, so just check for both
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
6260ea1532
build(copy-dist): add initial cleanupNodeModules functionality
...
adapted from copy-trilium.sh
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
bee7793d32
build(copy-trilium): remove now unnecessary package.json patching
...
this is not needed anymore since commit 6b9d8f0d677763f29d29abd0816b1a5d40e858c8
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
8feb201d3d
build(electron-forge): set prune to false
...
since we our own more "sophisticated" pruning during copy-dist, we need to set this to false, as otherwise build will fail
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
6fb270e4f8
build(copy-dist): copy over existing node_modules
...
helps avoiding downloading the packages a 2nd time during our prune stage
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
8977492981
build(copy-dist): move "pruning" to copy-dist from copy-trilium.sh
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
17d5fdb4b0
build(copy-dist): get rid of manual node_module copying
...
this is useless at the moment, as all build processes are running "npm ci --omit=dev" anyways, i.e. they will just install everything remaining again
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
b97c28bc13
ci: bump to node v22 -> 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:10:04 +01:00
Elian Doran
5ec3d58f6f
fix(electron): option does not exist
2025-03-26 08:30:56 +02:00
Elian Doran
5148ce64ae
chore(i18n): translate missing Romanian messages
2025-03-25 21:51:40 +02:00
Elian Doran
03fd34eeb0
feat(settings/i18n): dedicated restart button
2025-03-25 21:48:02 +02:00
Elian Doran
e408cc5b10
feat(settings/i18n): hide formatting locale on non-electron
2025-03-25 21:40:35 +02:00
Elian Doran
f0b4acd15a
style(settings): present i18n settings in a different fahsion
2025-03-25 21:23:32 +02:00
Elian Doran
90794fed88
fix(electron): wrong value for --lang
2025-03-25 20:26:21 +02:00
Elian Doran
ab58671625
feat(options): restart when setting locale
2025-03-25 20:15:39 +02:00
Elian Doran
a5a7a30cd5
feat(electron): respect formatting locale
2025-03-25 20:10:19 +02:00
Elian Doran
45208c8039
chore(i18n): define electron locales for all the supported languages
2025-03-25 19:59:05 +02:00
Elian Doran
b923a23d95
feat(settings): make the formatting locale value adjustable
2025-03-25 19:56:07 +02:00
Elian Doran
c4559749f1
feat(settings): display option to adjust formatting locale
2025-03-25 19:48:07 +02:00
Elian Doran
90ab31329e
Merge pull request #1507 from TriliumNext/feature/windows_signing_v3
...
Windows Signing
2025-03-25 17:51:12 +02:00
Elian Doran
ec7b645d36
Merge pull request #1516 from TriliumNext/renovate/node-22.x
...
chore(deps): update dependency @types/node to v22.13.13
2025-03-25 11:53:07 +02:00
Elian Doran
3dbce19301
Merge pull request #1519 from TriliumNext/renovate/typescript-eslint-monorepo
...
chore(deps): update dependency typescript-eslint to v8.28.0
2025-03-25 11:52:52 +02:00
renovate[bot]
4aa834b23a
chore(deps): update dependency @types/node to v22.13.13
2025-03-25 08:51:39 +00:00
Elian Doran
efb0bf9e21
Merge branch 'develop' into renovate/typescript-eslint-monorepo
2025-03-25 10:50:24 +02:00
Elian Doran
19287f6474
Merge pull request #1517 from TriliumNext/renovate/react-monorepo
...
chore(deps): update dependency @types/react to v18.3.20
2025-03-25 10:49:45 +02:00
Elian Doran
9506d0774e
Merge pull request #1518 from TriliumNext/renovate/supertest-6.x
...
chore(deps): update dependency @types/supertest to v6.0.3
2025-03-25 10:49:31 +02:00
Elian Doran
d0549ebdf9
Merge branch 'develop' into feature/windows_signing_v3
2025-03-25 10:40:48 +02:00
renovate[bot]
220bcbd12c
chore(deps): update dependency typescript-eslint to v8.28.0
2025-03-25 02:58:48 +00:00
renovate[bot]
042172cd53
chore(deps): update dependency @types/supertest to v6.0.3
2025-03-25 02:58:33 +00:00
renovate[bot]
19389e4ea0
chore(deps): update dependency @types/react to v18.3.20
2025-03-25 02:58:22 +00:00
Elian Doran
bb1143e582
feat(note_icon): disable in note source ( closes #1377 )
2025-03-24 22:57:56 +02:00
Elian Doran
4ac57c6b46
fix(client): note icon not hiding after switching notes ( closes #964 )
2025-03-24 19:42:23 +02:00