From 65eb67e29e2a5cfb8c2971082e24b31b1bd4730c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Zieli=C5=84ski?= Date: Wed, 24 Apr 2024 14:54:55 +0200 Subject: [PATCH] Docs site: Add the sed patch to the dev and start commands as well --- packages/docs/site/project.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/packages/docs/site/project.json b/packages/docs/site/project.json index 9f9ea3ccd8..40ffecc1de 100644 --- a/packages/docs/site/project.json +++ b/packages/docs/site/project.json @@ -64,7 +64,11 @@ "start": { "executor": "nx:run-commands", "options": { - "commands": ["docusaurus start"], + "commands": [ + "sed -i 's/namedDeclarations\\[i\\]\\./namedDeclarations[i]?./g' ../../../node_modules/typedoc/dist/lib/converter/types.js ", + "docusaurus start" + ], + "parallel": false, "cwd": "packages/docs/site" }, "dependsOn": ["build:json"] @@ -72,7 +76,11 @@ "dev": { "executor": "nx:run-commands", "options": { - "commands": ["docusaurus start"], + "commands": [ + "sed -i 's/namedDeclarations\\[i\\]\\./namedDeclarations[i]?./g' ../../../node_modules/typedoc/dist/lib/converter/types.js ", + "docusaurus start" + ], + "parallel": false, "cwd": "packages/docs/site" }, "dependsOn": ["build:json"]