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

Plugins are no longer auto-loaded #1170

Closed
alalonde opened this issue Jan 14, 2020 · 1 comment
Closed

Plugins are no longer auto-loaded #1170

alalonde opened this issue Jan 14, 2020 · 1 comment
Labels
bug Functionality does not match expectation

Comments

@alalonde
Copy link
Contributor

I was working on updating my plugin for 0.16.2 and noticed that the tests were wholly failing.

It appears that the plugins attribute in the PluginHost is initialized to an empty array, which causes this check to pass, meaning discoverNpmPlugins never gets called.

Expected Behavior

Omitting the --plugin attribute will autoload any npm packages tagged typedocplugin

Actual Behavior

npm plugins are never loaded

Environment

  • Typedoc version: 0.16.2
  • Node.js version: 10.8
  • OS: macOS 10.15.2
@alalonde alalonde added the bug Functionality does not match expectation label Jan 14, 2020
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Jan 14, 2020

Thanks for the report! Should be a simple fix, will fix before 0.16.3 later today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality does not match expectation
Projects
None yet
Development

No branches or pull requests

2 participants