6609 Commits

Author SHA1 Message Date
Kyle Gach
99ffaccdf7 Merge branch 'next' into docs-addon-vitest
* next:
  Address feedback
  add link to docs for how to set feature flags.
  improve migration notes for globals project
  Fix typo
  ConfigFile: Fix `as const satisfies` modifiers
  Bump version from "8.3.0-alpha.11" to "8.3.0-beta.0" [skip ci]
  Update docs/versions/next.json
  Add description to empty 8.3.0-beta.0 release
  Write changelog for 8.3.0-beta.0 [skip ci]
  Bump version from "8.3.0-alpha.10" to "8.3.0-alpha.11" [skip ci]
  Write changelog for 8.3.0-alpha.11 [skip ci]
  Re-order sidebar
  Rename interaction test -> component test
2024-08-29 10:31:29 -06:00
Kyle Gach
9e3d644c83 Address feedback 2024-08-29 08:49:05 -06:00
Kyle Gach
18695e2ec2 Merge branch 'next' into rename-to-component-test
* next: (80 commits)
  add link to docs for how to set feature flags.
  improve migration notes for globals project
  Fix typo
  ConfigFile: Fix `as const satisfies` modifiers
  Bump version from "8.3.0-alpha.11" to "8.3.0-beta.0" [skip ci]
  Update docs/versions/next.json
  Add description to empty 8.3.0-beta.0 release
  Write changelog for 8.3.0-beta.0 [skip ci]
  Bump version from "8.3.0-alpha.10" to "8.3.0-alpha.11" [skip ci]
  Write changelog for 8.3.0-alpha.11 [skip ci]
  fix lint
  Clarify requirements of Next.js with Vite
  Next.js-Vite: Update next and vite-plugin-storybook-nextjs dependencies
  Addon Vitest: Fix tests potentially not existing in non-isolate mode
  CLI: Update spawn options in proxy.ts to support Windows
  Builder-Vite: Fix 'condition node never be used' warning
  Bump version from "8.3.0-alpha.9" to "8.3.0-alpha.10" [skip ci]
  Write changelog for 8.3.0-alpha.10 [skip ci]
  make prettier a normal dependency of core again. restore formatter code
  Use relative path from workspace to vite.config in extends path
  ...
2024-08-29 08:38:15 -06:00
Jeppe Reinhold
9d82c6a28c
Update docs/versions/next.json 2024-08-29 11:04:00 +02:00
storybook-bot
4440fd4c0f Write changelog for 8.3.0-beta.0 [skip ci] 2024-08-29 08:59:24 +00:00
Kyle Gach
d308dc0b87 Merge branch 'next' into docs-addon-vitest
* next: (33 commits)
  fix lint
  Clarify requirements of Next.js with Vite
  Next.js-Vite: Update next and vite-plugin-storybook-nextjs dependencies
  Addon Vitest: Fix tests potentially not existing in non-isolate mode
  CLI: Update spawn options in proxy.ts to support Windows
  Builder-Vite: Fix 'condition node never be used' warning
  Bump version from "8.3.0-alpha.9" to "8.3.0-alpha.10" [skip ci]
  Write changelog for 8.3.0-alpha.10 [skip ci]
  make prettier a normal dependency of core again. restore formatter code
  Use relative path from workspace to vite.config in extends path
  CLI: Fix dedent import in package managers
  Support JSX file extensions as well
  Addon Vitest: Fix postinstall file types
  Remove (disable) isolate option because it sometimes doesn't show stories
  add TODO comment
  make prettier optional
  improve meta file generation
  patch babel traverse types to be compatible with our dts bundler
  minimize changes
  minimize changes
  ...
