From 82af7c358529d8417dbea112f316443d1c1bb14b Mon Sep 17 00:00:00 2001 From: tgreyuk Date: Mon, 1 Jul 2024 19:26:24 +0100 Subject: [PATCH] chore(docusaurus): updated package.json --- devtools/examples/docusaurus/package.json | 4 +++- packages/docusaurus-plugin-typedoc/package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/devtools/examples/docusaurus/package.json b/devtools/examples/docusaurus/package.json index 920599453..595ab4bba 100644 --- a/devtools/examples/docusaurus/package.json +++ b/devtools/examples/docusaurus/package.json @@ -4,8 +4,10 @@ "private": true, "scripts": { "docusaurus": "docusaurus", - "prestart": "cd ../../../packages/docusaurus-plugin-typedoc && npm run build", + "pre": "rm -rf ./docs && cd ../../../packages/docusaurus-plugin-typedoc && npm run build", + "prestart": "npm run pre", "start": "docusaurus start", + "prebuild": "npm run pre", "build": "docusaurus build", "swizzle": "docusaurus swizzle", "deploy": "docusaurus deploy", diff --git a/packages/docusaurus-plugin-typedoc/package.json b/packages/docusaurus-plugin-typedoc/package.json index 7e5c85184..28d09654e 100644 --- a/packages/docusaurus-plugin-typedoc/package.json +++ b/packages/docusaurus-plugin-typedoc/package.json @@ -16,7 +16,7 @@ }, "homepage": "http://typedoc-plugin-markdown.org/plugins/docusaurus", "peerDependencies": { - "typedoc-plugin-markdown": ">=4.1.0" + "typedoc-plugin-markdown": ">=4.0.0" }, "scripts": { "lint": "eslint ./src --ext .ts",