Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 0bbfaff

Browse files
committed
Merge remote-tracking branch 'origin/develop' into renovate/electron-rebuild-4.x
2 parents c835010 + 64fa4cd commit 0bbfaff

File tree

10 files changed

+238
-415
lines changed

10 files changed

+238
-415
lines changed

.github/workflows/dev.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
steps:
2626
- name: Checkout the repository
2727
uses: actions/checkout@v4
28+
with:
29+
fetch-depth: 0 # needed for https://github.com/marketplace/actions/nx-set-shas
2830

2931
- uses: pnpm/action-setup@v4
3032
- name: Set up node & dependencies

_regroup/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@types/express": "5.0.1",
4141
"@types/node": "22.14.1",
4242
"@types/yargs": "17.0.33",
43-
"@vitest/coverage-v8": "3.1.1",
43+
"@vitest/coverage-v8": "3.1.2",
4444
"eslint": "9.24.0",
4545
"eslint-plugin-simple-import-sort": "12.1.1",
4646
"esm": "3.2.25",
@@ -49,7 +49,7 @@
4949
"rcedit": "4.0.1",
5050
"rimraf": "6.0.1",
5151
"tslib": "2.8.1",
52-
"typedoc": "0.28.2",
52+
"typedoc": "0.28.3",
5353
"typedoc-plugin-missing-exports": "4.0.0"
5454
},
5555
"optionalDependencies": {

apps/client/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@triliumnext/client",
3-
"version": "0.0.1",
3+
"version": "0.94.0",
44
"description": "JQuery-based client for TriliumNext, used for both web and desktop (via Electron)",
55
"private": true,
66
"license": "AGPL-3.0-only",
@@ -27,22 +27,22 @@
2727
"dayjs-plugin-utc": "0.1.2",
2828
"debounce": "2.2.0",
2929
"draggabilly": "3.0.0",
30-
"eslint-linter-browserify": "9.25.0",
30+
"eslint-linter-browserify": "9.25.1",
3131
"force-graph": "1.49.5",
3232
"globals": "16.0.0",
33-
"i18next": "25.0.0",
33+
"i18next": "25.0.2",
3434
"i18next-http-backend": "3.0.2",
3535
"jquery": "3.7.1",
3636
"jquery-hotkeys": "0.2.2",
3737
"jquery.fancytree": "2.38.5",
3838
"jsplumb": "2.15.6",
3939
"knockout": "3.5.1",
4040
"leaflet": "1.9.4",
41-
"leaflet-gpx": "2.1.2",
41+
"leaflet-gpx": "2.2.0",
4242
"mark.js": "8.11.1",
43-
"marked": "15.0.8",
43+
"marked": "15.0.11",
4444
"mermaid": "11.6.0",
45-
"mind-elixir": "4.5.1",
45+
"mind-elixir": "4.5.2",
4646
"panzoom": "9.4.3",
4747
"react": "18.3.1",
4848
"react-dom": "18.3.1",
@@ -57,10 +57,10 @@
5757
"@types/leaflet-gpx": "1.3.7",
5858
"@types/react": "18.3.20",
5959
"@types/react-dom": "18.3.6",
60-
"happy-dom": "17.4.4",
60+
"happy-dom": "17.4.6",
6161
"script-loader": "0.7.2"
6262
},
6363
"nx": {
6464
"name": "client"
6565
}
66-
}
66+
}

