48841 Commits

Author SHA1 Message Date
Michael Shilman
6416a0a631 Update root, peer deps, version.ts/json to 7.0.0-beta.60 [ci skip] 2023-03-03 01:10:51 +08:00
Michael Shilman
225b9283a0 7.0.0-beta.60 changelog 2023-03-03 01:10:41 +08:00
Michael Shilman
45d707f3f8
Merge pull request #21342 from storybookjs/restore-storiesOf.md
Restore storiesOf.md
2023-03-03 01:07:39 +08:00
Michael Shilman
764d210f1e
Merge pull request #21347 from storybookjs/shilman/rename-autodocs
Rename AutoDocs to Autodocs
2023-03-03 01:06:40 +08:00
Michael Shilman
b8dd6fe62b
Merge pull request #21346 from storybookjs/shilman/document-mdx-docs-template
Document MDX docs template
2023-03-03 01:06:04 +08:00
Michael Shilman
94c08d84b3
Fix typo 2023-03-03 01:05:49 +08:00
Michael Shilman
990c9a64a4
Merge pull request #21353 from storybookjs/shilman/21322-previewjs-default-storysort
Core: Fix storySort parsing in preview.js with default export
2023-03-03 01:04:12 +08:00
Kasper Peulen
0b91e977ad Add slot args to Vue3 types 2023-03-02 17:31:56 +01:00
Norbert de Langen
39102d3b83
fix typing 2023-03-02 16:59:12 +01:00
Michael Shilman
3aa4113601
Merge pull request #21356 from storybookjs/norbert/fix-21345-yarn-workspace-root-flag-removed
CLI: remove the workspace root flag from the install command for yarn2
2023-03-02 23:57:39 +08:00
Norbert de Langen
2b1b3c4d5f
Merge pull request #21355 from storybookjs/norbert/bump-get-tarball
Bump version of get-tarball
2023-03-02 16:09:15 +01:00
Michael Shilman
12e85cbae9
Merge pull request #21339 from JustinEloffBBD/patch-1
Svelte/Vite: Prevent crash when no svelte.config file
2023-03-02 23:07:28 +08:00
Norbert de Langen
07edf97879
fix tests 2023-03-02 16:03:08 +01:00
Norbert de Langen
c89d93cb1c
remove the workspace root flag from the install command for yarn2 2023-03-02 15:56:44 +01:00
Norbert de Langen
85e1f3e9bf
bump version of get-tarball 2023-03-02 15:40:32 +01:00
Norbert de Langen
9e07394ca8
add (back?) support for v2 stories.json 2023-03-02 15:15:08 +01:00
justin.eloff
5f214d0b0b Move the default value into the svelte-docgen plugin. 2023-03-02 14:53:13 +01:00
Michael Shilman
f8ca896b0d Core: Fix storySort parsing in preview.js with default export 2023-03-02 20:58:31 +08:00
Ian VanSchooten
70026eea90
Merge pull request #21309 from storybookjs/docs/babel-vite-note
Documentation: Add clarification note in babel v7 migration docs
2023-03-02 07:35:30 -05:00
Valentin Palkovic
0f3e9e58ed
Merge pull request #21247 from alex-ahumada/migrate-next-font
Use stable Next.js v13.2.0 next/font
2023-03-02 12:37:15 +01:00
Valentin Palkovic
0ee533a876 Remove unnecessary next babel plugins 2023-03-02 11:01:40 +01:00
Valentin Palkovic
80bb59bc26 Revert syntax change 2023-03-02 10:56:34 +01:00
Valentin Palkovic
94debd30bf Use next/font with @next/font fallback 2023-03-02 10:52:21 +01:00
Alex Ahumada
6b8909ec96 Merge branch 'next' into migrate-next-font 2023-03-02 09:29:39 +01:00
Tom Coleman
c1239410a0 Refactor loops to be a bit more simple to understand 2023-03-02 16:26:47 +11:00
Tom Coleman
c383d16253 Update snapshots 2023-03-02 16:12:40 +11:00
Tom Coleman
a94d82c35b Add comments to test file 2023-03-02 16:03:59 +11:00
Tom Coleman
b0590a1f88 Make sure we don't confuse substring imports 2023-03-02 16:00:43 +11:00
Tom Coleman
1eaa5fcf25 Add a test case a fix for #20958
A MDX file can reference a component or other non-story file with the same prefix as an MDX file, which leads to a matching entry in the cache but that entry will not have been processed yet. That's OK, we just assume that import is not a story file (rather than throwing).
2023-03-02 15:57:05 +11:00
Michael Shilman
b2aea37ece Rename AutoDocs to Autodocs 2023-03-02 12:42:49 +08:00
Michael Shilman
9f52591d02 Document MDX docs template 2023-03-02 12:38:59 +08:00
Tom Coleman
c27f4a2d72 Restore storiesOf.md 2023-03-02 10:47:01 +11:00
Michael Shilman
198e6f01f2 Fix linting 2023-03-02 07:23:48 +08:00
Kyle Gach
759ee41363
Merge pull request #21307 from storybookjs/doc-block-docs-tweaks 2023-03-01 13:10:13 -07:00
JustinEloffBBD
b781dc974b
Set svelteConfig to empty object by default.
The svelteDocgen plugin crashes Storybook if you have no svelte config file defined. It tries to destructure the options, but with no config file, this value is null, causing a crash. Setting an empty object as a fallback looks like it solved the issue.
2023-03-01 22:01:40 +02:00
Ian VanSchooten
3186c089db Vite: Add react docgen types 2023-03-01 12:18:21 -05:00
Michael Shilman
bc6e80ac2f 7.0.0-beta.59 next.json version file [skip ci] 2023-03-02 00:58:18 +08:00
Michael Shilman
7ec39e9def Update git head to 7.0.0-beta.59, update yarn.lock [ci skip] 2023-03-02 00:52:11 +08:00
Michael Shilman
c808723218 v7.0.0-beta.59 v7.0.0-beta.59 2023-03-02 00:50:53 +08:00
Michael Shilman
3d8df6daf8 Update root, peer deps, version.ts/json to 7.0.0-beta.59 [ci skip] 2023-03-02 00:47:55 +08:00
Michael Shilman
027b18e152 7.0.0-beta.59 changelog 2023-03-02 00:45:02 +08:00
Michael Shilman
0735a76e26
Merge pull request #21331 from storybookjs/norbert/20556-add-workspace-flag-to-packagemanagers-in-cli
CLI: Improve yarn/pnpm workspaces support for adding dependencies in CLI
2023-03-02 00:33:09 +08:00
Michael Shilman
28789f04ba
Merge pull request #21335 from storybookjs/norbert/allow-side-effects-manager
Core: Fix `manager.js` ignored when `sideEffects:false` in `package.json`
2023-03-02 00:21:34 +08:00
Ian VanSchooten
73f4cc74bf
Vite: Fix glob path creation for Windows (#21305)
Closes #21101 

## What I did

use the slash package instead of posix path

## How to test

1. check out the repository in windows
2. run yarn task --task build --template react-vite/default-ts --start-from=install
3. it should work

-->

## Checklist

**Help**: not sure about how to test this

- [ ] Make sure your changes are tested (stories and/or unit, integration, or end-to-end tests)

#### 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.
- [ ] Make sure this PR contains **one** of the labels below.

`["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]`
2023-03-01 10:40:56 -05:00
Norbert de Langen
eef61d9c9e
ignore side-effect:false in the user's package.json
see: https://esbuild.github.io/api/#ignore-annotations
2023-03-01 16:02:28 +01:00
Jeppe Reinhold
0d66ca51fd
Merge pull request #21295 from storybookjs/fix-vite-docs
Docs: Update Vite docs to v7
2023-03-01 15:27:07 +01:00
Yavuz Ege Özcan (GIP)
ba767515ab make sure all cases go through slash 2023-03-01 15:26:28 +01:00
Norbert de Langen
0f6af767d5
fix tests & minor changes to args order 2023-03-01 15:20:37 +01:00
Alex Ahumada
2775d5b2a1 Add missing headRenderedAboveThisLevel property. 2023-03-01 14:55:35 +01:00
Norbert de Langen
9e5f39c33f
add better support for workspaces for pnpm and yarn when adding storybook/dependencies in CLI 2023-03-01 14:46:38 +01:00