Skip to content

Commit

Permalink
Merge pull request #23793 from storybookjs/version-patch-from-7.2.2
Browse files Browse the repository at this point in the history
Release: Patch 7.2.3
  • Loading branch information
kasperpeulen authored Aug 11, 2023
2 parents 29a6b5d + ec33d02 commit de3448e
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 7.2.3

- Build: Support Chrome 100, Safari 15 and Firefox 91 - [#23800](https://github.com/storybookjs/storybook/pull/23800), thanks [@kasperpeulen](https://github.com/kasperpeulen)!

## 7.2.2

- CSF-Tools: Remove prettier from printConfig - [#23766](https://github.com/storybookjs/storybook/pull/23766), thanks [@kasperpeulen](https://github.com/kasperpeulen)!
Expand Down
2 changes: 1 addition & 1 deletion code/builders/builder-manager/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const getConfig: ManagerBuilder['getConfig'] = async (options) => {
'.eot': 'dataurl',
'.ttf': 'dataurl',
},
target: ['chrome100'],
target: ['chrome100', 'safari15', 'firefox91'],
platform: 'browser',
bundle: true,
minify: true,
Expand Down
4 changes: 1 addition & 3 deletions code/lib/cli/src/automigrate/fixes/missing-babelrc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ const babelContent = JSON.stringify({
[
'@babel/preset-env',
{
targets: {
chrome: 100,
},
targets: { chrome: 100, safari: 15, firefox: 91 },
},
],
'@babel/preset-typescript',
Expand Down
4 changes: 3 additions & 1 deletion code/lib/cli/src/babel-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ export const writeBabelConfigFile = async ({
}) => {
const fileLocation = location || path.join(process.cwd(), '.babelrc.json');

const presets: (string | [string, any])[] = [['@babel/preset-env', { targets: { chrome: 100 } }]];
const presets: (string | [string, any])[] = [
['@babel/preset-env', { targets: { chrome: 100, safari: 15, firefox: 91 } }],
];

if (typescript) {
presets.push('@babel/preset-typescript');
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.3"
}
2 changes: 1 addition & 1 deletion docs/versions/latest.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"7.2.2","info":{"plain":"- CSF-Tools: Remove prettier from printConfig - [#23766](https://github.com/storybookjs/storybook/pull/23766), thanks [@kasperpeulen](https://github.com/kasperpeulen)!"}}
{"version":"7.2.3","info":{"plain":"- Build: Support Chrome 100, Safari 15 and Firefox 91 - [#23800](https://github.com/storybookjs/storybook/pull/23800), thanks [@kasperpeulen](https://github.com/kasperpeulen)!"}}
2 changes: 1 addition & 1 deletion docs/versions/next.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"7.2.0-rc.0","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- 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)!"}}
{"version":"7.2.2-alpha.1","info":{"plain":"- CSF-Tools: Remove prettier from printConfig - [#23766](https://github.com/storybookjs/storybook/pull/23766), thanks [@kasperpeulen](https://github.com/kasperpeulen)!\n- UI: Improve Link component - [#23767](https://github.com/storybookjs/storybook/pull/23767), thanks [@cdedreuille](https://github.com/cdedreuille)!\n- UI: Improve new `Button` component - [#23765](https://github.com/storybookjs/storybook/pull/23765), thanks [@cdedreuille](https://github.com/cdedreuille)!\n- UI: Update Button types to allow for no children on iconOnly buttons - [#23735](https://github.com/storybookjs/storybook/pull/23735), thanks [@cdedreuille](https://github.com/cdedreuille)!\n- UI: Upgrade Icon component - [#23680](https://github.com/storybookjs/storybook/pull/23680), thanks [@cdedreuille](https://github.com/cdedreuille)!\n- WebpackBuilder: Remove need for `react` as peerDependency - [#23496](https://github.com/storybookjs/storybook/pull/23496), thanks [@ndelangen](https://github.com/ndelangen)!"}}
2 changes: 1 addition & 1 deletion scripts/prepare/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const run = async ({ cwd, flags }: { cwd: string; flags: string[] }) => {
watch,
outDir,
format: ['esm'],
target: 'chrome100',
target: ['chrome100', 'safari15', 'firefox91'],
clean: false,
...(dtsBuild === 'esm' ? dtsConfig : {}),
platform: platform || 'browser',
Expand Down
2 changes: 1 addition & 1 deletion scripts/prepare/esm-bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const run = async ({ cwd, flags }: { cwd: string; flags: string[] }) => {
outExtension: () => ({
js: '.js',
}),
target: 'chrome100',
target: ['chrome100', 'safari15', 'firefox91'],
clean: false,
...(dtsBuild ? dtsConfig : {}),
platform: 'browser',
Expand Down

0 comments on commit de3448e

Please sign in to comment.