From 64f817eb22485b073b9e9f4d543ac3daa878ff0a Mon Sep 17 00:00:00 2001 From: MaXFeeD <46795182+MaXFeeD@users.noreply.github.com> Date: Thu, 21 Mar 2024 01:16:50 +0300 Subject: [PATCH] Prebuild typedoc theme --- api/package-lock.json | 2 +- api/package.json | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/api/package-lock.json b/api/package-lock.json index defb9714e..6eb0270bc 100644 --- a/api/package-lock.json +++ b/api/package-lock.json @@ -2299,7 +2299,7 @@ "@microsoft/tsdoc": "^0.14.2", "@vscode/codicons": "^0.0.33", "tsx": "^3.12.7", - "typescript": "5.1.3" + "typescript": "^5.1.3" }, "dependencies": { "typescript": { diff --git a/api/package.json b/api/package.json index fe74e3a83..b7aa0d850 100644 --- a/api/package.json +++ b/api/package.json @@ -21,6 +21,15 @@ "build": "wireit" }, "wireit": { + "prebuild-theme": { + "command": "npm run --prefix typedoc-codicon-theme build", + "files": [ + "typedoc-codicon-theme/**/*" + ], + "output": [ + "typedoc-codicon-theme/dist" + ] + }, "prebuild-declarations": { "command": "tsx tools/rebuild_types.ts core-engine", "files": [ @@ -41,6 +50,7 @@ "typedoc-codicon-theme/**/*" ], "dependencies": [ + "prebuild-theme", "prebuild-declarations" ], "output": [