From 3649ec221fc7d82ad1c634a8877e48b4cdb5007d Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Fri, 23 Dec 2022 20:11:35 +0800 Subject: [PATCH 1/7] 7.0.0-beta.14 next.json version file [skip ci] --- docs/versions/next.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/versions/next.json b/docs/versions/next.json index e2b35c780cb9..2b8fe343feae 100644 --- a/docs/versions/next.json +++ b/docs/versions/next.json @@ -1 +1 @@ -{"version":"7.0.0-beta.13","info":{"plain":"#### Features\n\n- Angular: Support compodoc output arg [#20338](https://github.com/storybooks/storybook/pull/20338)\n- NextJS: Support @next/font [#20291](https://github.com/storybooks/storybook/pull/20291)\n- NextJS: Support useSelectedLayoutSegment and useSelectedLayoutSegments [#20330](https://github.com/storybooks/storybook/pull/20330)\n- Preview Api: export `userOrAutoTitle` function [#20325](https://github.com/storybooks/storybook/pull/20325)\n\n#### Bug Fixes\n\n- Fix: peer dependency warning for `vite-react` [#20328](https://github.com/storybooks/storybook/pull/20328)\n- UI: swap `react-sizeme` for `react-resize-detector` [#20333](https://github.com/storybooks/storybook/pull/20333)\n- Vite: Detect React SWC plugin [#20335](https://github.com/storybooks/storybook/pull/20335)\n- CLI: Fix automigrate filtering [#20329](https://github.com/storybooks/storybook/pull/20329)\n- Vite: Include user config `optimizeDeps` in final `optimizeDeps` [#20313](https://github.com/storybooks/storybook/pull/20313)\n\n#### Maintenance\n\n- Tech: improve global types [#20184](https://github.com/storybooks/storybook/pull/20184)\n- CLI: Fix sb migrate csf-2-to-3 for multiple file extensions [#20290](https://github.com/storybooks/storybook/pull/20290)\n- CLI: Replace `update-notifier` with `simple-update-notifier` [#20266](https://github.com/storybooks/storybook/pull/20266)\n\n#### Build\n\n- Build: remove borders in task error message [#20305](https://github.com/storybooks/storybook/pull/20305)\n- Build: Fix pretty-docs CI job [#20319](https://github.com/storybooks/storybook/pull/20319)\n- Build: Update Playwright to 1.29 [#20318](https://github.com/storybooks/storybook/pull/20318)\n\n#### Dependencies\n\n- NextJS: Make addon-actions a regular dependency [#20324](https://github.com/storybooks/storybook/pull/20324)\n- NextJS: Fix addon-actions peerdependency [#20324](https://github.com/storybooks/storybook/pull/20324)\n- Vite-react: Fix peer dependency warning [#20328](https://github.com/storybooks/storybook/pull/20328)"}} \ No newline at end of file +{"version":"7.0.0-beta.14","info":{"plain":"#### Features\n\n- CLI: Write into a log file if automigrations fail [#20310](https://github.com/storybooks/storybook/pull/20310)\n- CLI: Add nodejs check in automigrations [#20342](https://github.com/storybooks/storybook/pull/20342)\n\n#### Bug Fixes\n\n- UI: Disable React.strictmode to avoid findNode deprecation warnings [#20345](https://github.com/storybooks/storybook/pull/20345)\n- Vite: Fix peerDep warning by updating `@joshwooding/vite-plugin-react-docgen-typescript` [#20359](https://github.com/storybooks/storybook/pull/20359)\n\n#### Maintenance\n\n- Don't allow setting `Meta of={X}` if `X` is tagged with `'autodocs'` [#20373](https://github.com/storybooks/storybook/pull/20373)\n- Rename `docsPage` => `autodocs` [#20364](https://github.com/storybooks/storybook/pull/20364)\n- Rename `docsOptions.enabled` to `docsOptions.disable` [#20363](https://github.com/storybooks/storybook/pull/20363)\n- Angular: Switch to default to inlineStories=true [#20118](https://github.com/storybooks/storybook/pull/20118)\n- Types: Add Addon_OptionsParameterV7 type [#20384](https://github.com/storybooks/storybook/pull/20384)\n\n#### Build\n\n- Build: regen lockfiles [#20386](https://github.com/storybooks/storybook/pull/20386)\n- Build: fix prettydocs CI flakyness [#20385](https://github.com/storybooks/storybook/pull/20385)\n- Build: Update Playwright to 1.29.1 [#20372](https://github.com/storybooks/storybook/pull/20372)\n- Build: store extra metadata for each sandbox test [#20365](https://github.com/storybooks/storybook/pull/20365)\n- Build: Remove the non-cross-platform dash-S option [#20360](https://github.com/storybooks/storybook/pull/20360)\n- Build: sync issues of `next` packages [#20354](https://github.com/storybooks/storybook/pull/20354)"}} \ No newline at end of file From 7b2f8f5faf3681008f6da944d098eb9a0f948f61 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Sat, 24 Dec 2022 13:04:56 +0800 Subject: [PATCH 2/7] 7.0.0-beta.15 next.json version file [skip ci] --- docs/versions/next.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/versions/next.json b/docs/versions/next.json index 2b8fe343feae..cf8ab6c8dba6 100644 --- a/docs/versions/next.json +++ b/docs/versions/next.json @@ -1 +1 @@ -{"version":"7.0.0-beta.14","info":{"plain":"#### Features\n\n- CLI: Write into a log file if automigrations fail [#20310](https://github.com/storybooks/storybook/pull/20310)\n- CLI: Add nodejs check in automigrations [#20342](https://github.com/storybooks/storybook/pull/20342)\n\n#### Bug Fixes\n\n- UI: Disable React.strictmode to avoid findNode deprecation warnings [#20345](https://github.com/storybooks/storybook/pull/20345)\n- Vite: Fix peerDep warning by updating `@joshwooding/vite-plugin-react-docgen-typescript` [#20359](https://github.com/storybooks/storybook/pull/20359)\n\n#### Maintenance\n\n- Don't allow setting `Meta of={X}` if `X` is tagged with `'autodocs'` [#20373](https://github.com/storybooks/storybook/pull/20373)\n- Rename `docsPage` => `autodocs` [#20364](https://github.com/storybooks/storybook/pull/20364)\n- Rename `docsOptions.enabled` to `docsOptions.disable` [#20363](https://github.com/storybooks/storybook/pull/20363)\n- Angular: Switch to default to inlineStories=true [#20118](https://github.com/storybooks/storybook/pull/20118)\n- Types: Add Addon_OptionsParameterV7 type [#20384](https://github.com/storybooks/storybook/pull/20384)\n\n#### Build\n\n- Build: regen lockfiles [#20386](https://github.com/storybooks/storybook/pull/20386)\n- Build: fix prettydocs CI flakyness [#20385](https://github.com/storybooks/storybook/pull/20385)\n- Build: Update Playwright to 1.29.1 [#20372](https://github.com/storybooks/storybook/pull/20372)\n- Build: store extra metadata for each sandbox test [#20365](https://github.com/storybooks/storybook/pull/20365)\n- Build: Remove the non-cross-platform dash-S option [#20360](https://github.com/storybooks/storybook/pull/20360)\n- Build: sync issues of `next` packages [#20354](https://github.com/storybooks/storybook/pull/20354)"}} \ No newline at end of file +{"version":"7.0.0-beta.15","info":{"plain":"#### Bug Fixes\n\n- Codemods: Fix peer dependency issue [#20399](https://github.com/storybooks/storybook/pull/20399)\n- Core: Wrap manager entries to handle exports using a cache directory [#20331](https://github.com/storybooks/storybook/pull/20331)\n- UI: fix deprecated ReactDOM.findDOMNode calls [#20368](https://github.com/storybooks/storybook/pull/20368)\n\n#### Maintenance\n\n- Build: Use tsup for core-server [#20134](https://github.com/storybooks/storybook/pull/20134)\n\n#### Build\n\n- Build: Make tests use SWC, not babel [#20397](https://github.com/storybooks/storybook/pull/20397)\n- Build: Fix trim vulnerability [#20371](https://github.com/storybooks/storybook/pull/20371)"}} \ No newline at end of file From 28295460b39cf373d16e29ad58305f3b61144282 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 29 Dec 2022 00:31:44 +0800 Subject: [PATCH 3/7] 7.0.0-beta.16 next.json version file [skip ci] --- docs/versions/next.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/versions/next.json b/docs/versions/next.json index cf8ab6c8dba6..36bd5c12238a 100644 --- a/docs/versions/next.json +++ b/docs/versions/next.json @@ -1 +1 @@ -{"version":"7.0.0-beta.15","info":{"plain":"#### Bug Fixes\n\n- Codemods: Fix peer dependency issue [#20399](https://github.com/storybooks/storybook/pull/20399)\n- Core: Wrap manager entries to handle exports using a cache directory [#20331](https://github.com/storybooks/storybook/pull/20331)\n- UI: fix deprecated ReactDOM.findDOMNode calls [#20368](https://github.com/storybooks/storybook/pull/20368)\n\n#### Maintenance\n\n- Build: Use tsup for core-server [#20134](https://github.com/storybooks/storybook/pull/20134)\n\n#### Build\n\n- Build: Make tests use SWC, not babel [#20397](https://github.com/storybooks/storybook/pull/20397)\n- Build: Fix trim vulnerability [#20371](https://github.com/storybooks/storybook/pull/20371)"}} \ No newline at end of file +{"version":"7.0.0-beta.16","info":{"plain":"#### Features\n\n- Preact-Vite: Add framework [#20390](https://github.com/storybooks/storybook/pull/20390)\n\n#### Maintenance\n\n- NextJS: Fix unnecessary addon-actions dev dep [#20426](https://github.com/storybooks/storybook/pull/20426)"}} \ No newline at end of file From 9934628e3c795232bcd4e67ef5351730cf8572c9 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Fri, 30 Dec 2022 21:44:53 +0800 Subject: [PATCH 4/7] 7.0.0-beta.17 next.json version file [skip ci] --- docs/versions/next.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/versions/next.json b/docs/versions/next.json index 36bd5c12238a..69503cbb9ba8 100644 --- a/docs/versions/next.json +++ b/docs/versions/next.json @@ -1 +1 @@ -{"version":"7.0.0-beta.16","info":{"plain":"#### Features\n\n- Preact-Vite: Add framework [#20390](https://github.com/storybooks/storybook/pull/20390)\n\n#### Maintenance\n\n- NextJS: Fix unnecessary addon-actions dev dep [#20426](https://github.com/storybooks/storybook/pull/20426)"}} \ No newline at end of file +{"version":"7.0.0-beta.17","info":{"plain":"#### Bug Fixes\n\n- Svelte: Do not warn about .svelte files in storyStoreV7 [#20442](https://github.com/storybooks/storybook/pull/20442)\n- Core: Fix import paths on Windows [#20430](https://github.com/storybooks/storybook/pull/20430)\n- UI: Set min-height relative to the viewport and the zoom level. [#20352](https://github.com/storybooks/storybook/pull/20352)\n\n#### Maintenance\n\n- Docs: Use `stories-mdx` and `autodocs` tags instead of `standalone: false` in index [#20424](https://github.com/storybooks/storybook/pull/20424)\n- Docs: Use `'stories-mdx'` tag to indicate story defined in MDX file [#20417](https://github.com/storybooks/storybook/pull/20417)\n- Preact-Vite: Minor readme and dependency cleanups [#20432](https://github.com/storybooks/storybook/pull/20432)\n\n#### Build\n\n- Tech: ESLint allow devDependencies imports in prebundled packages [#20440](https://github.com/storybooks/storybook/pull/20440)\n- Fix yarn task command on Windows machines [#20431](https://github.com/storybooks/storybook/pull/20431)"}} \ No newline at end of file From 290e44c9f679a06d28a8c245b1de9841c228bf86 Mon Sep 17 00:00:00 2001 From: jonniebigodes Date: Fri, 30 Dec 2022 14:36:52 +0000 Subject: [PATCH 5/7] FIxes rendering issue with the link --- docs/api/cli-options.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api/cli-options.md b/docs/api/cli-options.md index eda6a34ba49c..3bacfb52a90e 100644 --- a/docs/api/cli-options.md +++ b/docs/api/cli-options.md @@ -5,7 +5,9 @@ title: 'CLI options' Storybook comes with two CLI utilities: [`start-storybook`](#start-storybook) and [`build-storybook`](#build-storybook).
+ Storybook collects completely anonymous data to help us improve user experience. Participation is optional, and you may [opt-out](../configure/telemetry.md#how-to-opt-out) if you'd not like to share any information. +
Pass these commands the following options to alter Storybook's behavior. From b767a6358cde09caeac63410613859a164c10ee9 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Sun, 1 Jan 2023 18:27:59 +0800 Subject: [PATCH 6/7] 7.0.0-beta.19 next.json version file [skip ci] --- docs/versions/next.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/versions/next.json b/docs/versions/next.json index 69503cbb9ba8..ea958fbfb905 100644 --- a/docs/versions/next.json +++ b/docs/versions/next.json @@ -1 +1 @@ -{"version":"7.0.0-beta.17","info":{"plain":"#### Bug Fixes\n\n- Svelte: Do not warn about .svelte files in storyStoreV7 [#20442](https://github.com/storybooks/storybook/pull/20442)\n- Core: Fix import paths on Windows [#20430](https://github.com/storybooks/storybook/pull/20430)\n- UI: Set min-height relative to the viewport and the zoom level. [#20352](https://github.com/storybooks/storybook/pull/20352)\n\n#### Maintenance\n\n- Docs: Use `stories-mdx` and `autodocs` tags instead of `standalone: false` in index [#20424](https://github.com/storybooks/storybook/pull/20424)\n- Docs: Use `'stories-mdx'` tag to indicate story defined in MDX file [#20417](https://github.com/storybooks/storybook/pull/20417)\n- Preact-Vite: Minor readme and dependency cleanups [#20432](https://github.com/storybooks/storybook/pull/20432)\n\n#### Build\n\n- Tech: ESLint allow devDependencies imports in prebundled packages [#20440](https://github.com/storybooks/storybook/pull/20440)\n- Fix yarn task command on Windows machines [#20431](https://github.com/storybooks/storybook/pull/20431)"}} \ No newline at end of file +{"version":"7.0.0-beta.19","info":{"plain":"#### Features\n\n- NextJS: Add next/head support [#20436](https://github.com/storybooks/storybook/pull/20436)\n\n#### Bug Fixes\n\n- CLI: Do not use legacy-peer-deps for npm [#20456](https://github.com/storybooks/storybook/pull/20456)\n- CLI: Use closest lockfile to determine package manager [#20464](https://github.com/storybooks/storybook/pull/20464)\n- CLI: Use correct package manager for automigrate [#20428](https://github.com/storybooks/storybook/pull/20428)\n- CLI: Add prop-types dependency if not using TypeScript [#20449](https://github.com/storybooks/storybook/pull/20449)\n- CLI: Add peer dependency on react [#20459](https://github.com/storybooks/storybook/pull/20459)\n\n#### Maintenance\n\n- Vue3: Add TS / legacy TS CLI templates [#20434](https://github.com/storybooks/storybook/pull/20434)\n- Core: Delete outdated onerror handler [#20462](https://github.com/storybooks/storybook/pull/20462)\n\n#### Build\n\n- Build: Add extensions to lodash imports [#20443](https://github.com/storybooks/storybook/pull/20443)"}} \ No newline at end of file From 3465fccdc87346b6514b83e8a30f5dd0aa49e3e2 Mon Sep 17 00:00:00 2001 From: Duncan Cowan Date: Thu, 15 Dec 2022 19:50:28 +0000 Subject: [PATCH 7/7] fix: Correct allowed types of webpackStatsJson in angular-builder --- app/angular/src/builders/build-storybook/schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/angular/src/builders/build-storybook/schema.json b/app/angular/src/builders/build-storybook/schema.json index 2fa4edad3f2d..1640a3f986dd 100644 --- a/app/angular/src/builders/build-storybook/schema.json +++ b/app/angular/src/builders/build-storybook/schema.json @@ -53,7 +53,7 @@ } }, "webpackStatsJson": { - "type": "boolean", + "type": ["boolean", "string"], "description": "Write Webpack Stats JSON to disk", "default": false },