Skip to content

Build your personal knowledge base with Trilium Notes

chore(build-docs): integrate with docs:build

Elian Doran80f1707d8be2
diff --git a/apps/build-docs/package.json b/apps/build-docs/package.json
index 3936d7cf33..cdbf9a190d 100644
--- a/apps/build-docs/package.json
+++ b/apps/build-docs/package.json
@@ -2,13 +2,13 @@
"name": "build-docs",
"version": "1.0.0",
"description": "",
- "main": "index.js",
+ "main": "src/main.ts",
"scripts": {
- "test": "echo \"Error: no test specified\" && exit 1"
+ "start": "tsx ."
},
"keywords": [],
- "author": "",
- "license": "ISC",
+ "author": "Elian Doran <[email protected]>",
+ "license": "AGPL-3.0-only",
"packageManager": "[email protected]",
"devDependencies": {
"@redocly/cli": "2.10.0",
diff --git a/package.json b/package.json
index bc9283a4b7..69ad523cee 100644
--- a/package.json
+++ b/package.json
@@ -26,7 +26,7 @@
"chore:generate-openapi": "tsx ./scripts/generate-openapi.ts",
"chore:update-build-info": "tsx ./scripts/update-build-info.ts",
"chore:update-version": "tsx ./scripts/update-version.ts",
- "docs:build": "pnpm run --filter share-theme build && cd ./apps/edit-docs && tsx ./src/build-docs.ts",
+ "docs:build": "pnpm run --filter share-theme build && pnpm run --filter build-docs start",
"edit-docs:edit-docs": "pnpm run --filter edit-docs edit-docs",
"edit-docs:edit-demo": "pnpm run --filter edit-docs edit-demo",
"test:all": "pnpm test:parallel && pnpm test:sequential",