diff --git a/package.json b/package.json index cd5f77a3..6ede7e45 100644 --- a/package.json +++ b/package.json @@ -84,8 +84,7 @@ "storybook": "next", "ts-jest": "^28.0.8", "typescript": "~4.9.4", - "wait-on": "^6.0.0", - "webpack": "^5.75.0" + "wait-on": "^6.0.0" }, "lint-staged": { "*.{ts,js,tsx,jsx,css,md}": "prettier --write" @@ -111,7 +110,7 @@ "@storybook/core-common": "next", "@storybook/csf": "next", "@storybook/csf-tools": "next", - "@storybook/preview-api": "next", + "@storybook/store": "next", "can-bind-to-host": "^1.1.1", "commander": "^9.0.0", "expect-playwright": "^0.8.0", diff --git a/src/playwright/transformPlaywright.ts b/src/playwright/transformPlaywright.ts index e73d9f87..e6484334 100644 --- a/src/playwright/transformPlaywright.ts +++ b/src/playwright/transformPlaywright.ts @@ -1,6 +1,6 @@ import { relative } from 'path'; import template from '@babel/template'; -import { userOrAutoTitle } from '@storybook/preview-api'; +import { userOrAutoTitle } from '@storybook/store'; import { getStorybookMetadata } from '../util'; import { transformCsf } from '../csf/transformCsf'; diff --git a/yarn.lock b/yarn.lock index b5af4221..b9e66aec 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2581,7 +2581,7 @@ react-refresh "^0.11.0" semver "^7.3.7" -"@storybook/preview-api@7.0.0-beta.15", "@storybook/preview-api@next": +"@storybook/preview-api@7.0.0-beta.15": version "7.0.0-beta.15" resolved "https://registry.yarnpkg.com/@storybook/preview-api/-/preview-api-7.0.0-beta.15.tgz#b40cf896e3c0884a3bcf832ddbe0d3edf469b995" integrity sha512-PmDjnOJY1VVYcGtItv9HuXkQXY+bjpz5zy0jO6bgJY7o/9ayqzwOCVszAKE+GeJ3u9RwOlYj5LfRCcbIN5XSqw== @@ -2687,7 +2687,7 @@ memoizerific "^1.11.3" qs "^6.10.0" -"@storybook/store@7.0.0-beta.15": +"@storybook/store@7.0.0-beta.15", "@storybook/store@next": version "7.0.0-beta.15" resolved "https://registry.yarnpkg.com/@storybook/store/-/store-7.0.0-beta.15.tgz#4d834f36998c380a322d9c4728ab48791cbdd9f1" integrity sha512-XGpxEP9jgp1DB6EgMIaxK3MWR3g9VooOTcqeUMAMbgLV+hiTQVbxaJ3AfSdv0zbmF9bdGUFTpCRIefDx2auMlQ== @@ -10353,7 +10353,7 @@ webpack-virtual-modules@^0.4.3, webpack-virtual-modules@^0.4.5: resolved "https://registry.yarnpkg.com/webpack-virtual-modules/-/webpack-virtual-modules-0.4.6.tgz#3e4008230731f1db078d9cb6f68baf8571182b45" integrity sha512-5tyDlKLqPfMqjT3Q9TAqf2YqjwmnUleZwzJi1A5qXnlBCdj2AtOJ6wAWdglTIDOPgOiOrXeBeFcsQ8+aGQ6QbA== -webpack@5, webpack@^5.75.0: +webpack@5: version "5.75.0" resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.75.0.tgz#1e440468647b2505860e94c9ff3e44d5b582c152" integrity sha512-piaIaoVJlqMsPtX/+3KTTO6jfvrSYgauFVdt8cr9LTHKmcq/AMd4mhzsiP7ZF/PGRNPGA8336jldh9l2Kt2ogQ==