Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: Prerelease 7.2.0-alpha.1 #23612

Closed
13 changes: 13 additions & 0 deletions CHANGELOG.prerelease.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## 7.2.0-alpha.1

- Addon: Create @storybook/addon-themes - [#23524](https://github.com/storybookjs/storybook/pull/23524), thanks [@Integrayshaun](https://github.com/Integrayshaun)!
- Angular: Fix initialization of Storybook in Angular 16.1 - [#23598](https://github.com/storybookjs/storybook/pull/23598), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!
- CLI: Gracefully shutdown and cleanup execa child processes - [#23538](https://github.com/storybookjs/storybook/pull/23538), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!
- Dependencies: Downgrade `jest-mock` - [#23597](https://github.com/storybookjs/storybook/pull/23597), thanks [@ndelangen](https://github.com/ndelangen)!
- Dependencies: Upgrade simple-update-notifier - [#23396](https://github.com/storybookjs/storybook/pull/23396), thanks [@dartess](https://github.com/dartess)!
- Maintainance: Fix codeowner docs glob - [#23610](https://github.com/storybookjs/storybook/pull/23610), thanks [@kasperpeulen](https://github.com/kasperpeulen)!
- Storyshots: fix broken storyshots with angular - [#23555](https://github.com/storybookjs/storybook/pull/23555), thanks [@mattlewis92](https://github.com/mattlewis92)!
- TypeScript: Added `expanded` to `CoreCommon_StorybookRefs` to fix typescript errors - [#23488](https://github.com/storybookjs/storybook/pull/23488), thanks [@DotwoodMedia](https://github.com/DotwoodMedia)!
- TypeScript: Downgrade to the last version of type-fest that doesn't need typescript 5.0 - [#23574](https://github.com/storybookjs/storybook/pull/23574), thanks [@ndelangen](https://github.com/ndelangen)!
- Vue2: Source Decorator reactivity - [#23149](https://github.com/storybookjs/storybook/pull/23149), thanks [@chakAs3](https://github.com/chakAs3)!

## 7.2.0-alpha.0

- Angular: Make enableProdMode optional - [#23489](https://github.com/storybookjs/storybook/pull/23489), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!
Expand Down
10 changes: 5 additions & 5 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
.yarnrc.yml @ndelangen @JReinhold

# Docs
docs/ @kylegach @jonniebigodes
/docs/ @kylegach @jonniebigodes

# Scripts
/scripts/ @ndelangen @kasperpeulen
Expand Down Expand Up @@ -39,8 +39,8 @@ docs/ @kylegach @jonniebigodes

# Frameworks
/code/frameworks/angular/ @valentinpalkovic @yannbf
/code/frameworks/html-vite/ @kasperpeulen @JReinhold
/code/frameworks/html-webpack5/ @kasperpeulen @JReinhold
/code/frameworks/html-vite/ @kasperpeulen @JReinhold
/code/frameworks/html-webpack5/ @kasperpeulen @JReinhold
/code/frameworks/nextjs/ @valentinpalkovic @kasperpeulen @yannbf
/code/frameworks/react-vite/ @valentinpalkovic @kasperpeulen
/code/frameworks/react-webpack5/ @valentinpalkovic @kasperpeulen
Expand All @@ -61,7 +61,7 @@ docs/ @kylegach @jonniebigodes
/code/lib/codemod/ @kasperpeulen @ndelangen
/code/lib/core-common/ @ndelangen @yannbf
/code/lib/core-events/ @ndelangen @kasperpeulen
/code/lib/core-server/ @ndelangen @JReinhold @tmeasday @shilman
/code/lib/core-server/ @ndelangen @JReinhold @tmeasday @shilman
/code/lib/core-webpack/ @valentinpalkovic @ndelangen
/code/lib/csf-plugin/ @ndelangen @valentinpalkovic
/code/lib/csf-tools/ @kasperpeulen @shilman
Expand All @@ -71,7 +71,7 @@ docs/ @kylegach @jonniebigodes
/code/lib/node-logger/ @yannbf @ndelangen
/code/lib/preview/ @ndelangen @kasperpeulen
/code/lib/preview-api/ @yannbf @ndelangen @tmeasday
/code/lib/react-dom-shim/ @ndelangen @valentinpalkovic @tmeasday
/code/lib/react-dom-shim/ @ndelangen @valentinpalkovic @tmeasday
/code/lib/router/ @ndelangen @JReinhold
/code/lib/telemetry/ @shilman @yannbf @ndelangen
/code/lib/theming/ @cdedreuille @ndelangen @JReinhold
Expand Down
3 changes: 2 additions & 1 deletion code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -326,5 +326,6 @@
"Dependency Upgrades"
]
]
}
},
"deferredNextVersion": "7.2.0-alpha.1"
}
4 changes: 2 additions & 2 deletions code/presets/vue3-webpack/src/framework-preset-vue3-docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ export const webpackFinal: StorybookConfig['webpackFinal'] = (config, options) =
}
});

config.module.rules.push({
config.module?.rules?.push({
test: /\.vue$/,
loader: require.resolve('vue-docgen-loader', {
paths: [require.resolve('@storybook/preset-vue3-webpack')],
}),
enforce: 'post',
options: {
docgenOptions: {
alias: config.resolve.alias,
alias: config.resolve?.alias,
...vueDocgenOptions,
},
},
Expand Down
8 changes: 4 additions & 4 deletions code/presets/vue3-webpack/src/framework-preset-vue3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const webpack: StorybookConfig['webpack'] = (config) => {
return {
...config,
plugins: [
...config.plugins,
...(config.plugins ?? []),
new VueLoaderPlugin(),
new DefinePlugin({
__VUE_OPTIONS_API__: JSON.stringify(true),
Expand All @@ -16,7 +16,7 @@ export const webpack: StorybookConfig['webpack'] = (config) => {
module: {
...config.module,
rules: [
...config.module.rules,
...(config.module?.rules ?? []),
{
test: /\.vue$/,
loader: require.resolve('vue-loader'),
Expand Down Expand Up @@ -51,9 +51,9 @@ export const webpack: StorybookConfig['webpack'] = (config) => {
},
resolve: {
...config.resolve,
extensions: [...config.resolve.extensions, '.vue'],
extensions: [...(config.resolve?.extensions ?? []), '.vue'],
alias: {
...config.resolve.alias,
...config.resolve?.alias,
vue$: require.resolve('vue/dist/vue.esm-bundler.js'),
},
},
Expand Down
2 changes: 1 addition & 1 deletion code/presets/vue3-webpack/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"compilerOptions": {
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": false
"strict": true
},
"include": ["src/**/*"]
}
7 changes: 1 addition & 6 deletions docs/versions/next.json
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
{
"version": "7.2.0-alpha.0",
"info": {
"plain": "- Angular: Make enableProdMode optional - [#23489](https://github.com/storybookjs/storybook/pull/23489), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!\n- Router: Support RegExp in Route component - [#23292](https://github.com/storybookjs/storybook/pull/23292), thanks [@ndelangen](https://github.com/ndelangen)!\n- UI: Improve tabs component, more type correct, allow for FC as title - [#23288](https://github.com/storybookjs/storybook/pull/23288), thanks [@ndelangen](https://github.com/ndelangen)!\n- Addons: Improve code quality by using title as FC & sharing state via useAddonState - [#23298](https://github.com/storybookjs/storybook/pull/23298), thanks [@ndelangen](https://github.com/ndelangen)!\n- InteractionsAddon: Improve code quality by using title as FC & sharing state via useAddonState - [#23291](https://github.com/storybookjs/storybook/pull/23291), thanks [@ndelangen](https://github.com/ndelangen)!\n- UI: Add storyStatus to sidebar UI - [#23342](https://github.com/storybookjs/storybook/pull/23342), thanks [@ndelangen](https://github.com/ndelangen)!\n- Addon API: Add experimental page addon type - [#23307](https://github.com/storybookjs/storybook/pull/23307), thanks [@ndelangen](https://github.com/ndelangen)!\n- UI: refactor Canvas component so we can improve types for PREVIEW addons and TAB addons - [#23311](https://github.com/storybookjs/storybook/pull/23311), thanks [@ndelangen](https://github.com/ndelangen)!\n- UI: Improve Button layout and props - [#23356](https://github.com/storybookjs/storybook/pull/23356), thanks [@cdedreuille](https://github.com/cdedreuille)!\n- Dependencies: Remove references to api and the 2 deprecated channel packages - [#23384](https://github.com/storybookjs/storybook/pull/23384), thanks [@ndelangen](https://github.com/ndelangen)!\n- UI: Show the story status in the search results - [#23441](https://github.com/storybookjs/storybook/pull/23441), thanks [@ndelangen](https://github.com/ndelangen)!\n- UI: Create new form elements in the new Core UI (Input, TextArea, Select) - [#23469](https://github.com/storybookjs/storybook/pull/23469), thanks [@cdedreuille](https://github.com/cdedreuille)!\n- CLI: Improve support of mono repositories - [#23458](https://github.com/storybookjs/storybook/pull/23458), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!\n"
}
}
{"version":"7.2.0-alpha.1","info":{"plain":"- Addon: Create @storybook/addon-themes - [#23524](https://github.com/storybookjs/storybook/pull/23524), thanks [@Integrayshaun](https://github.com/Integrayshaun)!\n- Angular: Fix initialization of Storybook in Angular 16.1 - [#23598](https://github.com/storybookjs/storybook/pull/23598), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!\n- CLI: Gracefully shutdown and cleanup execa child processes - [#23538](https://github.com/storybookjs/storybook/pull/23538), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!\n- Dependencies: Downgrade `jest-mock` - [#23597](https://github.com/storybookjs/storybook/pull/23597), thanks [@ndelangen](https://github.com/ndelangen)!\n- Dependencies: Upgrade simple-update-notifier - [#23396](https://github.com/storybookjs/storybook/pull/23396), thanks [@dartess](https://github.com/dartess)!\n- Maintainance: Fix codeowner docs glob - [#23610](https://github.com/storybookjs/storybook/pull/23610), thanks [@kasperpeulen](https://github.com/kasperpeulen)!\n- Storyshots: fix broken storyshots with angular - [#23555](https://github.com/storybookjs/storybook/pull/23555), thanks [@mattlewis92](https://github.com/mattlewis92)!\n- TypeScript: Added `expanded` to `CoreCommon_StorybookRefs` to fix typescript errors - [#23488](https://github.com/storybookjs/storybook/pull/23488), thanks [@DotwoodMedia](https://github.com/DotwoodMedia)!\n- TypeScript: Downgrade to the last version of type-fest that doesn't need typescript 5.0 - [#23574](https://github.com/storybookjs/storybook/pull/23574), thanks [@ndelangen](https://github.com/ndelangen)!\n- Vue2: Source Decorator reactivity - [#23149](https://github.com/storybookjs/storybook/pull/23149), thanks [@chakAs3](https://github.com/chakAs3)!"}}