Skip to content

High performance self-hosted photo and video management solution.

fix(docs): tsconfig issues in IDE (VSCode) - migrate tsconfig extends file to current docusaurus implementation (#16282)

Nicholas Flamyedbcf17e3a85
diff --git a/docs/package-lock.json b/docs/package-lock.json
index f572ba8cf6..52208c0672 100644
--- a/docs/package-lock.json
+++ b/docs/package-lock.json
@@ -28,6 +28,8 @@
},
"devDependencies": {
"@docusaurus/module-type-aliases": "~3.7.0",
+ "@docusaurus/tsconfig": "^3.7.0",
+ "@docusaurus/types": "^3.7.0",
"prettier": "^3.2.4",
"typescript": "^5.1.6"
},
@@ -3698,6 +3700,13 @@
"node": ">=18.0"
}
},
+ "node_modules/@docusaurus/tsconfig": {
+ "version": "3.7.0",
+ "resolved": "https://registry.npmjs.org/@docusaurus/tsconfig/-/tsconfig-3.7.0.tgz",
+ "integrity": "sha512-vRsyj3yUZCjscgfgcFYjIsTcAru/4h4YH2/XAE8Rs7wWdnng98PgWKvP5ovVc4rmRpRg2WChVW0uOy2xHDvDBQ==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/@docusaurus/types": {
"version": "3.7.0",
"resolved": "https://registry.npmjs.org/@docusaurus/types/-/types-3.7.0.tgz",
diff --git a/docs/package.json b/docs/package.json
index e35a6eb77a..27a7651f78 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -36,6 +36,8 @@
},
"devDependencies": {
"@docusaurus/module-type-aliases": "~3.7.0",
+ "@docusaurus/tsconfig": "^3.7.0",
+ "@docusaurus/types": "^3.7.0",
"prettier": "^3.2.4",
"typescript": "^5.1.6"
},
diff --git a/docs/tsconfig.json b/docs/tsconfig.json
index aa1c63a6c5..674c46e46d 100644
--- a/docs/tsconfig.json
+++ b/docs/tsconfig.json
@@ -1,9 +1,8 @@
{
// This file is not used in compilation. It is here just for a nice editor experience.
- "extends": "@tsconfig/docusaurus/tsconfig.json",
+ "extends": "@docusaurus/tsconfig",
"compilerOptions": {
- "baseUrl": ".",
- "module": "Node16"
+ "baseUrl": "."
}
}