mirror of
https://github.com/penpot/penpot.git
synced 2026-09-17 16:41:49 +08:00
✨ 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:
@@ -4,9 +4,12 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "ng build table-plugin",
|
||||
"build": "ng build table-plugin && pnpm run build:plugin",
|
||||
"build:dev": "ng build table-plugin --configuration development",
|
||||
"build:plugin": "node ../../tools/scripts/build-plugin.mjs --plugin=table-plugin",
|
||||
"build:plugin:watch": "node ../../tools/scripts/build-plugin.mjs --plugin=table-plugin --watch",
|
||||
"serve": "ng serve table-plugin",
|
||||
"init": "concurrently --kill-others --names plugin,serve \"pnpm run build:plugin:watch\" \"pnpm run serve\"",
|
||||
"lint": "eslint .",
|
||||
"test": "vitest"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user