410 Commits

Author SHA1 Message Date
Norbert de Langen
adf4799fd4
change usage 2022-11-24 00:02:56 +01:00
Norbert de Langen
80fdba5aa8
use preview-api everywhere 2022-11-23 16:55:12 +01:00
Norbert de Langen
a9d2ae754f
Merge branch 'next' into tech/introduce-preview-api 2022-11-22 16:16:42 +01:00
Norbert de Langen
96568264b1
fix types types/node 2022-11-22 11:10:04 +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
Yann Braga
fbd3da77c0 Merge branch 'next' into fix-next-13-link 2022-11-21 12:27:44 +01: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
Michael Shilman
214ed3f439
Merge pull request #19798 from nix6839/next-framework-invalid-url-on-windows
NextJS: Fix import url on windows
2022-11-19 17:22:45 +08:00
Kyle Gach
223f969017 Update newNextLinkBehavior logic to match Next's 2022-11-18 13:12:18 -07:00
Yann Braga
58090fe46a rework next/link flag for Next.js 12 and 13 2022-11-18 13:12:18 -07:00
Kyle Gach
8ecd668842 Fix next@13 next/link 2022-11-18 13:12:18 -07:00
Norbert de Langen
45761d38c4
Merge branch 'norbert/sb-798-figure-out-plan-for-package-structure-rework' into tech/introduce-preview-api 2022-11-18 17:23:10 +01: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
ef1c6861a4 Downgrade @types/node 2022-11-18 15:50:12 +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
8280608a6e Merge remote-tracking branch 'origin/next' into upgrade-jest-29 2022-11-17 18:51:35 +01:00
Kasper Peulen
119080c89b Fix deepscan 2022-11-17 16:55:37 +01:00
Kasper Peulen
59610613a1 Align ember cli template with the rest 2022-11-17 16:55:37 +01:00
Kasper Peulen
fb2cc54f0a Update layout comment 2022-11-17 16:55:37 +01:00
Kasper Peulen
da9433f91c Update Page stories template for 7 docs 2022-11-17 16:55:37 +01:00
Kasper Peulen
6f1588ff8e Update Header stories template for 7 docs 2022-11-17 16:55:37 +01:00
Kasper Peulen
b3e708b45d Update Button stories template for 7 docs 2022-11-17 16:55:37 +01:00
Kasper Peulen
e8ed15febc Upgrade to TS 4.9 2022-11-17 16:24:12 +01:00
Norbert de Langen
54ab89ce63
Merge branch 'next' into fix/server-require-double-esbuildregister 2022-11-17 10:01:17 +01:00
Norbert de Langen
d018cbf7bd
fixes 2022-11-17 09:57:26 +01:00
Valentin Palkovic
5c09970673 Fix sandbox creation by adjusting package version ranges 2022-11-17 09:03:57 +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
f79fe43eeb Upgrade jest to 29 2022-11-16 19:29:31 -05:00
Ian VanSchooten
c1a49c4c6c Merge remote-tracking branch 'origin/next' into marklb/upgrade-to-jest28 2022-11-16 14:20:48 -05:00
Ian VanSchooten
44129a439d Fix next-image-loader-stub 2022-11-16 10:24:41 -05:00
Norbert de Langen
5b50e27456
Merge branch 'norbert/sb-798-figure-out-plan-for-package-structure-rework' into tech/introduce-preview-api 2022-11-16 16:19:42 +01:00
Norbert de Langen
c26104d0b9
Merge branch 'next' into tech/introduce-preview-api 2022-11-16 16:16:24 +01:00
Ian VanSchooten
c77276b4fc Upgrade jest-specific-snapshot 2022-11-16 07:54:54 -05:00
Norbert de Langen
a634cf918f
Merge branch 'next' into norbert/sb-798-figure-out-plan-for-package-structure-rework 2022-11-16 10:59:02 +01:00
Kasper Peulen
a972ff2470
Merge pull request #19833 from storybookjs/kasper/expose-more-types
Expose more CSF types in all renderers
2022-11-16 10:17:59 +01:00
Ian VanSchooten
80141d90b6 Upgrade jest-specific-snapshot
(and force correct jest-snapshot)
2022-11-15 23:19:01 -05:00
Norbert de Langen
a38734c81b
fixes 2022-11-15 20:42:46 +01: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
Kasper Peulen
4d637a5b85 Expose more types in the renderer 2022-11-14 17:12:13 +01:00
Norbert de Langen
3fd2261293
all sorts of ts fixes or ignores after enabling ts to function on tests and stories 2022-11-14 17:06:53 +01:00
Norbert de Langen
8eb96195a5
do not ts ignore test 2022-11-14 14:18:39 +01:00
Norbert de Langen
dbb98764fa
some typings improvements 2022-11-14 14:05:51 +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