Skip to content

Build your personal knowledge base with Trilium Notes

chore(deps): use different approach for chalk, upath

Elian Doranc98c2432ef9c
diff --git a/package.json b/package.json
index a432135974..fec7773cc6 100644
--- a/package.json
+++ b/package.json
@@ -46,6 +46,7 @@
"@types/node": "22.15.3",
"@vitest/coverage-v8": "^3.0.5",
"@vitest/ui": "^3.0.0",
+ "chalk": "5.4.1",
"cross-env": "7.0.3",
"esbuild": "^0.25.0",
"eslint": "^9.8.0",
@@ -61,6 +62,7 @@
"tsx": "4.19.4",
"typescript": "~5.7.2",
"typescript-eslint": "^8.19.0",
+ "upath": "2.0.1",
"vite": "^6.0.0",
"vite-plugin-dts": "~4.5.0",
"vitest": "^3.0.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 694b5e3e04..59c31ceb89 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -84,6 +84,9 @@ importers:
'@vitest/ui':
specifier: ^3.0.0
version: 3.1.2([email protected])
+ chalk:
+ specifier: 5.4.1
+ version: 5.4.1
cross-env:
specifier: 7.0.3
version: 7.0.3
@@ -129,6 +132,9 @@ importers:
typescript-eslint:
specifier: ^8.19.0
+ upath:
+ specifier: 2.0.1
+ version: 2.0.1
vite:
specifier: ^6.0.0
@@ -285,7 +291,7 @@ importers:
version: 18.3.6(@types/[email protected])
copy-webpack-plugin:
specifier: 13.0.0
happy-dom:
specifier: 17.4.6
version: 17.4.6
@@ -377,7 +383,7 @@ importers:
version: 1.0.2
copy-webpack-plugin:
specifier: 13.0.0
electron:
specifier: 35.2.2
version: 35.2.2
@@ -433,7 +439,7 @@ importers:
version: 11.0.4
copy-webpack-plugin:
specifier: 13.0.0
electron:
specifier: 35.2.2
version: 35.2.2
@@ -611,7 +617,7 @@ importers:
version: 1.4.7
copy-webpack-plugin:
specifier: 13.0.0
csrf-csrf:
specifier: 3.2.2
version: 3.2.2
@@ -782,7 +788,7 @@ importers:
version: 1.0.1
webpack:
specifier: 5.99.7
ws:
specifier: 8.18.1
@@ -834,7 +840,7 @@ importers:
version: 4.1.0
'@ckeditor/ckeditor5-package-tools':
specifier: ^3.0.1
'@typescript-eslint/eslint-plugin':
specifier: ~5.43.0
@@ -882,7 +888,7 @@ importers:
vitest:
specifier: ^2.0.5
webdriverio:
specifier: ^9.0.7
@@ -897,7 +903,7 @@ importers:
version: 4.1.0
'@ckeditor/ckeditor5-package-tools':
specifier: ^3.0.1
'@typescript-eslint/eslint-plugin':
specifier: ~5.43.0
@@ -945,7 +951,7 @@ importers:
vitest:
specifier: ^2.0.5
webdriverio:
specifier: ^9.0.7
@@ -960,7 +966,7 @@ importers:
version: 4.1.0
'@ckeditor/ckeditor5-package-tools':
specifier: ^3.0.1
'@typescript-eslint/eslint-plugin':
specifier: ~5.43.0
@@ -1008,7 +1014,7 @@ importers:
vitest:
specifier: ^2.0.5
webdriverio:
specifier: ^9.0.7
@@ -1020,13 +1026,13 @@ importers:
'@ckeditor/ckeditor5-dev-utils':
specifier: 43.0.1
'@ckeditor/ckeditor5-inspector':
specifier: '>=4.1.0'
version: 4.1.0
'@ckeditor/ckeditor5-package-tools':
specifier: ^3.0.1
'@typescript-eslint/eslint-plugin':
specifier: ~5.43.0
@@ -1077,7 +1083,7 @@ importers:
vitest:
specifier: ^2.0.5
webdriverio:
specifier: ^9.0.7
@@ -1099,7 +1105,7 @@ importers:
version: 4.1.0
'@ckeditor/ckeditor5-package-tools':
specifier: ^3.0.1
'@typescript-eslint/eslint-plugin':
specifier: ~5.43.0
@@ -1147,7 +1153,7 @@ importers:
vitest:
specifier: ^2.0.5
webdriverio:
specifier: ^9.0.7
@@ -15095,11 +15101,11 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@babel/parser': 7.27.0
'@babel/traverse': 7.27.0
chalk: 5.4.1
fs-extra: 11.3.0
glob: 10.4.5
@@ -15117,58 +15123,58 @@ snapshots:
- uglify-js
- webpack
dependencies:
'@ckeditor/ckeditor5-dev-translations': 43.0.1
chalk: 3.0.0
cli-cursor: 3.1.0
cli-spinners: 2.9.2
cssnano: 6.1.2([email protected])
del: 5.1.0
fs-extra: 11.3.0
is-interactive: 1.0.0
javascript-stringify: 1.6.0
mocha: 7.2.0
postcss: 8.5.3
postcss-import: 14.1.0([email protected])
postcss-mixins: 9.0.4([email protected])
postcss-nesting: 13.0.1([email protected])
shelljs: 0.8.5
through2: 3.0.2
transitivePeerDependencies:
- bluebird
- supports-color
- webpack
dependencies:
chalk: 5.4.1
cli-cursor: 5.0.0
cli-spinners: 3.2.0
cssnano: 7.0.6([email protected])
fs-extra: 11.3.0
is-interactive: 2.0.0
mocha: 10.8.2
postcss: 8.5.3
postcss-import: 16.1.0([email protected])
postcss-mixins: 11.0.3([email protected])
postcss-nesting: 13.0.1([email protected])
shelljs: 0.8.5
through2: 4.0.2
transitivePeerDependencies:
- '@rspack/core'
@@ -15402,29 +15408,29 @@ snapshots:
'@ckeditor/ckeditor5-utils': 43.2.0
ckeditor5: 43.2.0
dependencies:
buffer: 6.0.3
chalk: 5.4.1
fs-extra: 11.3.0
glob: 7.2.3
minimist: 1.2.8
postcss: 8.5.3
process: 0.11.10
stylelint: 16.19.1([email protected])
stylelint-config-ckeditor5: 2.0.1([email protected]([email protected]))
typescript: 5.0.4
transitivePeerDependencies:
- '@rspack/core'
- '@swc/core'
@@ -19418,7 +19424,7 @@ snapshots:
sirv: 3.0.1
tinyrainbow: 1.2.0
optionalDependencies:
playwright: 1.52.0
@@ -19440,7 +19446,7 @@ snapshots:
sirv: 3.0.1
tinyrainbow: 1.2.0
optionalDependencies:
playwright: 1.52.0
@@ -19464,7 +19470,7 @@ snapshots:
magicast: 0.3.5
test-exclude: 7.0.1
tinyrainbow: 1.2.0
transitivePeerDependencies:
- supports-color
@@ -21093,14 +21099,14 @@ snapshots:
serialize-javascript: 6.0.2
dependencies:
glob-parent: 6.0.2
normalize-path: 3.0.0
schema-utils: 4.3.2
serialize-javascript: 6.0.2
tinyglobby: 0.2.13
dependencies:
@@ -21197,7 +21203,7 @@ snapshots:
dependencies:
icss-utils: 5.1.0([email protected])
loader-utils: 2.0.4
@@ -21209,7 +21215,7 @@ snapshots:
postcss-value-parser: 4.2.0
schema-utils: 3.3.0
semver: 7.7.1
dependencies:
@@ -21224,7 +21230,7 @@ snapshots:
optionalDependencies:
dependencies:
icss-utils: 5.1.0([email protected])
postcss: 8.5.3
@@ -21235,7 +21241,7 @@ snapshots:
postcss-value-parser: 4.2.0
semver: 7.7.1
optionalDependencies:
dependencies:
@@ -22307,20 +22313,20 @@ snapshots:
dependencies:
esbuild: 0.17.19
get-tsconfig: 4.10.0
loader-utils: 2.0.4
webpack-sources: 1.4.3
dependencies:
esbuild: 0.25.3
get-tsconfig: 4.10.0
loader-utils: 2.0.4
webpack-sources: 1.4.3
@@ -25474,10 +25480,10 @@ snapshots:
schema-utils: 4.3.2
dependencies:
schema-utils: 4.3.2
@@ -26638,7 +26644,7 @@ snapshots:
dependencies:
postcss: 7.0.39
dependencies:
cosmiconfig: 7.1.0
klona: 2.0.6
@@ -26646,7 +26652,7 @@ snapshots:
postcss: 8.5.3
schema-utils: 3.3.0
semver: 7.7.1
dependencies:
@@ -26656,14 +26662,14 @@ snapshots:
semver: 7.7.1
dependencies:
cosmiconfig: 9.0.0([email protected])
jiti: 1.21.7
postcss: 8.5.3
semver: 7.7.1
optionalDependencies:
transitivePeerDependencies:
- typescript
@@ -27267,11 +27273,11 @@ snapshots:
dependencies:
loader-utils: 2.0.4
schema-utils: 3.3.0
dependencies:
@@ -28510,19 +28516,19 @@ snapshots:
'@tokenizer/token': 0.3.0
peek-readable: 5.4.2
dependencies:
loader-utils: 2.0.4
schema-utils: 3.3.0
dependencies:
dependencies:
@@ -28910,7 +28916,7 @@ snapshots:
rimraf: 2.6.3
optional: true
dependencies:
cacache: 15.3.0
find-cache-dir: 3.3.2
@@ -28920,7 +28926,7 @@ snapshots:
serialize-javascript: 5.0.1
source-map: 0.6.1
terser: 5.39.0
webpack-sources: 1.4.3
transitivePeerDependencies:
- bluebird
@@ -28937,14 +28943,14 @@ snapshots:
'@swc/core': 1.5.29(@swc/[email protected])
esbuild: 0.25.3
dependencies:
'@jridgewell/trace-mapping': 0.3.25
jest-worker: 27.5.1
schema-utils: 4.3.2
serialize-javascript: 6.0.2
terser: 5.39.0
optionalDependencies:
'@swc/core': 1.5.29(@swc/[email protected])
esbuild: 0.25.3
@@ -29112,7 +29118,7 @@ snapshots:
dependencies:
chalk: 4.1.2
enhanced-resolve: 5.18.1
@@ -29120,7 +29126,7 @@ snapshots:
semver: 7.7.1
source-map: 0.7.4
typescript: 5.0.4
dependencies:
@@ -29722,7 +29728,7 @@ snapshots:
tsx: 4.19.4
yaml: 2.7.1
dependencies:
'@vitest/expect': 2.1.9
@@ -29761,7 +29767,7 @@ snapshots:
- supports-color
- terser
dependencies:
'@vitest/expect': 2.1.9
@@ -29998,7 +30004,7 @@ snapshots:
optionalDependencies:
dependencies:
colorette: 2.0.20
memfs: 4.17.0
@@ -30007,9 +30013,9 @@ snapshots:
range-parser: 1.2.1
schema-utils: 4.3.2
optionalDependencies:
dependencies:
'@types/bonjour': 3.5.13
'@types/connect-history-api-fallback': 1.5.4
@@ -30037,10 +30043,10 @@ snapshots:
serve-index: 1.9.1
sockjs: 0.3.24
spdy: 4.0.2
- webpack-dev-middleware: 7.4.2([email protected])
optionalDependencies:
webpack-cli: 6.0.1([email protected])
transitivePeerDependencies:
- bufferutil
@@ -30048,7 +30054,7 @@ snapshots:
- supports-color
- utf-8-validate
dependencies:
'@types/bonjour': 3.5.13
'@types/connect-history-api-fallback': 1.5.4
@@ -30076,10 +30082,10 @@ snapshots:
serve-index: 1.9.1
sockjs: 0.3.24
spdy: 4.0.2
+ webpack-dev-middleware: 7.4.2([email protected])
optionalDependencies:
webpack-cli: 6.0.1([email protected])
transitivePeerDependencies:
- bufferutil
@@ -30144,7 +30150,7 @@ snapshots:
- esbuild
- uglify-js
dependencies:
'@types/eslint-scope': 3.7.7
'@types/estree': 1.0.7
@@ -30167,7 +30173,7 @@ snapshots:
neo-async: 2.6.2
schema-utils: 4.3.2
tapable: 2.2.1
watchpack: 2.4.2
webpack-sources: 3.2.3
optionalDependencies:
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 4cba486e8b..6ac74b735b 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -20,12 +20,9 @@ onlyBuiltDependencies:
- macos-alias
- sqlite3
-publicHoistPattern:
+hoistPattern:
# Used by packages/ckeditor-* eslint script
- eslint-plugin-*
- eslint-plugin-ckeditor5-rules
- # Used by packages/ckeditor-* build script
- - upath
- - chalk
nodeLinker: isolated