1450 Commits

Author SHA1 Message Date
Norbert de Langen
ced3531af2
cleanup 2022-11-20 23:00:42 +01:00
Norbert de Langen
f55703082a
fixes 2022-11-20 22:52:00 +01:00
Norbert de Langen
ce395e27ce
fixes 2022-11-20 22:42:44 +01:00
Norbert de Langen
3e67f8f82b
fixes 2022-11-20 22:33:21 +01:00
Norbert de Langen
dbdc4c421d
use tsup to build vite-builder 2022-11-19 01:50:01 +01: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
Kasper Peulen
ef1c6861a4 Downgrade @types/node 2022-11-18 15:50:12 +01:00
Yann Braga
a4d2f184b5 add angular 14 template and skip test runner on angular 15 2022-11-18 14:03:35 +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
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
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
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
Norbert de Langen
f0d350022c
fix double esbuild-register register 2022-11-16 15:05:12 +01: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
8a97d67a87 Merge remote-tracking branch 'origin/next' into marklb/upgrade-to-jest28 2022-11-14 21:18:37 -05:00
Ian VanSchooten
2370e5615a Clean up typescript some more 2022-11-14 16:36:17 -05:00
Ian VanSchooten
32db3b2c63 Vite: Keep using absolute path node_modules splitting 2022-11-14 16:14:33 -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
Norbert de Langen
1e9e0c4861
Merge pull request #19831 from storybookjs/tech/legacy-api-storyshots
Tech: TypeScript should check stories and tests as well
2022-11-14 17:35:33 +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
Michael Shilman
b0c013aa1c
Merge pull request #19822 from joshwooding/fix-preview-annotations-in-windows-vite-builder
Vite: Fix preview annotation paths on Windows
2022-11-14 22:13:09 +08: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
a6e483a36a Revert path.posix changes 2022-11-14 09:21:35 +01:00
Valentin Palkovic
7539f514f4 Remove unnecessary import 2022-11-14 09:14:49 +01:00
Valentin Palkovic
5ad19baf2b Fix windows test 2022-11-14 09:14:49 +01:00
Valentin Palkovic
8f3094b9c4 Replace toMatchInlineSnapshot assertion with toEqual 2022-11-14 09:14:49 +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
6f3089cf01 Try out new version of mock-fs to fix test 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
Josh Wooding
73b7e8a57b
Fix csf-plugin ignoring options 2022-11-14 01:52:46 +00:00
Josh Wooding
97c5514afc
Fix preview annotations with the Vite builder on Windows 2022-11-14 01:45:17 +00: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