2446 Commits

Author SHA1 Message Date
Tom Coleman
bf5eacb9cb Merge remote-tracking branch 'origin/next' into tom/sb-787-add---no-degit-option-to-repro-next-and 2022-11-21 16:36:33 +11: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
a2981f7081 Update root, peer deps, version.ts/json to 7.0.0-alpha.51 [ci skip] 2022-11-19 20:50:23 +08:00
Michael Shilman
3ab3e21185 Merge branch 'next' into valentin/swc-babel-nextjs 2022-11-19 18:29:46 +08:00
Michael Shilman
d49761bbff
Merge pull request #19870 from storybookjs/fix/replace-degit-with-gegit
CLI: Replace degit with giget
2022-11-19 18:04:05 +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
Norbert de Langen
48c4c42f4a
Merge pull request #19694 from bryanjtc/tsup-lib-channel-websocket
Build: Bundle lib/channel-websocket with tsup
2022-11-19 01:35:23 +01:00
Yann Braga
a9a5524d40 replace degit with gegit
- degit is unmaintained, gegit is a good successor
2022-11-18 17:12:38 +01:00
Kasper Peulen
ef1c6861a4 Downgrade @types/node 2022-11-18 15:50:12 +01:00
Norbert de Langen
94368a7f7c
regen lockfile 2022-11-18 14:35:53 +01:00
Yann Braga
a4d2f184b5 add angular 14 template and skip test runner on angular 15 2022-11-18 14:03:35 +01:00
Jeppe Reinhold
9d49e82a86
Merge pull request #19771 from Vidcruiter/remove-addon-panel-div-transform
Fix: addon panel content is invisible for any addon listed after the interactions panel
2022-11-18 11:51:23 +01:00
Kasper Peulen
1b151d4f3e Downgrade jest-mock 2022-11-17 21:36:52 +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
Norbert de Langen
fdb1653a38
Merge branch 'next' into fix/bail-preview-on-failure 2022-11-17 17:29:07 +01:00
Kasper Peulen
b72bbe6631
Merge pull request #19874 from storybookjs/kasper/pin-chromatic
Pin chromatic version to 6.11.2 to temporary fix  flakiness
2022-11-17 17:21:47 +01:00
Kasper Peulen
e0609ff18b Pin chromatic to resolve flakiness 2022-11-17 17:04:36 +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
a80620f38d Remove todos 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
0c36f0af89
Merge pull request #19852 from storybookjs/fix/server-require-double-esbuildregister
fix double esbuild-register register
2022-11-17 12:04:34 +01:00
Norbert de Langen
4bf9d31c0c
Merge pull request #19848 from jpzwarte/fix/regression-root-to-storybook-root
Fix regression in the `#root` to `#storybook-root` change
2022-11-17 10:54:53 +01:00
Jeppe Reinhold
7ca44e3aa1
Merge pull request #19807 from gitstart/fix/showPanel-mobile-view
UI: Fix `showPanel=false` doesn't work on mobile view
2022-11-17 10:23:11 +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
Michael Shilman
d90785f3ff Update root, peer deps, version.ts/json to 7.0.0-alpha.50 [ci skip] 2022-11-17 14:52:31 +08:00
Ian VanSchooten
a2388919f8 Separate global and project configs 2022-11-16 19:31:55 -05:00
Ian VanSchooten
f79fe43eeb Upgrade jest to 29 2022-11-16 19:29:31 -05:00
Jeppe Reinhold
20616713bc Merge branch 'next' of github.com:storybookjs/storybook into pr/gitstart/19807 2022-11-16 23:38:57 +01:00
Jeppe Reinhold
5bc4668ea3 Merge branch 'next' of github.com:storybookjs/storybook into pr/gitstart/19807 2022-11-16 21:52:02 +01:00
Jeppe Reinhold
5976e2e25b UI SB: Disable sourcemaps when building in CI 2022-11-16 21:40:56 +01: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
24a9f98a39 Update local playwright 2022-11-16 13:53:05 -05:00
Ian VanSchooten
ff582a68a7 Re-disable vue3 test
It passes locally, fails in CI
2022-11-16 12:48:30 -05:00
Yann Braga
90f4216428
Merge pull request #19858 from storybookjs/fix-next-image-stub
Fix next-image-loader-stub
2022-11-16 18:20:29 +01:00
Ian VanSchooten
08ba919440 Re-enable vue tests 2022-11-16 12:16:09 -05:00
Kasper Peulen
4cf0afe32c
Merge pull request #19839 from storybookjs/kasper/fix-decorator
Fix type inference bug with decorators
2022-11-16 17:42:00 +01:00
Norbert de Langen
ba093f3c45
regen lockfile 2022-11-16 16:44:04 +01:00
Kasper Peulen
148eb7da4c
Merge pull request #19853 from storybookjs/yann/fix-types-in-jest-addon
Jest: switch from Parameters to StorybookInternalParameters
2022-11-16 16:36:30 +01:00