47695 Commits

Author SHA1 Message Date
Shaun Lloyd
523c692bd7 Update link to homepage for addons 2023-02-01 15:35:55 -05:00
Norbert de Langen
24bc61930a
Merge pull request #20842 from storybookjs/webpack/builder-options
Webpack: Support builder options from framework
2023-02-01 17:44:36 +01:00
Michael Shilman
29121060e2 7.0.0-beta.39 next.json version file [skip ci] 2023-02-02 00:08:43 +08:00
Michael Shilman
ed1b8b8b19 Update git head to 7.0.0-beta.39, update yarn.lock [ci skip] 2023-02-01 23:57:11 +08:00
Michael Shilman
96d4845118 v7.0.0-beta.39 v7.0.0-beta.39 2023-02-01 23:55:24 +08:00
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
Michael Shilman
dfa24569f4 7.0.0-beta.39 changelog 2023-02-01 23:52:25 +08:00
Norbert de Langen
32ad0aacf6
Merge pull request #20870 from storybookjs/fix-sveltekit-plugin
SvelteKit: Disable failing `vite-plugin-sveltekit-guard`
2023-02-01 14:19:33 +01:00
Jeppe Reinhold
0c71560f4c disable vite-plugin-sveltekit-guard 2023-02-01 13:08:02 +01:00
Valentin Palkovic
de4031ad74
Merge pull request #20820 from tobiasdiez/patch-1
feat: return address of dev server from buildDevStandalone
2023-02-01 11:27:15 +01: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
61730f0abc
cleanup 2023-02-01 09:15:22 +01:00
Norbert de Langen
187b02b0ce
fix lockfile 2023-01-31 16:38:18 +01:00
Norbert de Langen
a969722d00
regen lockfile 2023-01-31 16:31:50 +01:00
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
e019b8e1eb
cleanup 2023-01-31 12:55:18 +01:00
Norbert de Langen
72d648af67
cleanup 2023-01-31 12:54:00 +01:00
Norbert de Langen
565985c828
fix path 2023-01-31 12:43:37 +01:00
Norbert de Langen
75eeb6a9f1
cleanup some CI config stuff 2023-01-31 12:40:15 +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
02d5ba598e 7.0.0-beta.38 next.json version file [skip ci] 2023-01-31 17:03:27 +08: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 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
b5a3540ae2 7.0.0-beta.38 changelog 2023-01-31 16:54:24 +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
Michael Shilman
306c40c72e Update beta.37 2023-01-31 16:50:52 +08:00
Michael Shilman
7c457a38e2 Merge branch 'next' of github.com:storybookjs/storybook into next 2023-01-31 16:49:27 +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
Michael Shilman
d76abbd075 7.0.0-beta.37 changelog 2023-01-31 12:55:40 +08:00
Ian VanSchooten
a644a33f2f Webpack: Support builder options from framework 2023-01-30 17:39:54 -05:00
Ian VanSchooten
dd878f2c5d
Deps: Upgrade magic-string to 0.27.0 (#20839)
Following #20698, [some users reported an error thrown around Magic String's `update` method](https://github.com/storybookjs/storybook/pull/20698#issuecomment-1408389425).

## What I did

It turns out the `update` method was introduced in [version `0.26.6`](https://github.com/Rich-Harris/magic-string/blob/master/CHANGELOG.md#0266-2022-10-05), but Storybook packages [actually set it to `^0.26.1`](https://github.com/storybookjs/storybook/blob/next/code/lib/builder-vite/package.json#L62).

I've opted for 0.27.0 instead of 0.26.6 because it does not seem to have any breaking changes and we could benefit from performance improvements they made.

## How to test

This should be pretty straight-forward. I think the issue does not occur on clean installs because it should already pick `magic-string`'s latest patch. Let's see if CI passes! 

## Checklist

<!-- Please check (put an "x" inside the "[ ]") the applicable items below to make sure your PR is ready to be reviewed. -->

- [ ] Make sure your changes are tested (stories and/or unit, integration, or end-to-end tests)
- [ ] Make sure to add/update documentation regarding your changes
- [ ] If you are deprecating/removing a feature, make sure to update
      [MIGRATION.MD](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md)

#### Maintainers

- [ ] If this PR should be tested against many or all sandboxes,
      make sure to add the `ci:merged` or `ci:daily` GH label to it.
- [X] Make sure this PR contains **one** of the labels below.

`["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]`

<!--

Everybody: Please submit all PRs to the `next` branch unless they are specific to the current release. Storybook maintainers cherry-pick bug and documentation fixes into the `main` branch as part of the release process, so you shouldn't need to worry about this. For additional guidance: https://storybook.js.org/docs/react/contribute/how-to-contribute

-->
2023-01-30 13:22:54 -05: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
7066b425fa
Merge pull request #20832 from storybookjs/norbert/update-lazy-universal-dotenv
update lazy-universal-dotenv & regen lockfile
2023-01-30 16:01:23 +01:00