From 85868de3556a41cb4e6a13ee3eeacc57b657e488 Mon Sep 17 00:00:00 2001 From: Bogdan Nechyporenko Date: Mon, 21 Nov 2022 21:07:43 +0100 Subject: [PATCH 1/2] Update .changeset/gold-yaks-join.md Co-authored-by: Patrik Oldsberg Signed-off-by: Bogdan Nechyporenko --- .changeset/gold-yaks-join.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.changeset/gold-yaks-join.md b/.changeset/gold-yaks-join.md index 6871948c81..29996d1f74 100644 --- a/.changeset/gold-yaks-join.md +++ b/.changeset/gold-yaks-join.md @@ -2,5 +2,5 @@ '@backstage/test-utils': patch --- -The test utility for PluginProvider called MockPluginProvider has been created. It will be handy in the cases when you use -\_\_experimentalConfigure in your plugin +The test utility for the plugin context called `MockPluginProvider` has been created. It will be handy in the cases when you use +`__experimentalConfigure` in your plugin. It is experimental and exported through `@backstage/test-utils/alpha`. From 3355c5a5f1dae668760d998a9c2d4732d0ee2f77 Mon Sep 17 00:00:00 2001 From: bogdannechyporenko Date: Mon, 21 Nov 2022 21:25:26 +0100 Subject: [PATCH 2/2] Incorporated the feedback Signed-off-by: bogdannechyporenko --- packages/test-utils/package.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index fb8dff4192..1734a17f6b 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -5,7 +5,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": "web-library" @@ -23,7 +24,7 @@ "main": "src/index.ts", "types": "src/index.ts", "scripts": { - "build": "backstage-cli package build", + "build": "backstage-cli package build --experimental-type-build", "lint": "backstage-cli package lint", "test": "backstage-cli package test", "prepack": "backstage-cli package prepack", @@ -60,6 +61,7 @@ "msw": "^0.48.0" }, "files": [ - "dist" + "dist", + "alpha" ] }