Skip to content
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

Error from plugin does not crash Docusaurus build #429

Closed
PatrikTrefil opened this issue May 10, 2023 · 2 comments
Closed

Error from plugin does not crash Docusaurus build #429

PatrikTrefil opened this issue May 10, 2023 · 2 comments
Labels
next Fix available in the '@next' release

Comments

@PatrikTrefil
Copy link

Observed behavior

If the generation of the markdown files throws errors, then the whole build is considered to be successful.

Expected behavior

The build should fail.

Steps to reproduce

  1. Setup the plugin with docusaurus
  2. Do not install dependencies in the TypeScript project
  3. docusaurus build

Should get something like this:

../src/web-app/pages/prehled.tsx:7:18 - error TS2307: Cannot find module 'next/head' or its corresponding type declarations.

7 import Head from "next/head";

The docusaurus build returns status code 0.

@tgreyuk tgreyuk added the next Fix available in the '@next' release label May 13, 2023
@tgreyuk
Copy link
Member

tgreyuk commented May 13, 2023

Thanks - good point - is fixed in next version.

@tgreyuk
Copy link
Member

tgreyuk commented May 3, 2024

docusaurus-plugin-typedoc@1.0.0

@tgreyuk tgreyuk closed this as completed May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next Fix available in the '@next' release
Projects
None yet
Development

No branches or pull requests

2 participants