2024-08-28 14:35:52 -06:00
storybook-bot
c9e5de195f Write changelog for 8.3.0-alpha.11 [skip ci] 2024-08-28 20:35:39 +00:00
Kyle Gach
78b22a96fe Address feedback 2024-08-28 14:35:38 -06:00
Kyle Gach
81bac5a6bb Clarify requirements of Next.js with Vite 2024-08-28 09:56:54 -06:00
storybook-bot
438ce2cdb8 Write changelog for 8.3.0-alpha.10 [skip ci] 2024-08-27 16:26:33 +00:00
Kyle Gach
4aeab56311 Further updates 2024-08-27 09:52:16 -06:00
Kyle Gach
5d06f4d750
Apply suggestions from code review
Co-authored-by: Kasper Peulen <kasperpeulen@gmail.com>
2024-08-27 09:02:09 -06:00
Kyle Gach
a556c3fef1 Merge branch 'next' into docs-addon-vitest
* next:
  Address feedback
  Address comments
  Typo
  Further updates
  Address feedback
  Remove TK
  Futher updates to #28716
2024-08-26 15:12:50 -06:00
Kyle Gach
f73a7dfb04
Merge branch 'next' into update-story-globals-docs 2024-08-26 14:49:11 -06:00
Kyle Gach
8cdbbaf95a More polish 2024-08-26 12:34:26 -06:00
Kyle Gach
877e4a335a More updates 2024-08-26 12:30:35 -06:00
Kyle Gach
89be6a0b45 More updates 2024-08-26 12:30:35 -06:00
Kyle Gach
2bdd9dc969 WIP: Docs for Test runner with Vitest
- Includes sidebar order updates
    - Use non-zero-indexed orders
2024-08-26 12:30:35 -06:00
Tobias Diez
96af77fb83 Chore: Fix path to sandbox template file 2024-08-23 17:26:34 +02:00
storybook-bot
befba4f7a8 Write changelog for 8.3.0-alpha.9 [skip ci] 2024-08-23 15:19:36 +00:00
Kyle Gach
57022a0e0b Re-order sidebar
- Testing above Docs
- Component, visual, a11y, snapshot testing first, then others
2024-08-22 14:52:50 -06:00
Kyle Gach
df80522e1b Rename interaction test -> component test 2024-08-22 14:48:54 -06:00
Kyle Gach
333266cb0d Address feedback 2024-08-22 11:29:35 -06:00
Kyle Gach
017f52fed2 Merge branch 'next' into update-story-globals-docs
* next: (60 commits)
  Version it
  Make sure local @storybook/cli packages is used in linked mode
  add default options for addon-viewports via parameters
  Fix tests
  Fix default viewports
  Bump version from "8.3.0-alpha.7" to "8.3.0-alpha.8" [skip ci]
  Write changelog for 8.3.0-alpha.8 [skip ci]
  fix lint
  fix lint
  fix lint
  fix types
  Addon Vitest: Improve transformation logic to avoid duplicate tests
  fix lint
  fix lint
  fix formatting
  SvelteKit: Add portable stories vite plugin
  add vite plugin to sveltekit
  increase CI class for vitest integration
  Addon-docs: Remove babel dependency
  Bump version from "8.3.0-alpha.6" to "8.3.0-alpha.7" [skip ci]
  ...
2024-08-22 09:54:10 -06:00
storybook-bot
7e83d7e4d7 Write changelog for 8.3.0-alpha.8 [skip ci] 2024-08-20 16:15:36 +00:00
storybook-bot
147fd36fa2 Write changelog for 8.3.0-alpha.7 [skip ci] 2024-08-16 16:10:08 +00:00
Kyle Gach
b96bce0a20 Address comments 2024-08-15 10:31:11 -06:00
Kyle Gach
99d5104dee Merge branch 'next' into update-story-globals-docs
* next: (281 commits)
  fix
  add `node:` prefixes
  move nx cache dir up to avoid vite watching it for our main storybook
  Bump version from "8.3.0-alpha.5" to "8.3.0-alpha.6" [skip ci]
  Write changelog for 8.3.0-alpha.6 [skip ci]
  minor fixes
  Yeah... don't look at this
  simplify eslint config further
  more fixes
  cleanup `no-extraneous-dependencies`
  fix style
  change pool options in sandboxes
  revamp sandbox setup to move to a workspace file
  fix typescript issue
  skip vitest integration in nextjs sandbox
  skip sveltekit tests
  fix script
  increase test timeout
  fix parallelism and skip more stories
  fix windows unit tests
  ...
