A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.
refactor: remove unused pretty-print-error dependency (#2992)
Meier Lukas4dfde2ba05f7
diff --git a/package.json b/package.jsonindex 1ebc3264e..dafd82916 100644--- a/package.json+++ b/package.json@@ -72,9 +72,6 @@"overrides": {"proxmox-api>undici": "7.8.0"},- "patchedDependencies": {- "pretty-print-error": "patches/pretty-print-error.patch"- },"allowUnusedPatches": true,"ignoredBuiltDependencies": ["@scarf/scarf",diff --git a/packages/api/package.json b/packages/api/package.jsonindex 380fdcbd3..62dccbb39 100644--- a/packages/api/package.json+++ b/packages/api/package.json@@ -46,7 +46,6 @@"@trpc/server": "^11.1.2","lodash.clonedeep": "^4.5.0","next": "15.3.1",- "pretty-print-error": "^1.1.2","react": "19.1.0","react-dom": "19.1.0","superjson": "2.2.2",diff --git a/packages/auth/package.json b/packages/auth/package.jsonindex 3fbc2d8f8..aa8234320 100644--- a/packages/auth/package.json+++ b/packages/auth/package.json@@ -37,7 +37,6 @@"ldapts": "7.4.0","next": "15.3.1","next-auth": "5.0.0-beta.27",- "pretty-print-error": "^1.1.2","react": "19.1.0","react-dom": "19.1.0","zod": "^3.24.3"diff --git a/packages/ping/package.json b/packages/ping/package.jsonindex 089c0f336..1dec8055d 100644--- a/packages/ping/package.json+++ b/packages/ping/package.json@@ -24,8 +24,7 @@"dependencies": {"@homarr/certificates": "workspace:^0.1.0","@homarr/common": "workspace:^0.1.0",- "@homarr/log": "workspace:^0.1.0",- "pretty-print-error": "^1.1.2"+ "@homarr/log": "workspace:^0.1.0"},"devDependencies": {"@homarr/eslint-config": "workspace:^0.2.0",diff --git a/packages/request-handler/package.json b/packages/request-handler/package.jsonindex 468f3a561..379dad834 100644--- a/packages/request-handler/package.json+++ b/packages/request-handler/package.json@@ -31,7 +31,6 @@"@homarr/redis": "workspace:^0.1.0","dayjs": "^1.11.13","octokit": "^4.1.3",- "pretty-print-error": "^1.1.2","superjson": "2.2.2"},"devDependencies": {diff --git a/patches/pretty-print-error.patch b/patches/pretty-print-error.patchdeleted file mode 100644index c61cb16b5..000000000--- a/patches/pretty-print-error.patch+++ /dev/null@@ -1,16 +0,0 @@-diff --git a/src/index.ts b/src/index.ts-index c8f62a743b89040c1d10a8ae3795bec8afcbc134..7cd7c1e98c1c9516b40f678627f51fd1adfa18c7 100644---- a/src/index.ts-+++ b/src/index.ts-@@ -109,9 +109,9 @@ export function formatError(- (name) => name !== "stack" && name !== "message"- );- if (propNames.length > 0) {-- const props = {};-+ const props: Record<string, unknown> = {};- propNames.forEach((name) => {-- props[name] = err[name];-+ props[name] = (err as Record<string, object>)[name];- });-- let propertiesString;diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex dd5c01da6..e81dd4ebc 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -7,11 +7,6 @@ settings:overrides:proxmox-api>undici: 7.8.0-patchedDependencies:- pretty-print-error:- hash: d1432e02330bdaf8359eb0e54528a74ed6b7e5cce6bb65c13310c82e34fd1e4d- path: patches/pretty-print-error.patch-importers:.:@@ -596,9 +591,6 @@ importers:next:specifier: 15.3.1version: 15.3.1(@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected])- pretty-print-error:- specifier: ^1.1.2- version: 1.1.2(patch_hash=d1432e02330bdaf8359eb0e54528a74ed6b7e5cce6bb65c13310c82e34fd1e4d)react:specifier: 19.1.0version: 19.1.0@@ -678,9 +670,6 @@ importers:next-auth:specifier: 5.0.0-beta.27version: 5.0.0-beta.27([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected])- pretty-print-error:- specifier: ^1.1.2- version: 1.1.2(patch_hash=d1432e02330bdaf8359eb0e54528a74ed6b7e5cce6bb65c13310c82e34fd1e4d)react:specifier: 19.1.0version: 19.1.0@@ -1640,9 +1629,6 @@ importers:'@homarr/log':specifier: workspace:^0.1.0version: link:../log- pretty-print-error:- specifier: ^1.1.2- version: 1.1.2(patch_hash=d1432e02330bdaf8359eb0e54528a74ed6b7e5cce6bb65c13310c82e34fd1e4d)devDependencies:'@homarr/eslint-config':specifier: workspace:^0.2.0@@ -1726,9 +1712,6 @@ importers:octokit:specifier: ^4.1.3version: 4.1.3- pretty-print-error:- specifier: ^1.1.2- version: 1.1.2(patch_hash=d1432e02330bdaf8359eb0e54528a74ed6b7e5cce6bb65c13310c82e34fd1e4d)superjson:specifier: 2.2.2version: 2.2.2@@ -8689,9 +8672,6 @@ packages:resolution: {integrity: sha512-4yf0QO/sllf/1zbZWYnvWw3NxCQwLXKzIj0G849LSufP15BXKM0rbD2Z3wVnkMfjdn/CB0Dpp444gYAACdsplg==}engines: {node: '>=18'}- resolution: {integrity: sha512-XkKN3W8aeRYApO17WpzuaJZmqH3WNSFeqR4Sxt7vu+C7pcWB+3+JDJ2dnnhzSCqvC1IaYR36CVh4VsFZyBicQA==}-resolution: {integrity: sha512-t13BGPUlFDR7wRB5kQDG4jjl7XeuH6jbJGt11JHPL96qwsEHNX2+68tFXqc1/k+/jALsbSWJKUOT/hcYAZ5LkA==}engines: {node: '>=6'}@@ -17852,10 +17832,6 @@ snapshots:dependencies:parse-ms: 4.0.0- [email protected](patch_hash=d1432e02330bdaf8359eb0e54528a74ed6b7e5cce6bb65c13310c82e34fd1e4d):- dependencies:- kleur: 4.1.5-