mirror of
https://github.com/penpot/penpot.git
synced 2026-11-05 17:40:39 +00:00
Generate plugin.js before Angular builds each of the eight Angular plugins. The previous order wrote the script to src/assets after Angular had copied assets to dist, so clean deploys published manifests without their code. Verified clean builds include all declared manifest assets for all eight plugins. Plugin lint, format checks and all 101 tests pass. AI-assisted-by: gpt-6.1-sol
18 lines
804 B
JSON
18 lines
804 B
JSON
{
|
|
"name": "poc-tokens-plugin",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "pnpm run build:plugin && ng build poc-tokens-plugin",
|
|
"build:dev": "ng build poc-tokens-plugin --configuration development",
|
|
"build:plugin": "node ../../tools/scripts/build-plugin.mjs --plugin=poc-tokens-plugin",
|
|
"watch": "node ../../tools/scripts/build-plugin.mjs --plugin=poc-tokens-plugin --watch",
|
|
"serve": "ng serve poc-tokens-plugin",
|
|
"init": "concurrently --kill-others --names plugin,serve \"pnpm run watch\" \"pnpm run serve\"",
|
|
"lint": "eslint .",
|
|
"test": "exit 0"
|
|
},
|
|
"packageManager": "pnpm@12.16.1+sha512.091d1dee7927575661b25dab3c2ae31cafc1c54d6b71ed6a6600cf0c1cb10434a447eae14015f1b23e2e6bedeed79df94a932e2164d2832280dce3fb32f656d1"
|
|
}
|