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
Remove plugin.json library property #8686
Comments
pitaj
added a commit
that referenced
this issue
Sep 26, 2020
and also fix deprecated hooks with no alternative
oplik0
added a commit
to Wieloswiat/nodebb-plugin-modmin
that referenced
this issue
Sep 26, 2020
pitaj
added a commit
that referenced
this issue
Sep 27, 2020
and also fix deprecated hooks with no alternative
pitaj
added a commit
that referenced
this issue
Sep 27, 2020
and also fix deprecated hooks with no alternative
bennvan
added a commit
to bennvan/nodebb-theme-oxide
that referenced
this issue
Feb 1, 2021
bennvan
added a commit
to bennvan/nodebb-theme-oxide
that referenced
this issue
Feb 1, 2021
pitaj
added a commit
to pitaj/nodebb-plugin-calendar
that referenced
this issue
Mar 11, 2021
Add pre-release checklist Remove babel Fix repetition translations and editor - now correctly shows repeat day of week - now currently hide and reset custom repeat inputs NodeBB/NodeBB#8686 Fix editing event posts Fix repetition algorithm Hide response buttons, fix visibility privs Fix notifs not being translated Bump dependencies
This convention is still in your quickstart repo: https://github.com/NodeBB/nodebb-theme-quickstart/blob/master/plugin.json#L3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
package.json
propertymain
fulfills this purpose, makinglibrary
redundant. This also will allow us to simplify our code to justrequire(plugin.id)
to get the plugin libraries.Will deprecate the existing usage, issuing a warning if requiring the plugin as above fails, forcing us to fallback to
library
. Any error will cause us to fallback tolibrary
, for instance several themes define"main": "theme.less"
, which will error when required, sincetheme.less
is not a valid Node module.Plugin Authors:
package.json
, set"main": "your/entry/point.js"
for forwards compatibilityplugin.json
, set"library": "."
for backwards compatibilityThe text was updated successfully, but these errors were encountered: