@storybook/addon-vitest 0.0.0-pr-31397-sha-f1aa09c3 → 0.0.0-pr-31403-sha-f871cc3a
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 +4 -2
- package/package.json +2 -2
package/dist/postinstall.js
CHANGED
|
@@ -123,8 +123,10 @@ ${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:`);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
|
-
We have detected that you have ${addonA11yName} installed but could not automatically set it up for @storybook/addon-vitest
|
|
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(e){printError("\u{1F6A8} Oh no!",tsDedent.dedent`
|
|
127
|
+
We have detected that you have ${addonA11yName} installed but could not automatically set it up for @storybook/addon-vitest:
|
|
128
|
+
|
|
129
|
+
${e instanceof Error?e.message:String(e)}
|
|
128
130
|
|
|
129
131
|
Please refer to the documentation to complete the setup manually:
|
|
130
132
|
${import_picocolors.default.cyan("https://storybook.js.org/docs/writing-tests/accessibility-testing#test-addon-integration")}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/addon-vitest",
|
|
3
|
-
"version": "0.0.0-pr-
|
|
3
|
+
"version": "0.0.0-pr-31403-sha-f871cc3a",
|
|
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": "^0.0.0-pr-
|
|
125
|
+
"storybook": "^0.0.0-pr-31403-sha-f871cc3a",
|
|
126
126
|
"vitest": "^3.0.0"
|
|
127
127
|
},
|
|
128
128
|
"peerDependenciesMeta": {
|