apps/server/package.json

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
22
"name": "@triliumnext/server",
3-
"version": "0.0.1",
3+
"version": "0.94.0",
44
"description": "Desktop client for TriliumNext, embedding both the client and the server.",
55
"private": true,
6-
"dependencies": {
6+
"dependencies": {
77
"better-sqlite3": "11.9.1",
88
"jquery.fancytree": "2.38.5",
99
"jquery-hotkeys": "0.2.2",
1010
"@highlightjs/cdn-assets": "11.11.1"
1111
},
1212
"devDependencies": {
1313
"@electron/remote": "2.1.2",
14-
"@excalidraw/excalidraw": "0.18.0",
14+
"@excalidraw/excalidraw": "0.18.0",
1515
"@types/archiver": "6.0.3",
1616
"@types/better-sqlite3": "7.6.13",
1717
"@types/cheerio": "0.22.35",
@@ -47,7 +47,7 @@
4747
"boxicons": "2.1.4",
4848
"codemirror": "5.65.19",
4949
"express-http-proxy": "2.1.1",
50-
"jquery": "3.7.1",
50+
"jquery": "3.7.1",
5151
"katex": "0.16.22",
5252
"normalize.css": "8.0.1",
5353
"@anthropic-ai/sdk": "0.39.0",
@@ -57,15 +57,15 @@
5757
"@triliumnext/turndown-plugin-gfm": "workspace:*",
5858
"archiver": "7.0.1",
5959
"async-mutex": "0.5.0",
60-
"axios": "1.8.4",
60+
"axios": "1.9.0",
6161
"bindings": "1.5.0",
6262
"chardet": "2.1.0",
6363
"cheerio": "1.0.0",
6464
"chokidar": "4.0.3",
6565
"cls-hooked": "4.2.2",
6666
"compression": "1.8.0",
6767
"cookie-parser": "1.4.7",
68-
"csrf-csrf": "3.1.0",
68+
"csrf-csrf": "3.2.2",
6969
"dayjs": "1.11.13",
7070
"debounce": "2.2.0",
7171
"debug": "4.4.0",
@@ -85,16 +85,16 @@
8585
"html2plaintext": "2.1.4",
8686
"http-proxy-agent": "7.0.2",
8787
"https-proxy-agent": "7.0.6",
88-
"i18next": "25.0.0",
88+
"i18next": "25.0.2",
8989
"i18next-fs-backend": "2.6.0",
9090
"image-type": "5.2.0",
9191
"ini": "5.0.0",
9292
"is-animated": "2.0.2",
93-
"is-svg": "5.1.0",
93+
"is-svg": "6.0.0",
9494
"jimp": "1.6.0",
9595
"js-yaml": "4.1.0",
9696
"jsdom": "26.1.0",
97-
"marked": "15.0.8",
97+
"marked": "15.0.11",
9898
"mime-types": "3.0.1",
9999
"multer": "1.4.5-lts.2",
100100
"normalize-strings": "1.1.1",
@@ -117,7 +117,7 @@
117117
"tmp": "0.2.3",
118118
"turndown": "7.2.0",
119119
"unescape": "1.0.1",
120-
"webpack": "5.99.6",
120+
"webpack": "5.99.7",
121121
"ws": "8.18.1",
122122
"xml2js": "0.6.2",
123123
"yauzl": "3.2.0",
@@ -149,11 +149,15 @@
149149
}
150150
},
151151
"package": {
152-
"dependsOn": [ "build" ],
152+
"dependsOn": [
153+
"build"
154+
],
153155
"command": "bash apps/server/scripts/build-server.sh"
154156
},
155157
"start-prod": {
156-
"dependsOn": [ "build" ],
158+
"dependsOn": [
159+
"build"
160+
],
157161
"command": "node apps/server/dist/main.js"
158162
},
159163
"docker-build": {
@@ -191,4 +195,4 @@
191195
}
192196
}
193197
}
194-
}
198+
}

docs/Release Notes/Release Notes/v0.94.0.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,7 @@
3030

3131
## 🛠️ Technical updates
3232

33-
* \[\]
33+
* The application has been completely restructured to a `pnpm` mono-repo using NX.
34+
* This is only the beginning, where we have properly split the client, server and desktop apps. We'll integrate more and more repos as time goes by, especially the ckeditor.
35+
* For documentation please consult [Notes/docs/Developer Guide/Developer Guide/Environment Setup.md at develop · TriliumNext/Notes](https://github.com/TriliumNext/Notes/blob/develop/docs/Developer%20Guide/Developer%20Guide/Environment%20Setup.md) and [Notes/docs/Developer Guide/Developer Guide/Project Structure.md at develop · TriliumNext/Notes](https://github.com/TriliumNext/Notes/blob/develop/docs/Developer%20Guide/Developer%20Guide/Project%20Structure.md).
36+
* A large number of [dependency updates](https://github.com/TriliumNext/Notes/milestone/13).

nx.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "./node_modules/nx/schemas/nx-schema.json",
3-
"defaultBase": "origin/develop",
3+
"defaultBase": "develop",
44
"namedInputs": {
55
"default": [
66
"{projectRoot}/**/*",

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@triliumnext/source",
3-
"version": "0.0.0",
3+
"version": "0.94.0",
44
"description": "Build your personal knowledge base with TriliumNext Notes",
55
"directories": {
66
"doc": "docs"
@@ -13,6 +13,7 @@
1313
"electron:build": "nx build desktop",
1414
"chore:ci-update-nightly-version": "tsx ./scripts/update-nightly-version.ts",
1515
"chore:update-build-info": "tsx ./scripts/update-build-info.ts",
16+
"chore:update-version": "tsx ./scripts/update-version.ts",
1617
"test": "pnpm nx run-many -t test"
1718
},
1819
"private": true,
@@ -42,7 +43,7 @@
4243
"@vitest/coverage-v8": "^3.0.5",
4344
"@vitest/ui": "^3.0.0",
4445
"cross-env": "7.0.3",
45-
"esbuild": "^0.19.2",
46+
"esbuild": "^0.25.0",
4647
"eslint": "^9.8.0",
4748
"eslint-config-prettier": "^10.0.0",
4849
"eslint-plugin-playwright": "^1.6.2",
@@ -53,7 +54,7 @@
5354
"react-refresh": "^0.10.0",
5455
"swc-loader": "0.1.15",
5556
"tslib": "^2.3.0",
56-
"tsx": "4.19.3",
57+
"tsx": "4.19.4",
5758
"typescript": "~5.7.2",
5859
"typescript-eslint": "^8.19.0",
5960
"vite": "^6.0.0",

packages/commons/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@triliumnext/commons",
3-
"version": "0.0.1",
3+
"version": "0.94.0",
44
"description": "Shared library between the clients (e.g. browser, Electron) and the server, mostly for type definitions and utility methods.",
55
"private": true,
66
"type": "module",
@@ -44,4 +44,4 @@
4444
"dependencies": {
4545
"@swc/helpers": "~0.5.11"
4646
}
47-
}
47+
}

0 commit comments

Comments
 (0)