cli: use experimentalInstallationRecipe for new backstage-cli install command

Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
This commit is contained in:
Himanshu Mishra
2021-10-07 16:32:00 +02:00
parent d9dde3129e
commit 632a6b2178
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ class PluginInstaller {
step: stepDefinitionMap.dependencies.create({ dependencies }),
});
for (const step of pkg.installationRecipe?.steps ?? []) {
for (const step of pkg.experimentalInstallationRecipe?.steps ?? []) {
const { type } = step;
const definition = stepDefinitions.find(d => d.type === type);
+1 -1
View File
@@ -43,7 +43,7 @@ export type InstallationRecipe = {
/** package.json data */
export type PackageWithInstallRecipe = YarnInfoInspectData & {
version: string;
installationRecipe?: InstallationRecipe;
experimentalInstallationRecipe?: InstallationRecipe;
};
export interface Step {