example-todo-list: fix package roles

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-06-23 13:06:55 +02:00
parent 67fe99a656
commit bb48de7aa8
3 changed files with 7 additions and 1 deletions
@@ -5,6 +5,9 @@
"types": "src/index.ts",
"license": "Apache-2.0",
"private": true,
"backstage": {
"role": "backend-plugin"
},
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -11,7 +11,7 @@
"types": "dist/index.d.ts"
},
"backstage": {
"role": "frontend-plugin"
"role": "common-library"
},
"scripts": {
"start": "backstage-cli package start",
+3
View File
@@ -5,6 +5,9 @@
"types": "src/index.ts",
"license": "Apache-2.0",
"private": true,
"backstage": {
"role": "frontend-plugin"
},
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",