A plugin to generate sequential IDs for your documents in DatoCMS.
Please specify a read-only DatoCMS API key on the plugin global settings:
To enable the sequential ID generator for your single-line text field, choose "Sequential ID Generator" as a field add-on.
You can set a prefix and the number of leading zeroes in your sequential IDs:
Install all the project dependencies with:
Add this plugin in development mode to one of your DatoCMS project with:
yarn addToProject
Start the local development server with:
yarn start
The plugin will be served from <http://localhost:5000/>. Insert this URL as the plugin Entry point URL.
Before publishing this plugin, make sure:
package.json
following the official rules;cover.png
) and a preview GIF (preview.gif
) into the docs
folder.When everything's ready, just run:
yarn publish