P!npoint

Plugins

Build Your First Plugin

This page shows the shortest path from a template to a verified plugin package.

Requirements

  • Node.js
  • P!npoint source checkout
  • P!npoint 1.2.0 or newer

Create

Start from the diff analyzer template.

npm run plugin:new -- diff-analyzer my.diff-impact

Start from the command provider template.

npm run plugin:new -- command-provider my.project-command

Verify

Check the manifest, extension points, permissions, and entry file.

npm run plugin:verify -- plugin-src/examples/my.diff-impact

Test

Verify the plugin and create a local test package.

npm run plugin:test -- plugin-src/examples/my.diff-impact

The output is written to dist-plugin-registry/test-packages.

Pack

Create a single plugin package.

npm run plugin:pack -- plugin-src/examples/my.diff-impact

Official Catalog

Official catalog packages are generated only for plugins listed in plugin-src/catalog.json.

npm run release:plugin-catalog

The output is dist-plugin-registry/catalog.json and dist-plugin-registry/packages.