mirror of
https://github.com/penpot/penpot.git
synced 2026-10-30 22:40:33 +00:00
pnpm 12.5.1 -> 12.16.1: the tarball pin of docker/devenv and of the media-processor, exporter and mcp images, the packageManager field of every workspace manifest, and the lockfile metadata of the 11 workspaces. The new pnpm also normalizes one engine range per lockfile (>=18.* to >=18). node 24.21.0 -> 24.22.2: devenv NODE_VERSION and both NODE_SHA256, .nvmrc, and the runtime pin of the two plugins-deploy workflows. The dhi.io image tags stay as they are until their digests are available. AI-assisted-by: deepseek-v4.1-flash
Penpot plugin-types
The @penpot/plugin-types package provides TypeScript type definitions for the Penpot Plugin API, making it easier to develop plugins for the Penpot design platform with full type safety and IDE support. It streamlines the development process by ensuring that your code is well-typed and less prone to errors.
Getting started
Installation
To add penpot's plugin-types to your project, use the following command:
npm install @penpot/plugin-types
Configuration
To ensure the typings work correctly in your project, update your tsconfig.json as follows:
"typeRoots": [
"./node_modules/@types",
"./node_modules/@penpot"
],
"types": ["plugin-types"],
Learn more
For more information on how to build plugins using the Penpot PLugin API, refer to the official documentation. You can also explore practical examples in the samples repository to see real-world implementations.