Skip to content

Commit 6a76605

Browse files
committed
set pluginPackage flag in package.json
1 parent 487948b commit 6a76605

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/publish-plugin.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ jobs:
8181
npm pkg set name="@bcgov/plugin-catalog-backend-module-bc-data-catalogue"
8282
# Update version
8383
npm pkg set version="${{ steps.version.outputs.version }}"
84+
# Ensure pluginPackage is set
85+
npm pkg set backstage.pluginPackage=true
8486
# Remove private flag for publishing
8587
npm pkg delete private
8688

plugins/catalog-backend-module-bc-data-catalogue/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
},
1414
"backstage": {
1515
"role": "backend-plugin-module",
16-
"pluginId": "catalog"
16+
"pluginId": "catalog",
17+
"pluginPackage": true
1718
},
1819
"scripts": {
1920
"start": "backstage-cli package start",

0 commit comments

Comments
 (0)