fix: fix markdown documentation removal at typedoc generation
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 9 Aug 2023 22:49:01 +0000 (00:49 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 9 Aug 2023 22:49:01 +0000 (00:49 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
package.json

index 3e3d217f9519c50b659f0c95c0a9b29b05512739..ae059f63f337043512196f5c48ca05c19ec87351 100644 (file)
@@ -31,7 +31,7 @@
     "lint:fix": "eslint . --cache --fix",
     "lint:report": "eslint . --cache --format json --output-file reports/eslint.json",
     "release": "release-it",
-    "typedoc": "typedoc",
+    "typedoc": "mkdir ./tmp && cp ./docs/*.md ./tmp && typedoc && cp ./tmp/*.md ./docs && rm -rf ./tmp",
     "prepublishOnly": "pnpm build:prod"
   },
   "ts-standard": {