2922 Commits

Author SHA1 Message Date
Kasper Peulen
1fa7cf2e1a Add Template reference to mdx files 2023-02-21 17:37:35 +01:00
Kasper Peulen
d14a8db8ef Add csf snapshot for "convert correct story nodes" 2023-02-21 17:37:35 +01:00
Kasper Peulen
b7c082213e Comment out <Story id /> with a note to migrate 2023-02-21 17:37:35 +01:00
Kasper Peulen
85df7183e3 Only write story import to mdx file when needed 2023-02-21 17:37:35 +01:00
Kasper Peulen
b3ac73fa6e Fix extra test cases 2023-02-21 17:37:35 +01:00
Kasper Peulen
95a8e449e2 Replace comments 2023-02-21 17:37:35 +01:00
Kasper Peulen
49d80b054d Add note about regex used 2023-02-21 17:37:35 +01:00
Kasper Peulen
ea78bad5a5 Implement mdx to csf migration 2023-02-21 17:37:35 +01:00
Yann Braga
87f32d6db4 csf-tools: support satisfies and as TS operator with module.exports 2023-02-21 17:08:50 +01:00
Norbert de Langen
3a067f7b2c
Merge pull request #21161 from storybookjs/norbert/try-harder-getting-mjs-files
Fix: try harder to resolve `.mjs` files for the browser entries
2023-02-21 15:57:08 +01:00
Kasper Peulen
5ac3b9441c Fix jscodeshift error: env: node\r: No such file or directory 2023-02-21 10:31:26 +01:00
Norbert de Langen
8a1c247e28
Merge pull request #21168 from storybookjs/fix/refactor-automigrations
CLI: Improve how automigrations read `main.js`
2023-02-21 09:27:24 +01:00
Michael Shilman
effa5d88d0 Update git head to 7.0.0-beta.52, update yarn.lock [ci skip] 2023-02-21 15:36:42 +08:00
Michael Shilman
1f559ed69a v7.0.0-beta.52 2023-02-21 15:35:33 +08:00
Michael Shilman
ef1253d5c4 Update root, peer deps, version.ts/json to 7.0.0-beta.52 [ci skip] 2023-02-21 15:16:43 +08:00
Michael Shilman
f9e61a6656
Merge pull request #21166 from storybookjs/norbert/fix-21004-some-more
CLI: Fix CRA init, ensure the new version of the preset
2023-02-21 15:04:48 +08:00
Michael Shilman
0427498c29 Add migration note for CRA4 support 2023-02-21 15:03:33 +08:00
Tom Coleman
c22c5372d3 Merge branch 'next' into 20663-coalesce-errors 2023-02-21 09:26:32 +11:00
Tom Coleman
da186a0d71
Merge pull request #21112 from storybookjs/20663-rationalize-index-errors
Core: Don't crash when there are errors indexing
2023-02-21 09:20:53 +11:00
Yann Braga
5ef1d6c6a5 refactor and cleanup automigrations 2023-02-20 20:20:27 +01:00
Yann Braga
1f27f57472 refactor all webpack5 related migrations 2023-02-20 20:20:27 +01:00
Norbert de Langen
a3de472967
Merge branch 'next' into norbert/try-harder-getting-mjs-files 2023-02-20 18:34:48 +01:00
Norbert de Langen
6921a36ada
remove cra < 5 support 2023-02-20 18:33:10 +01:00
Norbert de Langen
e12e722c1b
Merge branch 'next' into norbert/fix-21004-some-more 2023-02-20 16:26:34 +01:00
Norbert de Langen
0ead7cc115
ensure the CLI installs the new version of the preset 2023-02-20 16:21:52 +01:00
Michael Shilman
f03e042419 Update git head to 7.0.0-beta.51, update yarn.lock [ci skip] 2023-02-20 23:05:49 +08:00
Michael Shilman
92ae17be35 v7.0.0-beta.51 2023-02-20 23:04:31 +08:00
Michael Shilman
8e29ccce4b Update root, peer deps, version.ts/json to 7.0.0-beta.51 [ci skip] 2023-02-20 23:01:59 +08:00
Yann Braga
13acf140c1
Merge pull request #21164 from storybookjs/fix/type-errors-automigrate
Maintenance: fix type errors on automigrate `check` step
2023-02-20 15:50:05 +01:00
Norbert de Langen
e40f9688d2
Merge branch 'next' into norbert/try-harder-getting-mjs-files 2023-02-20 15:47:02 +01:00
Michael Shilman
4d5d7aa67a Merge branch 'next' into shilman/framework-parameter-to-renderer 2023-02-20 22:40:56 +08:00
Yann Braga
6402ced34a fix type errors on automigrate check step 2023-02-20 15:22:57 +01:00
Norbert de Langen
f01cd5c33f
after resolve, check FS to see if there's a .mjs version available 2023-02-20 14:52:53 +01:00
Yann Braga
adff4293b8 detect legacy renderers in validations 2023-02-20 12:49:40 +01:00
Yann Braga
4477f8ca41 update migration for new-frameworks 2023-02-20 12:04:30 +01:00
Tom Coleman
53747a8931 Use import paths for errors, and slash them 2023-02-20 21:46:50 +11:00
Yann Braga
74ed92badb Merge branch 'next' into feat/configDir-automigrations 2023-02-20 09:38:48 +01:00
Tom Coleman
62ccd7ec53
Merge pull request #21098 from storybookjs/20913-remove-docsOptions.disable
Docs: Remove `DocsOptions.disable`
2023-02-20 15:32:57 +11:00
Tom Coleman
ecc048caf8 Remove reference to disabled docs 2023-02-20 13:12:19 +11:00
Tom Coleman
048ef7fe89 Fix linting 2023-02-20 13:10:55 +11:00
Yann Braga
539483017d Merge branch 'next' into feat/configDir-automigrations 2023-02-20 00:14:26 +01:00
Yann Braga
a6d2ce0537 add skip-install option to automigrate 2023-02-20 00:12:29 +01:00
Yann Braga
4d5d28d941 restructure migrations api for reading and writing main.js 2023-02-19 23:07:03 +01:00
Yann Braga
55c26a696f bail automigrate early in monorepos when not specifying config-dir 2023-02-17 17:37:25 +01:00
Yann Braga
cc82057d88 improve error message 2023-02-17 17:36:06 +01:00
Michael Shilman
980fe8c8d3 Update git head to 7.0.0-beta.50, update yarn.lock [ci skip] 2023-02-18 00:11:23 +08:00
Michael Shilman
ecbe308bda v7.0.0-beta.50 2023-02-18 00:09:59 +08:00
Michael Shilman
c59f9d3974 Update root, peer deps, version.ts/json to 7.0.0-beta.50 [ci skip] 2023-02-18 00:07:35 +08:00
Michael Shilman
43ac0aab10
Merge pull request #21123 from storybookjs/vite/mdx1-version
Vite: Update dep range for @storybook/mdx1-csf
2023-02-17 23:55:40 +08:00
Michael Shilman
372f205e9d Revert #21096 Vite: Fix storysource addon support 2023-02-17 23:11:49 +08:00