198 Commits

Author SHA1 Message Date
Norbert de Langen
a9d2ae754f
Merge branch 'next' into tech/introduce-preview-api 2022-11-22 16:16:42 +01:00
Michael Shilman
90bc7c03f7 Update git head to 7.0.0-alpha.52, update yarn.lock [ci skip] 2022-11-21 23:38:03 +09:00
Michael Shilman
d2494e3f51 v7.0.0-alpha.52 2022-11-21 23:33:02 +09:00
Michael Shilman
ef2f3eaf79 Update git head to 7.0.0-alpha.51, update yarn.lock [ci skip] 2022-11-19 20:58:22 +08:00
Michael Shilman
4fec76c3f5 v7.0.0-alpha.51 2022-11-19 20:54:33 +08:00
Michael Shilman
3ab3e21185 Merge branch 'next' into valentin/swc-babel-nextjs 2022-11-19 18:29:46 +08:00
Norbert de Langen
8d627d3079
Merge branch 'norbert/sb-798-figure-out-plan-for-package-structure-rework' into tech/introduce-preview-api 2022-11-18 16:17:40 +01:00
Kasper Peulen
2083fd1b00 Update some other jest related deps (@jest/globals, @jest/transform, jest-mock) 2022-11-17 19:07:57 +01:00
Kasper Peulen
e8ed15febc Upgrade to TS 4.9 2022-11-17 16:24:12 +01:00
Valentin Palkovic
7453a70426 Add proper Next.js framework support
NextJS projects should work out-of-the-box when Storybook is initialized.

1. Scenario: .babelrc or project babel.config.(m)js(x) file doesn't exist

In this case Next.js >= 12 uses swc to transpile the code. In Storybook
we will still use babel to transpile the code. We use the preset `next/babel`
and configure it to make the Next.js project work with Storybook. Any SWC/Next compiler
related options are ignored

2. Scenario: .babelrc or project babel.config.(m)js(x) file exist

