Be careful, because some of the plugins in the Marketplace may have been built using a legacy version of the SDK, so they might not be a good example to follow!
Always check in the
package.json that they're requiring the
datocms-plugin-sdk NPM package, and not the legacy one (which is called
plugins in plural form).
We personally take care of keeping a number of plugins in the Marketplace up to date, so you can always be sure they run on the most up-to-date version of the SDK. It might be a good idea to start studying with one of them!
They are all stored in a single GitHub monorepo:
💻 Official plugins monorepo: https://github.com/datocms/plugins
If you'd like to have some more example, don't be afraid to ask, we are here to help you!
✍️ See which plugins are best for authors in this video: