Selaa lähdekoodia

fix(docs): Add missing @types/node dependency

The docs package uses Node.js built-in modules (path, url) and
import.meta.url which require type declarations for TypeScript
compilation.

Fixes CI build failure in publish_docs workflow.
David Höck 1 päivä sitten
vanhempi
sitoutus
57d3736452
2 muutettua tiedostoa jossa 19 lisäystä ja 0 poistoa
  1. 18 0
      docs/package-lock.json
  2. 1 0
      docs/package.json

+ 18 - 0
docs/package-lock.json

@@ -11,6 +11,7 @@
                 "@vendure-io/docs-provider": "^0.9.0"
                 "@vendure-io/docs-provider": "^0.9.0"
             },
             },
             "devDependencies": {
             "devDependencies": {
+                "@types/node": "^22.10.10",
                 "rimraf": "^5.0.5",
                 "rimraf": "^5.0.5",
                 "tsx": "^4.7.0",
                 "tsx": "^4.7.0",
                 "typescript": "5.8.2"
                 "typescript": "5.8.2"
@@ -578,6 +579,16 @@
             "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==",
             "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==",
             "license": "MIT"
             "license": "MIT"
         },
         },
+        "node_modules/@types/node": {
+            "version": "22.19.7",
+            "resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.7.tgz",
+            "integrity": "sha512-MciR4AKGHWl7xwxkBa6xUGxQJ4VBOmPTF7sL+iGzuahOFaO0jHCsuEfS80pan1ef4gWId1oWOweIhrDEYLuaOw==",
+            "dev": true,
+            "license": "MIT",
+            "dependencies": {
+                "undici-types": "~6.21.0"
+            }
+        },
         "node_modules/@types/unist": {
         "node_modules/@types/unist": {
             "version": "3.0.3",
             "version": "3.0.3",
             "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz",
             "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz",
@@ -3069,6 +3080,13 @@
                 "node": ">=14.17"
                 "node": ">=14.17"
             }
             }
         },
         },
+        "node_modules/undici-types": {
+            "version": "6.21.0",
+            "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
+            "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
+            "dev": true,
+            "license": "MIT"
+        },
         "node_modules/unified": {
         "node_modules/unified": {
             "version": "11.0.5",
             "version": "11.0.5",
             "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz",
             "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz",

+ 1 - 0
docs/package.json

@@ -32,6 +32,7 @@
         "@vendure-io/docs-provider": "^0.9.0"
         "@vendure-io/docs-provider": "^0.9.0"
     },
     },
     "devDependencies": {
     "devDependencies": {
+        "@types/node": "^22.10.10",
         "rimraf": "^5.0.5",
         "rimraf": "^5.0.5",
         "tsx": "^4.7.0",
         "tsx": "^4.7.0",
         "typescript": "5.8.2"
         "typescript": "5.8.2"