2643 Commits

Author SHA1 Message Date
Michael Shilman
edca5fcb69 Update root, peer deps, version.ts/json to 7.0.0-beta.39 [ci skip] 2023-02-01 23:52:36 +08:00
Tobias Diez
d5d0886c3e
Merge branch 'storybookjs:next' into patch-1 2023-02-01 18:03:18 +08:00
Tobias Diez
077a849d05
chore: fix linter 2023-02-01 17:32:07 +08:00
Norbert de Langen
22fa110af8
Merge pull request #20834 from storybookjs/norbert/fix-20675
fix #20675 by adding an esbuild plugin to inject env variables
2023-01-31 15:04:17 +01:00
Yann Braga
56e446a75e
Merge pull request #20802 from storybookjs/feat/warn-regarding-default-exports-in-main
CLI: add warning when main config does not use default exports
2023-01-31 13:19:13 +01:00
Yann Braga
80d9808df5
Merge pull request #20801 from storybookjs/docs/default-exports-in-main
Docs: Update main.js format in docs/tutorials/recipes
2023-01-31 13:18:27 +01:00
Norbert de Langen
457c6f7ee1
Merge branch 'next' into feat/warn-regarding-default-exports-in-main 2023-01-31 11:10:16 +01:00
Jeppe Reinhold
0e33781784
Merge pull request #20752 from storybookjs/jeppe/fix-remount-story
Change forceReRender story to forceRemount
2023-01-31 11:06:42 +01:00
Norbert de Langen
ca23c8419f
fixes, just use regular define property. I couldn't make the plugin work. 2023-01-31 11:05:05 +01:00
Yann Braga
55ebe5b594 CLI: replace glob with glob-promise 2023-01-31 10:35:29 +01:00
Yann Braga
4ea443c13e Warn users to use default export in main.js
- involves changes in csf-tools to define a flag that tells us there is (or not) a default export
- involves changes in affected packages now that loadMainConfig is async
2023-01-31 10:23:07 +01:00
Norbert de Langen
883aeaa94e
Merge branch 'next' into norbert/fix-20675 2023-01-31 10:20:29 +01:00
Michael Shilman
cb1cb566b7 Update git head to 7.0.0-beta.38, update yarn.lock [ci skip] 2023-01-31 16:58:47 +08:00
Michael Shilman
91302a6818 v7.0.0-beta.38 2023-01-31 16:57:30 +08:00
Michael Shilman
bf2d7b1bc5 Update root, peer deps, version.ts/json to 7.0.0-beta.38 [ci skip] 2023-01-31 16:54:33 +08:00
Michael Shilman
a30b991777 v7.0.0-beta.37 2023-01-31 16:53:10 +08:00
Michael Shilman
832dcb34c3 Update root, peer deps, version.ts/json to 7.0.0-beta.37 [ci skip] 2023-01-31 16:51:03 +08:00
Norbert de Langen
47cbf1d3e6
Merge branch 'next' into norbert/fix-20675 2023-01-31 09:27:38 +01:00
Yann Braga
768d4324f9
Merge pull request #20797 from storybookjs/feat/default-exports-in-main
CLI: generate main config with default exports
2023-01-31 08:48:17 +01:00
Charles GRUENAIS
66a11919ee Deps: Upgrade magic-string to 0.27.0 2023-01-30 18:40:41 +01:00
Norbert de Langen
dbe8f12a31
Merge pull request #20811 from storybookjs/fix/init-when-no-deps-are-needed
CLI: only add dependencies on sb init if they do not exist
2023-01-30 17:17:32 +01:00
Norbert de Langen
8e2d961c85
Merge branch 'next' into norbert/fix-20675 2023-01-30 16:02:38 +01:00
Norbert de Langen
69b76415d2
Merge branch 'next' into norbert/update-lazy-universal-dotenv 2023-01-30 15:37:01 +01:00
Yann Braga
c23294a3b6 docs: update documentation regarding main.js to use default exports 2023-01-30 15:35:29 +01:00
Norbert de Langen
42497b8d42
fix 2023-01-30 15:24:45 +01:00
Yann Braga
4ae68eacea
Merge pull request #20819 from storybookjs/deps/testing-library
CLI: Install prerelease of @storybook/testing-library in CLI starters
2023-01-30 15:15:47 +01:00
Norbert de Langen
59079deb05
fix #20675 by adding an esbuild plugin to inject env variables 2023-01-30 15:09:43 +01:00
Norbert de Langen
89afe6212c
fix 2023-01-30 14:57:33 +01:00
Norbert de Langen
97d12d3f31
fix test 2023-01-30 14:50:40 +01:00
Norbert de Langen
f5d8eaccae
fix issue with types after update && fix linting 2023-01-30 14:45:30 +01:00
Norbert de Langen
5bef254f9f
Merge branch 'next' into norbert/update-lazy-universal-dotenv 2023-01-30 14:15:55 +01:00
Norbert de Langen
ec2346a69f
update & regen lockfile 2023-01-30 14:11:56 +01:00
Ian VanSchooten
7914d3d767 Remove unused core-js dependency 2023-01-30 07:55:05 -05:00
Ian VanSchooten
b8d876a218 Do not use tag in generator 2023-01-30 07:37:26 -05:00
Yann Braga
07bb9b9c27 fix preview.ts json type issue in angular templates 2023-01-30 09:28:20 +01:00
Yann Braga
32fe70720e simplify main.js format for javascript projects 2023-01-30 09:28:20 +01:00
Yann Braga
6ff96723b9 fix tsconfig in angular cli template 2023-01-30 09:28:20 +01:00
Yann Braga
f17d587b1a remove unnecessary commonJs option
- We don't have to use this workaround anymore 🎉
2023-01-30 09:28:20 +01:00
Yann Braga
a450809db1 CLI: generate preview.ts if applicable 2023-01-30 09:28:20 +01:00
Yann Braga
47a85e549c CLI: generate main config with default exports
- additionally, generate in typescript format if applicable
2023-01-30 09:28:20 +01:00
Jeppe Reinhold
67afcf21d2
improve description of function 2023-01-30 08:41:56 +01:00
Jeppe Reinhold
d33aad5168
Merge branch 'next' into jeppe/fix-remount-story 2023-01-30 00:17:49 +01:00
Tobias Diez
05dea3b03d
feat: return address of dev server from buildDevStandalone
I currently use `buildDevStandalone` to start a dev server (by code), and to show a nice message to the user afterwards, I would like to get the server address.
2023-01-29 15:27:01 +08:00
Ian VanSchooten
141cc9aa3d Deps: Use @storybook/testing-library@next 2023-01-28 11:59:33 -05:00
Michael Shilman
b6b51d5a2a Update git head to 7.0.0-beta.36, update yarn.lock [ci skip] 2023-01-28 11:30:40 +08:00
Michael Shilman
5268eb0fa2 v7.0.0-beta.36 2023-01-28 11:29:32 +08:00
Michael Shilman
17d4e58712 Update root, peer deps, version.ts/json to 7.0.0-beta.36 [ci skip] 2023-01-28 11:19:46 +08:00
Jeppe Reinhold
c71d8ce1be disable test runner 2023-01-28 01:35:23 +01:00
Jeppe Reinhold
b891a8a690 add delay to inspect force_remount story manually 2023-01-28 00:20:47 +01:00
Jeppe Reinhold
f14ddcceff Merge branch 'next' of github.com:storybookjs/storybook into jeppe/fix-remount-story 2023-01-28 00:02:49 +01:00