2024-08-14 21:17:40 -06:00
Kyle Gach
abc0550a1e
Typo
Co-authored-by: jonniebigodes <joaocontadesenvolvimento@gmail.com>
2024-08-14 21:14:56 -06:00
Kyle Gach
838b611b3b Further updates
- Polish and details
- Make Viewport match structure and style of Backgrounds
2024-08-14 21:13:40 -06:00
storybook-bot
74e87db726 Write changelog for 8.3.0-alpha.6 [skip ci] 2024-08-14 14:33:03 +00:00
Yann Braga
adc1cbb46f Merge branch 'next' into vitest-integration 2024-08-13 15:34:22 +02:00
storybook-bot
c65379c69f Write changelog for 8.3.0-alpha.5 [skip ci] 2024-08-13 04:21:31 +00:00
Kyle Gach
cb78a41bc9 Address feedback
- Explain globals API and feature flag once, at the top
- Reference that callout in consistent manner throughout page
- Wrap entire docs section in "feature flag callout" to better differentiate
- Remove headings for with/without feature flag sections
    - Headings will be removed in SB 9+, so they're not a stable reference
2024-08-12 14:39:45 -06:00
Yann Braga
7798169d3c Merge branch 'next' into vitest-integration 2024-08-12 20:42:15 +02:00
Kyle Gach
aa6d2f01c2 Remove TK 2024-08-09 16:07:47 -06:00
Kyle Gach
1a802183da Futher updates to #28716
- Improve feature flag callouts
- Add API details to migration notes and clarify examples
- Restructure guides to use sub-heading structure instead of snippet tabs
    - Offers ability to explain differences between APIs more thoroughly
    - Also a better experience, because users' tab preference will not apply across snippets
- Clarify example snippets
    - Only demonstate one concept per snippet
- Adjust heading levels
- Add globals API reference section
- Improve snippet filenames
    - Remove redundant `storybook-` prefix
- Prose tweaks
2024-08-09 15:51:28 -06:00
Yann Braga
1c2888da71 Merge branch 'next' into vitest-integration 2024-08-09 13:15:47 +02:00
Kyle Gach
3a3a4807af Add webpackFinal -> viteFinal callout 2024-08-08 11:27:25 -06:00
Valentin Palkovic
9fd8a140a2 Merge remote-tracking branch 'origin/next' into valentin/nextjs-vite 2024-08-08 10:25:21 +02:00
Norbert de Langen
c48fc0fccf
Merge pull request #28822 from storybookjs/shilman/globals-telemetry
Telemetry: Add globals stats
2024-08-07 11:10:50 +02:00
Valentin Palkovic
70193c9533 Merge remote-tracking branch 'origin/next' into valentin/nextjs-vite 2024-08-07 07:26:32 +02:00
Michael Shilman
597102b301 Add globals telemertry 2024-08-07 07:16:36 +08:00
Michael Shilman
c4e4b99965 Merge branch 'next' into shilman/portable-stories-stats 2024-08-07 06:55:16 +08:00
Kyle Gach
8dfc5cc4d2 Update badly-migrated snippet
- Migration script did not correctly handle snippets with paths that had different filenames
2024-08-06 14:42:26 -06:00
Yann Braga
17ba6e6801 Merge branch 'next' into vitest-integration 2024-08-06 17:36:38 +02:00
jonniebigodes
d2208020f0
Merge branch 'next' into norbert/globals-docs-changes 2024-08-06 15:01:18 +01:00
Yann Braga
c748186d20 Merge branch 'next' into vitest-integration 2024-08-06 13:42:21 +02:00
storybook-bot
8a95c273af Merge branch 'next-release' into next 2024-08-06 09:21:08 +00:00
Valentin Palkovic
e70b42f9f0 Merge remote-tracking branch 'origin/next' into valentin/nextjs-vite 2024-08-06 10:45:29 +02:00