# Publishing to the Joplin plugin directory The currently documented Joplin registry workflow discovers npm packages with a name starting with joplin-plugin-, the joplin-plugin keyword, and a publish/ directory containing the JPL and metadata JSON. See the [official generator documentation](https://github.com/laurent22/joplin/blob/dev/packages/generator-joplin/generators/app/templates/GENERATOR_DOC.md#publishing-the-plugin). Joplin may also apply registry security checks. ## First npm release (interactive, with 2FA) 1. Obtain the reviewed npm .tgz artifact from the Official registry readiness workflow (or run npm install --ignore-scripts, npm audit, npm test, npm pack from a clean checkout). 2. Test the matching JPL in Joplin before publishing, particularly after upgrading KaTeX. 3. Confirm the intended project license. 4. Verify the npm account email and log in locally via npm login. 5. Run npm whoami to confirm the account. Then publish the reviewed archive using npm publish ./joplin-plugin-latex-bracket-compatibility-0.2.5.tgz --access public --ignore-scripts, completing the npm 2FA prompt in your browser or terminal. 6. Confirm with npm view joplin-plugin-latex-bracket-compatibility version. 7. Check the [Joplin directory](https://joplinapp.org/plugins/) for the plugin after registry ingestion. npm publication alone does not prove Joplin listing or approval. Never paste npm passwords, access tokens, OTP codes or recovery codes into chat or source control. ## Future releases Use npm trusted publishing (OIDC) after configuring the package's trusted publisher on npmjs.com. Keep the plugin ID unchanged. Update package.json and src/manifest.json together, run tests and audit, and publish the verified artifact. See [npm trusted publishing documentation](https://docs.npmjs.com/trusted-publishers/).