mirror of
https://github.com/zadam/trilium.git
synced 2026-02-11 08:14:39 +01:00
This enhances the `build-docs` utility to allow running it via pnpm and packaging it as a Nix application. Changes include: - Added `build` and `cli` scripts to `apps/build-docs/package.json`. - Implemented a standalone CLI wrapper for documentation generation. - Added a `trilium-build-docs` package to the Nix flake for use in other projects. - Integrated `apps/build-docs` into the Nix workspace and build pipeline. These changes make the documentation build process more portable and easier to integrate into CI/CD pipelines outside of the main repository.
29 lines
686 B
JSON
29 lines
686 B
JSON
{
|
|
"name": "build-docs",
|
|
"version": "1.0.0",
|
|
"description": "Build documentation from Trilium notes",
|
|
"main": "src/main.ts",
|
|
"bin": {
|
|
"trilium-build-docs": "dist/cli.js"
|
|
},
|
|
"scripts": {
|
|
"start": "tsx .",
|
|
"cli": "tsx src/cli.ts",
|
|
"build": "tsx scripts/build.ts"
|
|
},
|
|
"keywords": [],
|
|
"author": "Elian Doran <contact@eliandoran.me>",
|
|
"license": "AGPL-3.0-only",
|
|
"packageManager": "pnpm@10.28.2",
|
|
"devDependencies": {
|
|
"@redocly/cli": "2.15.0",
|
|
"archiver": "7.0.1",
|
|
"fs-extra": "11.3.3",
|
|
"js-yaml": "4.1.1",
|
|
"react": "19.2.4",
|
|
"react-dom": "19.2.4",
|
|
"typedoc": "0.28.16",
|
|
"typedoc-plugin-missing-exports": "4.1.2"
|
|
}
|
|
}
|