Closed
Description
Search terms
pnpm, monorepo, symlink
Expected Behavior
To produce a small output
Actual Behavior
The TypeDoc output is large, all inter-package dependencies are duplicated in the individual package output folders.
I don't remember this being a problem in earlier versions, I've been using "entryPointStrategy": "packages"
for a while now. Also do note that while "node_modules/**"
is not part of the "exclude" array, I did try it and made no difference.
The ncdu
output might give a better idea, each dependency and their dependencies are present in every media
folder. Each of these dependencies are part of this repository.
Steps to reproduce the bug
Given the nature of the problem I can only provide a large repo as example
npm i -g pnpm
git clone -b typedoc https://github.com/AlexAegis/js-tooling
pnpm i
pnpm typedoc_
Then check the size of .cache/typedoc
Environment
- Typedoc version: 0.26.2
- TypeScript version: 5.5.2
- Node.js version: v20.14.0
- OS: arch