81 Commits

Author SHA1 Message Date
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
Kasper Peulen
ef1c6861a4 Downgrade @types/node 2022-11-18 15:50:12 +01:00
Kasper Peulen
119080c89b Fix deepscan 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
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
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
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
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
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
28bac3478e Add frameworks 2022-11-10 14:25:48 -05:00
Han Yeong-woo
7cd13d3b41
Fix import url on windows 2022-11-11 00:40:06 +09: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
Tom Coleman
43f75b1fed Add docsPage tag to all Button/Header CLI templates 2022-11-02 17:02:43 +11:00
Michael Shilman
93e154bc4d Update git head to 7.0.0-alpha.47, update yarn.lock [ci skip] 2022-11-01 12:18:02 +08:00
Michael Shilman
1c706a4a77 v7.0.0-alpha.47 2022-11-01 12:14:02 +08:00
Kasper Peulen
123322c07d Rename tsx to ts as we don't use jsx anymore in stories 2022-10-31 11:57:39 +01:00
Kasper Peulen
c907472849 Migrate TS templates to CSF3 2022-10-31 11:57:34 +01:00
Kasper Peulen
960426dba3 Move all templates out of cli into renderers 2022-10-31 10:59:17 +01:00
Michael Shilman
a2174e328c Update git head to 7.0.0-alpha.46, update yarn.lock [ci skip] 2022-10-28 21:32:45 +08:00
Michael Shilman
c64b5be851 v7.0.0-alpha.46 2022-10-28 21:28:37 +08:00
Ian VanSchooten
393a12aac3 Use explicit type imports 2022-10-27 19:33:39 -04:00
Michael Shilman
b60bd552fe Update git head to 7.0.0-alpha.45, update yarn.lock [ci skip] 2022-10-28 05:58:51 +08:00
Michael Shilman
3ef1436611 v7.0.0-alpha.45 2022-10-28 05:55:09 +08:00
Michael Shilman
323d1271e5 Update git head to 7.0.0-alpha.44, update yarn.lock [ci skip] 2022-10-27 21:57:47 +08:00
Michael Shilman
d4965bd328 v7.0.0-alpha.44 2022-10-27 21:52:14 +08:00
Norbert de Langen
8bc4b24f3b
fixing linting 2022-10-26 10:02:19 +02:00
Norbert de Langen
9e60c3428f
Merge branch 'next' into ugrades/eslint 2022-10-26 08:51:41 +02:00
Norbert de Langen
bc197113d1
Merge branch 'next' into norbert/sb-799-create-a-storybooktypes 2022-10-25 17:06:52 +02:00
Michael Shilman
90bd0961ce Update git head to 7.0.0-alpha.43, update yarn.lock [ci skip] 2022-10-25 20:15:11 +08:00
Michael Shilman
f801c26f7b v7.0.0-alpha.43 2022-10-25 20:10:01 +08:00