Michael Shilman
916873b924
Merge pull request #21348 from storybookjs/20958-fix-indexing-errors-referencing-non-stories
...
Docs: Fix issue with referencing non-story files with names similar or equal to docs files
2023-03-03 11:56:34 +08:00
Tom Coleman
f77cdd1c2f
Revert "Show errors using our error display when docs error"
...
This reverts commit fca188cb289e20d5a226d586a51d81fca28def44.
2023-03-03 13:01:54 +11:00
Tom Coleman
e7558619dd
Revert "Add an intentionally failing MDX file"
...
This reverts commit 018ea7a304780d53955c4488e22a8171e5eeec72.
2023-03-03 13:01:36 +11:00
Tom Coleman
018ea7a304
Add an intentionally failing MDX file
2023-03-03 13:01:16 +11:00
Tom Coleman
fca188cb28
Show errors using our error display when docs error
2023-03-03 13:00:19 +11:00
Tom Coleman
71aee82a65
You can reference files by full path if you want
2023-03-03 10:36:46 +11:00
Michael Shilman
d60e3ffbe0
Update git head to 7.0.0-beta.60, update yarn.lock [ci skip]
2023-03-03 01:39:20 +08:00
Michael Shilman
325e0406b4
v7.0.0-beta.60
2023-03-03 01:37:47 +08:00
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
45d707f3f8
Merge pull request #21342 from storybookjs/restore-storiesOf.md
...
Restore storiesOf.md
2023-03-03 01:07:39 +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
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
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
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
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
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
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
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
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
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
Alex Ahumada
574ed26826
Merge branch 'next' into migrate-next-font
2023-03-01 14:36:53 +01:00
Michael Shilman
f1cb2e8b51
Update git head to 7.0.0-beta.58, update yarn.lock [ci skip]
2023-03-01 20:33:38 +08:00
Michael Shilman
a447c4d622
v7.0.0-beta.58
2023-03-01 20:32:28 +08:00
Michael Shilman
6a05541a58
Update root, peer deps, version.ts/json to 7.0.0-beta.58 [ci skip]
2023-03-01 20:29:13 +08:00
Michael Shilman
ffa814e5c6
Merge pull request #21201 from storybookjs/norbert/download-tarball-security-fork
...
CLI: Fix security report around `download-tarball` package
2023-03-01 20:26:20 +08:00
Michael Shilman
51bc680e56
Merge pull request #21291 from storybookjs/norbert/fix-6569-initial-persisted-options
...
UI: Fix enableShortcuts, exclude it from being persisted
2023-03-01 20:25:28 +08:00
Norbert de Langen
bd80a4885b
throw an error instead. we'll make this better in the future.
2023-03-01 11:58:28 +01:00
Norbert de Langen
77e8c81664
un-prebundle babel, limit semver range of babel packages
2023-03-01 10:57:28 +01:00