/next-plugins

Official Next.js plugins

Primary LanguageJavaScriptMIT LicenseMIT

Next.js Plugins

Official Next.js plugins

Community made plugins

Adding a plugin

⚠️ Before adding a plugin in this repository please create an issue to establish if it should be an official plugin or not.

  1. Create a directory under the packages folder
  2. Add package.json to the directory with these contents:
{
  "name": "@zeit/next-<NAME>",
  "version": "0.0.1",
  "main": "index.js",
  "license": "MIT",
  "repository": "zeit/next-plugins"
}
  1. Add a index.js file with the plugin code
  2. Add a readme.md explaining what the plugin does, how to install, and how to configure it
  3. Submit a pull request

Publishing

Note: this is for maintainers only and won't work if you're not a maintainer.

Replace NPM_CONFIG_OTP with the OTP generated by the authenticator.

Publishing Canary

NPM_CONFIG_OTP=123456 yarn release-canary

Publishing Stable

NPM_CONFIG_OTP=123456 yarn release-stable