Add enhacements to plugins build mechanism (#8326)

* 🐛 Fix plugin code build

* 🔧 Update editor.defaultFormatter to new Prettier

* 🐛 Fix lint issues in create-palette-plugin

* 🐛 Add missing run in pnpm init script for plugins
This commit is contained in:
Juanfran
2026-02-11 15:28:33 +01:00
committed by GitHub
parent 89cd4d820c
commit 394d597736
15 changed files with 1062 additions and 21 deletions

View File

@@ -8,15 +8,15 @@
"start": "pnpm run start:app:runtime",
"start:app:runtime": "concurrently --kill-others --names build,server \"pnpm --filter @penpot/plugins-runtime run build:watch\" \"pnpm --filter @penpot/plugins-runtime run preview\"",
"start:app:styles-example": "pnpm --filter example-styles dev",
"start:plugin:poc-state": "pnpm --filter poc-state-plugin serve",
"start:plugin:contrast": "pnpm --filter contrast-plugin serve",
"start:plugin:icons": "pnpm --filter icons-plugin serve",
"start:plugin:loremipsum": "pnpm --filter lorem-ipsum-plugin serve",
"start:plugin:palette": "pnpm --filter create-palette-plugin build:watch & pnpm --filter create-palette-plugin preview",
"start:plugin:table": "pnpm --filter table-plugin serve",
"start:plugin:renamelayers": "pnpm --filter rename-layers-plugin serve",
"start:plugin:colors-to-tokens": "pnpm --filter colors-to-tokens-plugin serve",
"start:plugin:poc-tokens": "pnpm --filter poc-tokens-plugin serve",
"start:plugin:poc-state": "pnpm --filter poc-state-plugin run init",
"start:plugin:contrast": "pnpm --filter contrast-plugin run init",
"start:plugin:icons": "pnpm --filter icons-plugin run init",
"start:plugin:loremipsum": "pnpm --filter lorem-ipsum-plugin run init",
"start:plugin:palette": "pnpm --filter create-palette-plugin run init",
"start:plugin:table": "pnpm --filter table-plugin run init",
"start:plugin:renamelayers": "pnpm --filter rename-layers-plugin run init",
"start:plugin:colors-to-tokens": "pnpm --filter colors-to-tokens-plugin run init",
"start:plugin:poc-tokens": "pnpm --filter poc-tokens-plugin run init",
"build:runtime": "pnpm --filter @penpot/plugins-runtime build",
"build:plugins": "pnpm --filter './apps/*-plugin' --filter '!poc-state-plugin' build",
"build:styles-example": "pnpm --filter example-styles build",