Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.prerelease.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 10.3.0-beta.1

- Addon-Docs: Add React as optimizeDeps entry - [#34176](https://github.com/storybookjs/storybook/pull/34176), thanks @valentinpalkovic!
- CLI: Avoid hanging of postinstall during init - [#34175](https://github.com/storybookjs/storybook/pull/34175), thanks @valentinpalkovic!

## 10.3.0-beta.0

- Test: Fix clearing mocks in Vitest [#34078](https://github.com/storybookjs/storybook/pull/34078)
Expand Down
1 change: 1 addition & 0 deletions code/addons/docs/src/preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ const optimizeViteDeps = [
'@storybook/addon-docs > @storybook/react-dom-shim',
'react-dom/client',
'react/jsx-runtime',
'react',
];

export { webpackX as webpack, docsX as docs, optimizeViteDeps };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ describe('AddonConfigurationCommand', () => {
expect(addonVitestPostinstall).toHaveBeenCalledWith({
packageManager: 'npm',
configDir: '.storybook',
yes: false,
yes: true,
skipInstall: true,
skipDependencyManagement: true,
logger,
Expand All @@ -122,7 +122,7 @@ describe('AddonConfigurationCommand', () => {
expect(addonA11yPostinstall).toHaveBeenCalledWith({
packageManager: 'npm',
configDir: '.storybook',
yes: false,
yes: true,
skipInstall: true,
skipDependencyManagement: true,
logger,
Expand All @@ -144,7 +144,7 @@ describe('AddonConfigurationCommand', () => {
expect(postinstallAddon).toHaveBeenCalledWith('@storybook/addon-docs', {
packageManager: 'npm',
configDir: '.storybook',
yes: false,
yes: true,
skipInstall: true,
skipDependencyManagement: true,
logger,
Expand Down Expand Up @@ -324,7 +324,7 @@ describe('executeAddonConfiguration', () => {
it('should create command and execute with provided parameters', async () => {
const result = await executeAddonConfiguration({
packageManager: mockPackageManager,
options: { packageManager: PackageManagerName.NPM, yes: false, disableTelemetry: true },
options: { packageManager: PackageManagerName.NPM, disableTelemetry: true },
addons: [],
configDir: '.storybook',
});
Expand All @@ -335,7 +335,7 @@ describe('executeAddonConfiguration', () => {
it('should execute addon configuration through helper function', async () => {
const result = await executeAddonConfiguration({
packageManager: mockPackageManager,
options: { packageManager: PackageManagerName.NPM, yes: true, disableTelemetry: false },
options: { packageManager: PackageManagerName.NPM, disableTelemetry: false },
addons: ['@storybook/addon-a11y'],
configDir: '.storybook',
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export class AddonConfigurationCommand {
const options = {
packageManager: this.packageManager.type,
configDir,
yes: this.commandOptions.yes,
yes: true,
skipInstall: true,
skipDependencyManagement: true,
logger,
Expand Down
3 changes: 2 additions & 1 deletion code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,5 +214,6 @@
"Dependency Upgrades"
]
]
}
},
"deferredNextVersion": "10.3.0-beta.1"
}
2 changes: 1 addition & 1 deletion docs/versions/next.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"10.3.0-beta.0","info":{"plain":"- Test: Fix clearing mocks in Vitest [#34078](https://github.com/storybookjs/storybook/pull/34078)\n- Core: Fix event source URL based on refId when multiple iframes share the same origin [#34105](https://github.com/storybookjs/storybook/pull/34105)\n- UI: Make TagsFilter state persistent [#33374](https://github.com/storybookjs/storybook/pull/33374)\n- A11y: Make resize handles for addon panel and sidebar accessible [#33980](https://github.com/storybookjs/storybook/pull/33980)\n- Maintenance: Use std-env for AI agent detection in telemetry [#34114](https://github.com/storybookjs/storybook/pull/34114)\n- Addon-Vitest: Make Playwright `--with-deps` platform-aware to avoid `sudo` prompt on Linux [#34121](https://github.com/storybookjs/storybook/pull/34121)\n- Addon-docs: Restore `docs.components` overrides for doc blocks [#34111](https://github.com/storybookjs/storybook/pull/34111)\n- Maintenance: Support vite-plugin-svelte7 which supports Vite 8 [#34115](https://github.com/storybookjs/storybook/pull/34115)\n- Core: Fix handling complex viewport sizes [#33615](https://github.com/storybookjs/storybook/pull/33615)\n- Core: Fix iframe reference for composed Storybook on a subpath [#34100](https://github.com/storybookjs/storybook/pull/34100)\n- Manifest: Rename `experimentalComponentsManifest` → `componentsManifest`, default to `true` [#33974](https://github.com/storybookjs/storybook/pull/33974)\n- Manifests: Fix Attached MDX causing wrong component entries [#34101](https://github.com/storybookjs/storybook/pull/34101)\n- Vue3-Vite: Allow paths in docgen tsconfig option [#32310](https://github.com/storybookjs/storybook/pull/32310), thanks @Thomaash!\n- Next.js: Move image configuration from FrameworkOptions to parameters [#32639](https://github.com/storybookjs/storybook/pull/32639), thanks @y-hsgw!\n- Docs: Make CSS ordering in DocsContainer more predictable [#34015](https://github.com/storybookjs/storybook/pull/34015)"}}
{"version":"10.3.0-beta.1","info":{"plain":"- Addon-Docs: Add React as optimizeDeps entry - [#34176](https://github.com/storybookjs/storybook/pull/34176), thanks @valentinpalkovic!\n- CLI: Avoid hanging of postinstall during init - [#34175](https://github.com/storybookjs/storybook/pull/34175), thanks @valentinpalkovic!"}}
Loading