Leftover renamings from experimental-addon-test to addon-test

This commit is contained in:
Valentin Palkovic 2025-02-28 20:10:02 +01:00
parent b753a880bd
commit dbb9a5bb02
10 changed files with 10 additions and 14 deletions

View File

@ -22,7 +22,7 @@ export default mergeConfig(
// @ts-expect-error added this because of testNamePattern below
defineProject({
plugins: [
import('@storybook/experimental-addon-test/vitest-plugin').then(({ storybookTest }) =>
import('@storybook/addon-test/vitest-plugin').then(({ storybookTest }) =>
storybookTest({
configDir: __dirname,
tags: {

View File

@ -1,5 +1,5 @@
{
"name": "experimental-addon-test",
"name": "addon-test",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"targets": {

View File

@ -36,7 +36,7 @@ const INCLUDE_CANDIDATES = [
'@storybook/addon-viewport/preview',
'@storybook/blocks',
'@storybook/components',
'@storybook/experimental-addon-test/preview',
'@storybook/addon-test/preview',
'@storybook/experimental-nextjs-vite/dist/preview.mjs',
'@storybook/html',
'@storybook/html/dist/entry-preview-docs.mjs',

View File

@ -15,7 +15,7 @@ export default {
'@storybook/addon-onboarding': '9.0.0-alpha.0',
'@storybook/addon-outline': '9.0.0-alpha.0',
'@storybook/addon-storysource': '9.0.0-alpha.0',
'@storybook/experimental-addon-test': '9.0.0-alpha.0',
'@storybook/addon-test': '9.0.0-alpha.0',
'@storybook/addon-themes': '9.0.0-alpha.0',
'@storybook/addon-toolbars': '9.0.0-alpha.0',
'@storybook/addon-viewport': '9.0.0-alpha.0',

View File

@ -267,7 +267,7 @@ export async function vitestTransform({
),
t.importDeclaration(
[t.importSpecifier(testStoryId, t.identifier('testStory'))],
t.stringLiteral('@storybook/experimental-addon-test/internal/test-utils')
t.stringLiteral('@storybook/addon-test/internal/test-utils')
),
];

View File

@ -37,7 +37,7 @@ interface AddonA11yAddonTestOptions {
}
/**
* If addon-a11y and experimental-addon-test are already installed, we need to update
* If addon-a11y and addon-test are already installed, we need to update
*
* - `.storybook/vitest.setup.<ts|js>` to set up project annotations from addon-a11y.
* - `.storybook/preview.<ts|js>` to set up tags.

View File

@ -15,7 +15,7 @@ const projectJson = (name: string, framework: string, tags: string[]) => ({
'test',
'essentials',
'interactions',
'experimental-addon-test',
'addon-test',
'links',
'onboarding',
'blocks',

View File

@ -94,11 +94,7 @@ export const sandbox: Task = {
// extraDeps.push('@testing-library/angular', '@analogjs/vitest-angular');
// }
options.addon = [
...options.addon,
'@storybook/experimental-addon-test',
'@storybook/addon-a11y',
];
options.addon = [...options.addon, '@storybook/addon-test', '@storybook/addon-a11y'];
}
let startTime = now();

View File

@ -5,7 +5,7 @@ const config: StorybookConfig = {
stories: ["../stories/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
addons: [
"@storybook/addon-controls",
"@storybook/experimental-addon-test",
"@storybook/addon-test",
"@storybook/addon-a11y",
],
framework: {

View File

@ -1,5 +1,5 @@
import { defineWorkspace } from "vitest/config";
import { storybookTest } from "@storybook/experimental-addon-test/vitest-plugin";
import { storybookTest } from "@storybook/addon-test/vitest-plugin";
export default defineWorkspace([
{