chore: enable alpha types for publishing of alpha packages for scaffolder plugins

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-03-11 13:39:38 +01:00
parent 412877f943
commit 60c0b9b6db
2 changed files with 9 additions and 3 deletions
+5 -3
View File
@@ -9,7 +9,8 @@
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
"types": "dist/index.d.ts"
"types": "dist/index.d.ts",
"alphaTypes": "dist/index.alpha.d.ts"
},
"backstage": {
"role": "frontend-plugin"
@@ -24,7 +25,7 @@
"backstage"
],
"scripts": {
"build": "backstage-cli package build",
"build": "backstage-cli package build --experimental-type-build",
"start": "backstage-cli package start",
"lint": "backstage-cli package lint",
"test": "backstage-cli package test",
@@ -90,6 +91,7 @@
"msw": "^0.35.0"
},
"files": [
"dist"
"dist",
"alpha"
]
}
+4
View File
@@ -151,6 +151,10 @@ export const EntityTagsPickerFieldExtension = scaffolderPlugin.provide(
}),
);
/**
* @alpha
* The Router and main entrypoint to the Alpha Scaffolder plugin.
*/
export const NextScaffolderPage = scaffolderPlugin.provide(
createRoutableExtension({
name: 'NextScaffolderPage',