44769 Commits

Author SHA1 Message Date
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
Yann Braga
c18d0c38db
Merge pull request #19734 from storybookjs/chore/fix-repro-generation
Maintenance: Delete node_modules in repro generation
2022-11-02 20:31:51 +01:00
Yann Braga
ad615a6a64 use a custom environment variable to specify cleaning up 2022-11-02 19:52:51 +01:00
Michael Shilman
b00748bff3 Fix linting 2022-11-03 01:42:48 +08:00
Michael Shilman
b9af9f72af
Merge pull request #19585 from LBBO/19420-init-remove-deprecated-s-flag
CLI: Remove deprecated `-s` flag on `sb init`
2022-11-03 01:28:34 +08:00
Yann Braga
299bc9775c delete node_modules once repro is generated 2022-11-02 17:57:31 +01: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
e414b9ed95
Merge pull request #19723 from storybookjs/fix/no-link-bundle-fix
Fix: dts facade generator did not support deep links
2022-11-02 12:04:48 -04:00
Norbert de Langen
a18424ab8a
fix a bug me and ian found
Co-authored-by: Ian VanSchooten <ian.vanschooten@gmail.com>
2022-11-02 16:15:04 +01: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
8cf57249a9 generate new repros for svelte 2022-11-02 14:23:38 +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
Michael Shilman
03ec21a5f1
Merge pull request #19714 from storybookjs/tom/sb-894-document-in-migrationmd
Add migration notes about docs page opt-in
2022-11-02 15:58:16 +08:00
Michael Shilman
35610ab666
Merge pull request #19715 from storybookjs/tom/sb-897-update-cli-template-to-set-autodocspage
CLI: Add docsPage to all Button/Header story templates
2022-11-02 15:56:45 +08: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
beed7aa447 Add migration notes about docs page opt-in 2022-11-02 16:52:03 +11: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
Jeppe Reinhold
a91df6230f fix memory leak in vue3 renderer 2022-11-01 21:34:34 +01:00
Jeppe Reinhold
3a0d764de2 cleanup Svelte components by key 2022-11-01 21:34:26 +01:00
Ian VanSchooten
0e0d6e644f Expose ReactFramework type 2022-11-01 16:10:29 -04:00
Michael Shilman
87d463e89f Merge branch 'next' of github.com:storybookjs/storybook into next 2022-11-02 00:39:15 +08:00
Michael Shilman
92e354ff65 Fix typo 2022-11-02 00:38:55 +08:00
Norbert de Langen
5a3d1e295f
Merge pull request #19658 from pankali/patch-1
Update Code of Conduct to Contributor Covenant v2.1
2022-11-01 16:59:03 +01:00
Ian VanSchooten
1dab163ce7
Merge pull request #19670 from storybookjs/eslint-unignores
Cleanup: Un-ignore some files from eslint
2022-11-01 11:39:28 -04:00
Jeppe Reinhold
a9e4e17530 fix memory leak in vue3 renderer 2022-11-01 13:26:09 +01:00