@storybook/addon-vitest 9.0.0-beta.8 → 9.0.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/postinstall.js +1 -1
- package/package.json +2 -2
package/dist/postinstall.js
CHANGED
|
@@ -123,7 +123,7 @@ ${error2.message}`:execaMessage,message=[shortMessage,stderr,stdout].filter(Bool
|
|
|
123
123
|
const project = setProjectAnnotations([${projectAnnotations.join(", ")}]);
|
|
124
124
|
|
|
125
125
|
beforeAll(project.beforeAll);
|
|
126
|
-
`),info2.addons.find(addon=>addon.includes(addonA11yName)))try{nodeLogger.logger.plain(`${step} Setting up ${addonA11yName} for @storybook/addon-vitest:`),await $({stdio:"inherit"})
|
|
126
|
+
`),info2.addons.find(addon=>addon.includes(addonA11yName)))try{nodeLogger.logger.plain(`${step} Setting up ${addonA11yName} for @storybook/addon-vitest:`);let command=["storybook","automigrate","addonA11yAddonTest"];options.yes&&command.push("--yes"),options.packageManager&&command.push("--package-manager",options.packageManager),options.configDir&&command.push("--config-dir",options.configDir),await $({stdio:"inherit"})`${command.join(" ")}`;}catch{printError("\u{1F6A8} Oh no!",tsDedent.dedent`
|
|
127
127
|
We have detected that you have ${addonA11yName} installed but could not automatically set it up for @storybook/addon-vitest.
|
|
128
128
|
|
|
129
129
|
Please refer to the documentation to complete the setup manually:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/addon-vitest",
|
|
3
|
-
"version": "9.0.0-beta.
|
|
3
|
+
"version": "9.0.0-beta.9",
|
|
4
4
|
"description": "Storybook addon for testing components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook-addons",
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"peerDependencies": {
|
|
123
123
|
"@vitest/browser": "^3.0.0",
|
|
124
124
|
"@vitest/runner": "^3.0.0",
|
|
125
|
-
"storybook": "^9.0.0-beta.
|
|
125
|
+
"storybook": "^9.0.0-beta.9",
|
|
126
126
|
"vitest": "^3.0.0"
|
|
127
127
|
},
|
|
128
128
|
"peerDependenciesMeta": {
|