Update execa dependency to version 9.5.2 and enhance post-install logging for a11y addon setup

This commit is contained in:
Valentin Palkovic 2025-01-02 11:26:46 +01:00
parent c43aa097a5
commit b0d96bc571
3 changed files with 6 additions and 3 deletions

View File

@ -99,7 +99,7 @@
"ansi-to-html": "^0.7.2",
"boxen": "^8.0.1",
"es-toolkit": "^1.22.0",
"execa": "^8.0.1",
"execa": "^9.5.2",
"find-up": "^7.0.0",
"formik": "^2.2.9",
"istanbul-lib-report": "^3.0.1",

View File

@ -345,7 +345,10 @@ export default async function postInstall(options: PostinstallOptions) {
if (a11yAddon) {
try {
await $`storybook automigrate addonA11yAddonTest ${options.yes ? '--yes' : ''}`;
logger.plain(`${step} Setting up ${addonA11yName} for @storybook/experimental-addon-test:`);
await $({
stdio: 'inherit',
})`storybook automigrate addonA11yAddonTest ${options.yes ? '--yes' : ''}`;
} catch (e) {
printError(
'🚨 Oh no!',

View File

@ -6421,7 +6421,7 @@ __metadata:
ansi-to-html: "npm:^0.7.2"
boxen: "npm:^8.0.1"
es-toolkit: "npm:^1.22.0"
execa: "npm:^8.0.1"
execa: "npm:^9.5.2"
find-up: "npm:^7.0.0"
formik: "npm:^2.2.9"
istanbul-lib-report: "npm:^3.0.1"