New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to find any packages in pnpm workspace #2238
Comments
This sets the entry point strategy to packages, which expects directories as entry points, but passes a TS file... so yes, that won't work. Packages mode expects one or more directories containing package.json to be provided as the entry points. |
I understand, but change it to
also has this error. I'm following https://github.com/Gerrit0/typedoc-packages-example/blob/master/packages/foo/typedoc.json example, which doesn't work for me. Also will it faster to process |
Where should I run the |
Update the issue description, I run Also changed all config to have |
SHould I change it to
to match pnpm-workspace.yaml |
This works, I test it out. Maybe you should update the example repo and doc. But with new error. |
The website says
I'm not sure how to make that clearer... packages mode is intended to be more of a build-orchestration mode than a directly generate docs mode. It's a convenient wrapper to let monorepos that don't need control over rebuilding some packages generate documentation for each package and then merge them together.
Generally, no, and the former won't work anyways unless you set up special tsconfig files for typedoc's use |
Search terms
pnpm monorepo workspace
Expected Behavior
Generate a HTML website I guess.
Actual Behavior
Steps to reproduce the bug
plugins/memeloop-plugin/typedoc.json
typedoc.json
typedoc.base.json
pnpm-workspace.yaml
Environment
The text was updated successfully, but these errors were encountered: