Skip to content

Build your personal knowledge base with Trilium Notes

fix(monorepo/client): errors after pnpm

Elian Doranc8f0fac7c76a
diff --git a/_regroup/package.json b/_regroup/package.json
index 7974d38ef4..f7ffc2fa68 100644
--- a/_regroup/package.json
+++ b/_regroup/package.json
@@ -34,9 +34,6 @@
"chore:generate-document": "cross-env nodemon ./bin/generate_document.ts 1000",
"chore:generate-openapi": "tsx bin/generate-openapi.js"
},
- "dependencies": {
- "dayjs-plugin-utc": "0.1.2"
- },
"devDependencies": {
"@playwright/test": "1.51.1",
"@stylistic/eslint-plugin": "4.2.0",
@@ -47,7 +44,6 @@
"eslint": "9.24.0",
"eslint-plugin-simple-import-sort": "12.1.1",
"esm": "3.2.25",
- "globals": "16.0.0",
"jsdoc": "4.0.4",
"lorem-ipsum": "2.0.8",
"rcedit": "4.0.1",
diff --git a/apps/client/package.json b/apps/client/package.json
index 93688b2c96..abaf04eecf 100644
--- a/apps/client/package.json
+++ b/apps/client/package.json
@@ -35,7 +35,13 @@
"@popperjs/core": "2.11.8",
"eslint-linter-browserify": "9.25.0",
"@eslint/js": "9.25.0",
- "bootstrap": "5.3.5"
+ "bootstrap": "5.3.5",
+ "dayjs": "1.11.13",
+ "dayjs-plugin-utc": "0.1.2",
+ "debounce": "2.2.0",
+ "marked": "15.0.8",
+ "globals": "16.0.0",
+ "@triliumnext/commons": "workspace:*"
},
"devDependencies": {
"script-loader": "0.7.2",
diff --git a/apps/client/webpack.config.js b/apps/client/webpack.config.js
index 33772adf0b..19d1d959f7 100644
--- a/apps/client/webpack.config.js
+++ b/apps/client/webpack.config.js
@@ -48,6 +48,9 @@ module.exports = {
entryPath: "./src/set_password.ts"
}
],
+ externalDependencies: [
+ "electron"
+ ],
baseHref: '/',
assets: [
"./src/assets",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 9dc47601af..901bc9c3f1 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -168,9 +168,21 @@ importers:
'@popperjs/core':
specifier: 2.11.8
version: 2.11.8
+ '@triliumnext/commons':
+ specifier: workspace:*
+ version: link:../../packages/commons
bootstrap:
specifier: 5.3.5
version: 5.3.5(@popperjs/[email protected])
+ dayjs:
+ specifier: 1.11.13
+ version: 1.11.13
+ dayjs-plugin-utc:
+ specifier: 0.1.2
+ version: 0.1.2
+ debounce:
+ specifier: 2.2.0
+ version: 2.2.0
draggabilly:
specifier: 3.0.0
version: 3.0.0
@@ -180,6 +192,9 @@ importers:
force-graph:
specifier: 1.49.5
version: 1.49.5
+ globals:
+ specifier: 16.0.0
+ version: 16.0.0
i18next:
specifier: 25.0.0
version: 25.0.0([email protected])
@@ -210,6 +225,9 @@ importers:
mark.js:
specifier: 8.11.1
version: 8.11.1
+ marked:
+ specifier: 15.0.8
+ version: 15.0.8
mermaid:
specifier: 11.6.0
version: 11.6.0
@@ -4774,6 +4792,9 @@ packages:
resolution: {integrity: sha512-ZYP5VBHshaDAiVZxjbRVcFJpc+4xGgT0bK3vzy1HLN8jTO975HEbuYzZJcHoQEY5K1a0z8YayJkyVETa08eNTg==}
engines: {node: '>=18'}
+ resolution: {integrity: sha512-ExERH5o3oo6jFOdkvMP3gytTCQ9Ksi5PtylclJWghr7k7m3o2U5QrwtdiJkOxLOH4ghr0EKhpqGefzGz1VvVJg==}
+
resolution: {integrity: sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==}
@@ -5703,6 +5724,10 @@ packages:
resolution: {integrity: sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==}
engines: {node: '>=18'}
+ resolution: {integrity: sha512-iInW14XItCXET01CQFqudPOWP2jYMl7T+QRQT+UNcR/iQncN/F0UNpgd76iFkBPgNQb4+X3LV9tLJYzwh+Gl3A==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==}
engines: {node: '>= 0.4'}
@@ -14587,6 +14612,8 @@ snapshots:
whatwg-mimetype: 4.0.0
whatwg-url: 14.2.0
+
@@ -15616,6 +15643,8 @@ snapshots:
+
dependencies:
define-properties: 1.2.1