246 Commits

Author SHA1 Message Date
Michael Shilman
3ab3e21185 Merge branch 'next' into valentin/swc-babel-nextjs 2022-11-19 18:29:46 +08:00
Kasper Peulen
ef1c6861a4 Downgrade @types/node 2022-11-18 15:50:12 +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
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
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
c77276b4fc Upgrade jest-specific-snapshot 2022-11-16 07:54:54 -05:00
Yann Braga
6b1e603b9b bail preview builder on failure
For some reason, even when Webpack fails e.g. wrong main.js config,
the preview may continue to print to stdout, which can affect output
when we catch this error and process those errors (e.g. telemetry)
gets overwritten by preview progress output. Therefore, we should bail the preview too.

An example to get into this situation is using a CRA project without @storybook/preset-create-react-app
2022-11-16 11:49:59 +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
Ian VanSchooten
894b2ca5e7 Merge remote-tracking branch 'origin/next' into marklb/upgrade-to-jest28
# Conflicts:
#	code/jest.config.js
2022-11-15 10:31:46 -05:00
Ian VanSchooten
82dc644bae
Merge pull request #19777 from storybookjs/valentin/fix-tests-on-windows
Fix tests on Windows
2022-11-15 10:20:15 -05:00
Ian VanSchooten
299eabe49e Remove unneeded ts-expect-error 2022-11-14 15:39:43 -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
Kasper Peulen
4d637a5b85 Expose more types in the renderer 2022-11-14 17:12:13 +01:00
Norbert de Langen
e10b02f392
small fixes 2022-11-14 14:33:38 +01:00
Norbert de Langen
8eb96195a5
do not ts ignore test 2022-11-14 14:18:39 +01:00
Valentin Palkovic
e7f83454fc Finalize 2022-11-14 09:14:49 +01:00
Valentin Palkovic
82b4e270ab Add console logs 2022-11-14 09:14:49 +01:00
Valentin Palkovic
78a7fd5f4c Remove unused code and test 2022-11-14 09:14:49 +01:00
Valentin Palkovic
9825b2c9ab Fix tests on Windows 2022-11-14 09:14:46 +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
4820cf904c Remove unnecessary/unused ts-jest 2022-11-12 23:34:20 -05:00
Ian VanSchooten
30358270d4 Get /lib tests passing 2022-11-10 13:50:43 -05:00
Ian VanSchooten
dfb9384de6 Create separate jest projects in /lib
This allows us to run some projects with node, and others with browser environment
2022-11-10 13:46:42 -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
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
dca4d7b3aa Update snapshots 2022-11-07 10:33:07 +11:00
Michael Shilman
048f51cf6b Fix store-json test 2022-11-04 14:01:25 +08:00
Tom Coleman
5b869d4eed Update snapshots 2022-11-04 14:51:28 +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
Michael Shilman
3c9e345187 Upgrade to mdx2-csf canary with clean entry points 2022-11-03 19:47:53 +08:00
Tom Coleman
6e256cd2ab Allow setting docsPage = automatic to set docs entries for all components 2022-11-02 16:19:51 +11:00
Tom Coleman
04cc734201 WIP use tags rather than addDocsTemplate in indexer 2022-11-02 15:46:31 +11:00
Mark
2c509cb2f7 More Angular test fixes and others 2022-11-01 03:08:53 -05: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
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
Michael Shilman
c083eb9c56 Merge branch 'next' into shilman/version-check-telemetry 2022-10-28 20:13:51 +08:00
Norbert de Langen
a8d0edafbe
fixes 2022-10-28 11:02:34 +02:00
Norbert de Langen
7a86f0363e
Merge pull request #19656 from storybookjs/consistent-type-imports
Build: Separate type and value imports, enforce with ESLint
2022-10-28 09:36:35 +03:00
Michael Shilman
d10ab1f6af Telemetry: Measure version update check 2022-10-28 14:33:28 +08:00