Storybook will use the project's babel configuration for transpiling. All options, which
are passed to the `next/babel` prest are respected.
2022-11-17 08:58:42 +01:00
Michael Shilman
b5920aaef1 Update git head to 7.0.0-alpha.50, update yarn.lock [ci skip] 2022-11-17 15:10:36 +08:00
Michael Shilman
77184d0390 v7.0.0-alpha.50 2022-11-17 15:06:07 +08:00
Ian VanSchooten
25f7141c50 name jest projects using file path 2022-11-14 15:06:11 -05:00
Ian VanSchooten
e1d0790c9f Merge remote-tracking branch 'origin/next' into marklb/upgrade-to-jest28
# Conflicts:
#	code/lib/preview-web/src/PreviewWeb.test.ts
#	code/yarn.lock
2022-11-14 13:20:31 -05:00
Norbert de Langen
f81d873d63
Merge branch 'norbert/sb-798-figure-out-plan-for-package-structure-rework' into tech/introduce-preview-api 2022-11-14 18:29:32 +01:00
Norbert de Langen
8eb96195a5
do not ts ignore test 2022-11-14 14:18:39 +01:00
Norbert de Langen
5372081588
Merge branch 'norbert/sb-798-figure-out-plan-for-package-structure-rework' into tech/introduce-preview-api 2022-11-14 12:46:54 +01:00
Kasper Peulen
3c8f3e34ff Fix merge conflicts 2022-11-13 20:52:19 +01:00
Kasper Peulen
dcb3159294 Rename Framework to Renderer 2022-11-13 20:37:10 +01:00
Ian VanSchooten
3d3c23e9cd Merge remote-tracking branch 'origin/next' into marklb/upgrade-to-jest28
# Conflicts:
#	code/addons/essentials/package.json
#	code/addons/storyshots/storyshots-core/package.json
#	code/lib/api/package.json
#	code/yarn.lock
2022-11-13 11:59:45 -05:00
Michael Shilman
6fc49dd1b2 Update git head to 7.0.0-alpha.49, update yarn.lock [ci skip] 2022-11-13 23:54:31 +08:00
Michael Shilman
d7eb433300 v7.0.0-alpha.49 2022-11-13 23:50:52 +08:00
Ian VanSchooten
e6eac86e3b Fix export map for jest-transform-mdx 2022-11-12 22:51:06 -05:00
Ian VanSchooten
91e920c824 Merge remote-tracking branch 'origin/next' into marklb/upgrade-to-jest28 2022-11-12 22:05:31 -05:00
Norbert de Langen
6e19f0fe42
fix linting && cleanup 2022-11-11 15:35:49 +01:00
Norbert de Langen
455e9ef08d
wip 2022-11-11 14:57:01 +01:00
Norbert de Langen
90320c9ebb
Merge branch 'norbert/sb-798-figure-out-plan-for-package-structure-rework' into tech/introduce-preview-api 2022-11-11 13:58:28 +01:00
Ian VanSchooten
d5f5648acf Add tests for addons 2022-11-10 15:19:57 -05:00
Ian VanSchooten
217d461bc5 Merge remote-tracking branch 'origin/next' into marklb/upgrade-to-jest28
# Conflicts:
#	code/addons/storyshots/storyshots-core/package.json
#	code/lib/api/package.json
#	code/yarn.lock
2022-11-10 08:04:07 -05:00
Norbert de Langen
a255e097f9
oops 2022-11-10 10:28:16 +01:00
Norbert de Langen
bca3cba0e8
fix 2022-11-10 10:22:07 +01:00
Norbert de Langen
149deb8ec4
Merge branch 'next' into build/ts-up-addon-docs 2022-11-10 09:37:59 +01:00
Norbert de Langen
10cfd90866
fixes 2022-11-09 17:00:09 +01:00
Norbert de Langen
5033b32fe1
add extra export 2022-11-09 16:20:24 +01:00
Norbert de Langen
bc47cc4ff1
convert addon-docs to use ts-up 2022-11-09 15:27:38 +01:00
Norbert de Langen
226f9a4c41
Merge pull request #19623 from storybookjs/tom/sb-850-allow-passing-webview-and-urlstore-to
Core: Allow overriding WebView and UrlStore
2022-11-08 17:18:20 +01:00
Michael Shilman
99fe5792f9 Update git head to 7.0.0-alpha.48, update yarn.lock [ci skip] 2022-11-07 16:00:44 +08:00
Michael Shilman
b58a29b785 v7.0.0-alpha.48 2022-11-07 15:56:24 +08:00
Michael Shilman
0e99426ee7 Add non-story content to test mdxSource generation 2022-11-07 14:41:24 +08:00
Tom Coleman
8ce29a01ad
Merge pull request #19750 from storybookjs/tom/sb-754-hmr-does-not-detect-addedremoved-stories
Sandboxes: Fix up stories entry to allow HMR
2022-11-07 14:31:24 +11:00
Norbert de Langen
774bb0e017
Merge branch 'next' into tech/introduce-preview-api 2022-11-04 10:11:52 +01:00
Tom Coleman
55e59e7a0e Remove unnecessary titles 2022-11-04 16:23:21 +11:00
Tom Coleman
2becfed339 Merge remote-tracking branch 'origin/next' into tom/sb-850-allow-passing-webview-and-urlstore-to 2022-11-04 14:03:12 +11:00
Tom Coleman
08863527cf Merge remote-tracking branch 'origin/next' into tom/sb-882-use-mdx-tag-instead-of-matching-on 2022-11-04 13:22:40 +11:00
Tom Coleman
405a53e003 Fix missing import 2022-11-04 13:20:12 +11:00
Tom Coleman
8757fb80de Update back to next tag 2022-11-04 13:17:44 +11:00
Tom Coleman
40e298c14f Merge remote-tracking branch 'origin/next' into tom/sb-888-disable-play-functions-in-docs-if-not 2022-11-04 11:02:15 +11:00
Norbert de Langen
ed15e7cfcb
fixes 2022-11-03 19:38:24 +01:00
Norbert de Langen
3a801158ed
step 5 2022-11-03 15:29:51 +01:00
Norbert de Langen
ed3a8ec642
step 4 2022-11-03 14:39:43 +01:00