2276 Commits

Author SHA1 Message Date
Michael Shilman
ebe670eaf0
Merge pull request #19713 from storybookjs/tom/sb-895-docs-option-to-turn-on-docs-page
Allow setting docsPage `automatic` to create docs entries for all components
2022-11-03 11:26:12 +08:00
Tom Coleman
f8f22ac409
Merge pull request #19717 from storybookjs/tom/sb-726-telemetry-fix-rendererframework
Pull renderer+builder from framework's package.json + a known list
2022-11-03 14:23:45 +11:00
Ian VanSchooten
0add1a99b4 Fix TS 4.8 errors 2022-11-02 22:41:03 -04:00
Ian VanSchooten
4560a33187 Limit Node16 to only where it's needed, for now
Turns out it's kind of a bit PITA
2022-11-02 22:40:12 -04:00
Michael Shilman
59a5550530 CSF-tools: Support default exports for SB7 2022-11-03 10:39:04 +08:00
Jeppe Reinhold
16b450feb3 enable ChangeArgs test for Svelte 2022-11-03 00:48:03 +01:00
Ian VanSchooten
edb90d6b7c Remove /dist from exports & imports 2022-11-02 19:43:21 -04:00
Ian VanSchooten
9264795cc6 Add typescript eslint resolver 2022-11-02 19:43:00 -04:00
Ian VanSchooten
d41699aa1d Use Node16 moduleResolution 2022-11-02 19:34:59 -04:00
Ian VanSchooten
9fe7fdc20b Upgrade to TS 4.8 2022-11-02 19:33:16 -04:00
Mark
78cded6c9c Merge remote-tracking branch 'origin/next' into marklb/undo-over-removal-of-deprecation 2022-11-02 18:10:50 -05:00
Ian VanSchooten
ede95622a1 Merge remote-tracking branch 'origin/next' into nested-addons
# Conflicts:
#	code/addons/outline/package.json
2022-11-02 19:07:41 -04:00
Mark
902c4be97e Merge remote-tracking branch 'origin/next' into marklb/undo-over-removal-of-deprecation 2022-11-02 17:26:41 -05:00
Gavin Mogan
2f676a2528 Use import.meta.webpackHot instead of module.hot for check 2022-11-02 15:20:09 -07:00
Norbert de Langen
b298a49a44
Merge pull request #19672 from storybookjs/prettier-upgrade
Dependencies: Bump prettier dependency, cleanup config
2022-11-02 22:45:28 +01:00
Norbert de Langen
79187f4049
Merge pull request #19724 from storybookjs/nested-dts
Fix: Point to correct .d.ts files from export maps
2022-11-02 21:57:33 +01:00
Ian VanSchooten
b37061cbd1 Merge remote-tracking branch 'origin/next' into prettier-upgrade 2022-11-02 16:05:04 -04:00
Ian VanSchooten
a61403ae0b Use /dist/preview in addons 2022-11-02 16:02:17 -04:00
Jeppe Reinhold
32da70d1ba Merge branch 'next' of github.com:storybookjs/storybook into jeppe/fix-svelte-in-docs 2022-11-02 20:56:55 +01:00
Ian VanSchooten
cec66540e3 Standardize addon preview location / export 2022-11-02 15:55:19 -04:00
Kasper Peulen
e0026c02c8
Merge pull request #19669 from storybookjs/eslint-fix
Cleanup: Make ESLint the default formatter in vscode
2022-11-02 20:52:12 +01:00
Ian VanSchooten
87582dc9e8 Vite: Re-export essentials sub-addon preview annotations for pnpm 2022-11-02 15:46:22 -04:00
Michael Shilman
b00748bff3 Fix linting 2022-11-03 01:42:48 +08:00
Michael Shilman
e7e6d0c391 Fix linting 2022-11-03 00:49:37 +08:00
Michael Shilman
60651b346c Merge branch 'next' into pr/19585 2022-11-03 00:46:13 +08:00
Shane Moore
590022dfbb
Storyshots - Support .cjs and .mjs file extensions
In a native ESM project, the standard Storybook `main.js` file
might need to be written as a CommonJS file, and therefore named
with a .cjs extension.
2022-11-02 12:46:02 -04:00
Ian VanSchooten
aa16f23dcf Point to correct .d.ts files from export maps 2022-11-02 12:14:30 -04:00
Ian VanSchooten
81d179230b Configure eslint working directories for vscode 2022-11-02 10:44:02 -04:00
Norbert de Langen
2c5079a602
add them back here too 2022-11-02 14:33:42 +01:00
Norbert de Langen
e789ca6fa9
add re-export back that I removed in https://github.com/storybookjs/storybook/pull/19580 2022-11-02 14:30:21 +01:00
Jeppe Reinhold
7cfe0dbb8d ensure storyFn() result is computed at initial render 2022-11-02 13:45:39 +01:00
Jeppe Reinhold
55eff3ba38 Merge branch 'next' of github.com:storybookjs/storybook into jeppe/fix-svelte-in-docs 2022-11-02 13:30:52 +01:00
Tom Coleman
2ebaa53687 Small tweak 2022-11-02 22:13:19 +11:00
Tom Coleman
1493309423 Fix tests 2022-11-02 22:12:48 +11:00
Tom Coleman
8012b1122a Pull renderer+builder from framework's package.json + a known list 2022-11-02 22:00:26 +11:00
Tom Coleman
18d1070f7b Create a migration to add docs.docsPage: 'automatic' if unset 2022-11-02 17:36:55 +11:00
Tom Coleman
fe3396e90a Update default main.js to set docsPage: true 2022-11-02 17:15:56 +11:00
Tom Coleman
43f75b1fed Add docsPage tag to all Button/Header CLI templates 2022-11-02 17:02:43 +11:00
Kasper Peulen
426c6c07da
Merge pull request #19704 from storybookjs/export-react-framework
React: Expose ReactFramework type
2022-11-02 06:58:41 +01: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
Tom Coleman
c7c4498965 Update client-api to use tags instead of filename to detect MDX stories 2022-11-02 15:41:31 +11:00
Tom Coleman
9a55d7088f Update ember framework 2022-11-02 15:15:05 +11:00
Michael Shilman
02623aed81
Merge pull request #19706 from storybookjs/shilman/19453-fix-vue-test-runner
Build: Re-enable test-runner for vue-cli
2022-11-02 10:42:11 +08:00
Michael Shilman
f64590613e Build: Re-enable test-runner for vue-cli 2022-11-02 10:06:50 +08:00
Tom Coleman
95da68c93e Drop second parameter, and read root element type off framework 2022-11-02 12:57:34 +11:00
Tom Coleman
a7f29b71de Add rootElement to Framework and add Framework 2022-11-02 12:48:26 +11:00
Jeppe Reinhold
12dcacc5d3 dont remount Svelte components on control change, make template stories reactive 2022-11-02 02:20:16 +01:00
Michael Shilman
aeaced7f17
Merge pull request #19697 from SebastianKapunkt/vue-webpack-5-babel
Vue: Add babel loader 9.0.0 to vue-webpack5 peer dependencies
2022-11-02 08:38:15 +08:00
Jeppe Reinhold
2e017abaa2 in Svelte templates, make backgroundColor prop optional 2022-11-01 21:53:30 +01:00