cli: use experimentalInstallationRecipe for new backstage-cli install command
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -43,7 +43,7 @@ export type InstallationRecipe = {
|
||||
/** package.json data */
|
||||
export type PackageWithInstallRecipe = YarnInfoInspectData & {
|
||||
version: string;
|
||||
installationRecipe?: InstallationRecipe;
|
||||
experimentalInstallationRecipe?: InstallationRecipe;
|
||||
};
|
||||
|
||||
export interface Step {
|
||||
|
||||
Reference in New Issue
Block a user