45691 Commits

Author SHA1 Message Date
Yann Braga
4426b0718f only set next/future/image mocks from next.js 12.2 2022-12-06 07:22:50 +01:00
Tom Coleman
bafc8955c6
Merge pull request #20055 from storybookjs/tom/sb-1013-batch-imports-in-loadallcsffiles-to
Core: Batch the loading of CSF files for `extract()` etc
2022-12-06 16:59:48 +11:00
Kyle Gach
098664d009
Merge pull request #20053 from storybookjs/add-csf-2-to-3-banner 2022-12-05 13:53:06 -07:00
Kyle Gach
7511fd0e68 Address comments
- Add links in upgrade section to other, reference sections
2022-12-05 12:41:34 -07:00
Kyle Gach
c990dbdd09 Address comments
- Update web-components snippet per https://github.com/storybookjs/storybook/pull/20053#discussion_r1037861514
2022-12-05 12:37:36 -07:00
Kyle Gach
74f3252ff8 Add CSF 2->3 upgrade docs & snippets 2022-12-05 12:37:36 -07:00
Kyle Gach
03f1825a1d Add CSF 2->3 attributes to docs CodeSnippets 2022-12-05 12:37:36 -07:00
Kyle Gach
2cee61b651 Update snippets to CSF 3
- Fix some minor errors
2022-12-05 12:37:36 -07:00
Kyle Gach
a12c699530 Update links in Addon knowledge base doc
- Point to `main` instead of `master`
- Use Chromatic branch permalink
2022-12-05 12:37:36 -07:00
Norbert de Langen
825f8b83ed
Merge branch 'next' into tom/sb-1013-batch-imports-in-loadallcsffiles-to 2022-12-05 18:17:11 +01:00
Norbert de Langen
e14ac8ff7c
Merge pull request #19899 from jeroenhabets/patch-1
Bump store2 to 2.14.2 license clarification
2022-12-05 18:15:40 +01:00
Norbert de Langen
b0c29716d9
cleanup 2022-12-05 17:46:39 +01:00
Norbert de Langen
c8a005cfec
update lockfile 2022-12-05 17:41:36 +01:00
Norbert de Langen
8e4e29c17a
Merge branch 'next' into patch-1 2022-12-05 15:41:54 +01:00
Kyle Gach
45962af305
Merge pull request #20016 from storybookjs/framework-docs-edits
Edits for 7.0 framework docs
2022-12-05 07:15:17 -07:00
Norbert de Langen
ff40cffc14
Merge pull request #20021 from storybookjs/fix-export-gen
Build: Add missing dependencies to manager, unify TS to ~4.9.3
2022-12-05 12:33:07 +01:00
Michael Shilman
7af491a5d8
Merge pull request #20088 from storybookjs/shilman/support-ts-satisfies
CSF: Add satisfies support to csf-tools
2022-12-05 17:29:13 +08:00
Norbert de Langen
4fe817c8e3
fix linting 2022-12-05 10:24:11 +01:00
Michael Shilman
4872094f8a CSF: Add satisfies support to csf-tools 2022-12-05 17:03:45 +08:00
Norbert de Langen
ae34b30a59
Merge branch 'next' into fix-export-gen 2022-12-05 09:42:49 +01:00
Norbert de Langen
b2e0a8af3d
Merge pull request #20083 from storybookjs/tom/sb-466-external-docs-exports-from-2
Fix SSR in external docs via `node` exports
2022-12-05 09:32:01 +01:00
Yann Braga
8a076f6dc5
Merge pull request #20035 from storybookjs/fix/improve-sb-scripts-automigration
CLI: Improve sb-scripts automigration logic
2022-12-05 09:15:05 +01:00
Yann Braga
d4fce7f876 use dedent instead of concatenating strings 2022-12-05 08:41:25 +01:00
Yann Braga
bb2bd316d6 use whole word replacement for sb-scripts 2022-12-05 08:41:25 +01:00
Yann Braga
51cf0dccae improve sb-scripts automigration logic 2022-12-05 08:41:25 +01:00
Michael Shilman
91659a8bf8 7.0.0-alpha.58 next.json version file [skip ci] 2022-12-05 14:30:38 +08:00
Tom Coleman
e674bb5464 Use Sync promise in base case 2022-12-05 17:27:35 +11:00
Michael Shilman
c64b984ca4 Update git head to 7.0.0-alpha.58, update yarn.lock [ci skip] 2022-12-05 14:26:04 +08:00
Michael Shilman
c7f8e3e848 v7.0.0-alpha.58 v7.0.0-alpha.58 2022-12-05 14:21:34 +08:00
Michael Shilman
e01560a0f0 Update root, peer deps, version.ts/json to 7.0.0-alpha.58 [ci skip] 2022-12-05 14:17:42 +08:00
Michael Shilman
52b2eee6fa 7.0.0-alpha.58 changelog 2022-12-05 14:17:26 +08:00
Michael Shilman
b46b009e93
Merge pull request #20003 from storybookjs/tech/remove-postcss
Core: Remove postcss feature flag
2022-12-05 14:15:40 +08:00
Tom Coleman
f19aa259db Merge remote-tracking branch 'origin/next' into tom/sb-1013-batch-imports-in-loadallcsffiles-to 2022-12-05 17:14:45 +11:00
Michael Shilman
3b97e7e78a
Merge pull request #20084 from storybookjs/shilman/ugrade-success-telemetry
Telemetry: Add precedingUpgrade data to dev/build events
2022-12-05 13:59:22 +08:00
Michael Shilman
44f70aab00 Merge branch 'next' into tech/remove-postcss 2022-12-05 13:48:36 +08:00
Tom Coleman
db68fa915e
Merge pull request #20075 from storybookjs/tom/sb-649-enable-sb-upgrade-to-use-npm-tags
Add `--tag` option to `upgrade` script
2022-12-05 15:18:55 +11:00
Michael Shilman
b92b756e4d Merge branch 'next' into tom/sb-649-enable-sb-upgrade-to-use-npm-tags 2022-12-05 09:23:48 +08:00
Michael Shilman
d21d47638e
Merge pull request #19698 from GregLahaye/add-html-vite-framework
HTML: Add `html-vite` framework
2022-12-05 09:17:04 +08:00
Michael Shilman
4d0ffcf7a7 Code review comments 2022-12-05 08:57:49 +08:00
Tom Coleman
ee32804f5b Also don't know why this is required 2022-12-05 10:53:06 +11:00
Tom Coleman
1df2047117 Not sure why I need to do this, I think it's an eslint bug 2022-12-05 10:09:28 +11:00
jonniebigodes
b19f7f4e1b
Merge pull request #20086 from storybookjs/chore_vue_additional_ts_examples
Chore: (Docs) Additional Vue TS snippets
2022-12-04 17:07:31 +00:00
jonniebigodes
9eb7055f57
Merge pull request #20085 from storybookjs/chore_assets_docs_misc
Chore: (Docs) Asset conversion to the new UI
2022-12-04 16:18:46 +00:00
jonniebigodes
2cbadbf733 Configure section Vue TS 2022-12-04 16:08:06 +00:00
Michael Shilman
6c644b1b18 Add precedingUpgrade data to dev/build events
This allows us to track failures more easily and improve our upgrade heuristics
2022-12-04 21:15:53 +08:00
Tom Coleman
81796caf06 Remove unused useMemo 2022-12-04 23:24:32 +11:00
Tom Coleman
ab4855e187 Move Mutation observer creation inside useEffect
(So it works in SSR)
2022-12-04 23:12:48 +11:00
Tom Coleman
74f795f9e2 Use node: exports to ensure we prefer CJS in node
Our ESM compilation currently assumes a browser and makes certain optimizations accordingly. That means when SSR, we need to make sure the process uses the CJS imports.
2022-12-04 23:06:10 +11:00
Tom Coleman
315da62344 Update external-docs configs to get it working (broken) again 2022-12-04 23:06:03 +11:00
Tom Coleman
910324e067 Add .next to git ignore 2022-12-04 23:05:56 +11:00