Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

fix(deps): missing dependencies in definitions package for docs link codegen (#3119)

Meier Lukas42e7fe3273b0
diff --git a/packages/definitions/package.json b/packages/definitions/package.json
index bd85d07a7..ef85127ac 100644
--- a/packages/definitions/package.json
+++ b/packages/definitions/package.json
@@ -23,13 +23,16 @@
},
"prettier": "@homarr/prettier-config",
"dependencies": {
- "@homarr/common": "workspace:^0.1.0"
+ "@homarr/common": "workspace:^0.1.0",
+ "fast-xml-parser": "^5.2.3",
+ "zod": "^3.24.4"
},
"devDependencies": {
"@homarr/eslint-config": "workspace:^0.2.0",
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.26.0",
+ "tsx": "4.19.4",
"typescript": "^5.8.3"
}
}
diff --git a/packages/definitions/src/docs/codegen.ts b/packages/definitions/src/docs/codegen.ts
index 9f35a3af3..e8087efb8 100644
--- a/packages/definitions/src/docs/codegen.ts
+++ b/packages/definitions/src/docs/codegen.ts
@@ -1,6 +1,6 @@
-import fs from "fs/promises";
-import path, { dirname } from "path";
-import { fileURLToPath } from "url";
+import fs from "node:fs/promises";
+import path, { dirname } from "node:path";
+import { fileURLToPath } from "node:url";
import { XMLParser } from "fast-xml-parser";
import { z } from "zod";
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 44eec6ad2..3bb7f3575 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1079,6 +1079,12 @@ importers:
'@homarr/common':
specifier: workspace:^0.1.0
version: link:../common
+ fast-xml-parser:
+ specifier: ^5.2.3
+ version: 5.2.3
+ zod:
+ specifier: ^3.24.4
+ version: 3.24.4
devDependencies:
'@homarr/eslint-config':
specifier: workspace:^0.2.0
@@ -1092,6 +1098,9 @@ importers:
eslint:
specifier: ^9.26.0
version: 9.26.0
+ tsx:
+ specifier: 4.19.4
+ version: 4.19.4
typescript:
specifier: ^5.8.3
version: 5.8.3