4441 Commits

Author SHA1 Message Date
Norbert de Langen
0c95b0b72e
Merge pull request #20833 from storybookjs/norbert/remove-core-js
remove core-js as a dependency for core
2023-01-31 15:04:43 +01: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
Norbert de Langen
fa9df74f41
Merge pull request #20853 from storybookjs/norbert/ci-cleanup
Build: cleanup CI config
2023-01-31 13:24:22 +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
25a3aa35be
cleanup 2023-01-31 13:01:16 +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
07537fe41b Update git head to 7.0.0-beta.37, update yarn.lock [ci skip] 2023-01-31 16:53:23 +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
fae6bff06f
Merge branch 'norbert/update-lazy-universal-dotenv' into norbert/remove-core-js 2023-01-30 15:45:06 +01:00
Norbert de Langen
69b76415d2
Merge branch 'next' into norbert/update-lazy-universal-dotenv 2023-01-30 15:37:01 +01:00
Norbert de Langen
f8bdb78ef0
remove it here as well 2023-01-30 15:35:55 +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
40113fd165
Merge branch 'norbert/update-lazy-universal-dotenv' into norbert/remove-core-js 2023-01-30 15:26:28 +01:00
Norbert de Langen
42497b8d42
fix 2023-01-30 15:24:45 +01:00
Norbert de Langen
63ad56ae08
Merge branch 'norbert/update-lazy-universal-dotenv' into norbert/remove-core-js 2023-01-30 15:17:32 +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
8a94cee92d
fix 2023-01-30 15:14:44 +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
a1d024ce0b
Merge branch 'norbert/update-lazy-universal-dotenv' into norbert/remove-core-js 2023-01-30 14:58:31 +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
74ec4b7465
Merge branch 'norbert/update-lazy-universal-dotenv' into norbert/remove-core-js 2023-01-30 14:47:48 +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
0e4c05369e
ifx lockfile 2023-01-30 14:28:07 +01:00
Norbert de Langen
19b2f33af7
remove core-js as a dependency for core 2023-01-30 14:26:12 +01:00
Norbert de Langen
d6d92e01e5
regen 2023-01-30 14:18:04 +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