Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: Prerelease 8.3.0-alpha.5 #28815

Merged
merged 200 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
200 commits
Select commit Hold shift + click to select a range
2ab061a
Portable stories: Add telemetry
shilman Apr 7, 2024
31fbe89
Merge branch 'next' into shilman/portable-stories-stats
shilman Jul 8, 2024
ffd7277
Use git grep for efficiency
shilman Jul 9, 2024
9170d4b
Delete unused fixtures
shilman Jul 9, 2024
e9d28db
Fix tests
shilman Jul 9, 2024
9dfaafe
Hopefully fix this problem:
ndelangen Jul 15, 2024
1103d7f
do the same for react
ndelangen Jul 15, 2024
bafd750
Merge branch 'next' into norbert/bundle-in-lodash
ndelangen Jul 15, 2024
1ce98b4
Update MIGRATION.md
valentinpalkovic Jul 16, 2024
acc974b
changes to backgrounds addon in relation to the globals work
ndelangen Jul 26, 2024
ae7f432
changes to viewport addon in relation to the globals work
ndelangen Jul 26, 2024
f380221
Merge branch 'tom/23347-story-globals' into norbert/globals-docs-changes
ndelangen Jul 26, 2024
eda3f77
Merge branch 'tom/23347-story-globals' into norbert/globals-docs-changes
ndelangen Jul 29, 2024
0678a2a
Update docs/api/main-config/main-config-features.mdx
ndelangen Jul 29, 2024
0d7d389
apply requested changes to docs
ndelangen Jul 29, 2024
d64bff2
Merge branch 'norbert/globals-docs-changes' of https://github.com/sto…
ndelangen Jul 29, 2024
7525fc9
Merge branch 'tom/23347-story-globals' into norbert/globals-docs-changes
ndelangen Jul 29, 2024
693b64d
add mention of `addonToolbarParameters` feature flag
ndelangen Jul 29, 2024
7534db5
remove defaultValue, change toolbars config to use parameters instead…
ndelangen Jul 29, 2024
0ac41ab
adjust title
ndelangen Jul 29, 2024
7cd8de0
Merge branch 'tom/23347-story-globals' into norbert/globals-docs-changes
ndelangen Jul 29, 2024
045d723
Merge branch 'tom/23347-story-globals' into norbert/globals-docs-changes
ndelangen Jul 30, 2024
535a67d
undo work for addon-toolbars
ndelangen Jul 30, 2024
8857944
Merge branch 'norbert/globals-docs-changes' of https://github.com/sto…
ndelangen Jul 30, 2024
e554368
Merge branch 'tom/23347-story-globals' into norbert/globals-docs-changes
ndelangen Jul 30, 2024
05ddecf
Merge branch 'tom/23347-story-globals' into norbert/globals-docs-changes
ndelangen Aug 1, 2024
26bf23b
add migration note
ndelangen Aug 1, 2024
f58b9c8
cleanup
ndelangen Aug 1, 2024
771d94b
fix
ndelangen Aug 2, 2024
9781fbc
Merge branch 'next' into norbert/globals-docs-changes
ndelangen Aug 2, 2024
55f141a
Merge branch 'next' into norbert/bundle-in-lodash
ndelangen Aug 2, 2024
133c71c
Polish the Background Viewports and Toolbars docs and examples
jonniebigodes Aug 2, 2024
f4bb5a9
Fix incorrect link and table
jonniebigodes Aug 3, 2024
9c8e28f
Adjust API
jonniebigodes Aug 3, 2024
7f1f9a0
Build: replace esbuild-register by jiti
tobiasdiez Aug 3, 2024
e1ac20a
remove bun requirement from contributing
tobiasdiez Aug 3, 2024
2528064
Add @storybook/nextjs-vite package
valentinpalkovic Aug 3, 2024
c2d9ae3
Formatting
valentinpalkovic Aug 3, 2024
ed2586d
Add 'nextjs-vite' as a supported framework in helpers.ts
valentinpalkovic Aug 4, 2024
b10f944
Fix check step
valentinpalkovic Aug 4, 2024
33999ee
Cleanup
valentinpalkovic Aug 5, 2024
6374055
Upgrade Vitest to v2
yannbf Aug 2, 2024
375d2e1
fix tests, update patches
yannbf Aug 5, 2024
93b2e3c
Upgrade vite-plugin-storybook-nextjs
valentinpalkovic Aug 5, 2024
9398495
Documentation: Update Next.js portable stories instructions for Vitest
valentinpalkovic Aug 5, 2024
7bd22d4
Edit Next.js documentation
valentinpalkovic Aug 5, 2024
a25f79a
Cleanup
valentinpalkovic Aug 5, 2024
2224dad
Upgrade to vitest 2.0
kasperpeulen Aug 5, 2024
6a4e7b7
Add todos
kasperpeulen Aug 5, 2024
d990987
Ignore tsup errors that can not analyze ExpectStatic properly anymore
kasperpeulen Aug 5, 2024
64a82b9
Make default generic backwards compatible
kasperpeulen Aug 5, 2024
f4dea49
Only patch in code directory
kasperpeulen Aug 5, 2024
2e0c875
Only patch in code directory
kasperpeulen Aug 5, 2024
9b474a3
Update testing-library also in @storybook/test
kasperpeulen Aug 5, 2024
2eea1bf
Update all testing-library packagages in the monorepo
kasperpeulen Aug 5, 2024
1876101
remove unecessary patch
yannbf Aug 5, 2024
2598730
Fix dep issues
kasperpeulen Aug 5, 2024
52751cf
Merge remote-tracking branch 'origin/yann/upgrade-vitest-v2' into yan…
kasperpeulen Aug 5, 2024
ea9321e
Fix dep issues
kasperpeulen Aug 5, 2024
4c66a70
Fix dep issues
kasperpeulen Aug 5, 2024
49d2b49
Set coverage.all false for now
kasperpeulen Aug 5, 2024
d70a3ee
Try less threads
kasperpeulen Aug 5, 2024
81e00c1
Prose tweak
kylegach Aug 5, 2024
a983514
Docs updates
kylegach Aug 5, 2024
5fb2ca7
Merge branch 'next' into jiti
tobiasdiez Aug 5, 2024
d57bba5
Rename nextjs-vite to experimental-nextjs-vite
valentinpalkovic Aug 6, 2024
01b5df5
Merge pull request #28609 from storybookjs/norbert/bundle-in-lodash
ndelangen Aug 6, 2024
3eed3af
Remove coverage
kasperpeulen Aug 6, 2024
0106ba5
Merge pull request #28804 from storybookjs/valentin/docs-portable-sto…
valentinpalkovic Aug 6, 2024
e70b42f
Merge remote-tracking branch 'origin/next' into valentin/nextjs-vite
valentinpalkovic Aug 6, 2024
f7cebb6
Merge branch 'next' into valentin/fix-migration
valentinpalkovic Aug 6, 2024
43e9223
Merge pull request #28616 from storybookjs/valentin/fix-migration
valentinpalkovic Aug 6, 2024
4296475
Use threads
kasperpeulen Aug 6, 2024
8a95c27
Merge branch 'next-release' into next
storybook-bot Aug 6, 2024
4ca1752
CLI: Parse more Yarn Berry errors
yannbf Aug 6, 2024
87c1225
Go back to 8
kasperpeulen Aug 6, 2024
96c754b
Merge remote-tracking branch 'refs/remotes/origin/next' into yann/upg…
kasperpeulen Aug 6, 2024
0aa394a
Add a vitest.config
kasperpeulen Aug 6, 2024
941035f
Move only pool and coverage options to root vitest.config
kasperpeulen Aug 6, 2024
b2548f7
Move back pool
kasperpeulen Aug 6, 2024
fb56f61
Fix check errors
kasperpeulen Aug 6, 2024
9a6b5c7
Merge pull request #28788 from storybookjs/yann/upgrade-vitest-v2
kasperpeulen Aug 6, 2024
d220802
Merge branch 'next' into norbert/globals-docs-changes
jonniebigodes Aug 6, 2024
9a3d6fc
Merge pull request #28716 from storybookjs/norbert/globals-docs-changes
jonniebigodes Aug 6, 2024
c0d3fdf
Merge pull request #28816 from storybookjs/yann/improve-yarn-errors
yannbf Aug 6, 2024
8dfc5cc
Update badly-migrated snippet
kylegach Aug 6, 2024
f77eff2
Merge pull request #28820 from storybookjs/fix-publish-snippet
kylegach Aug 6, 2024
0ae3a63
Update code/core/src/telemetry/get-portable-stories-usage.test.ts
shilman Aug 6, 2024
c4e4b99
Merge branch 'next' into shilman/portable-stories-stats
shilman Aug 6, 2024
597102b
Add globals telemertry
shilman Aug 6, 2024
d391678
Add globals unit test
shilman Aug 6, 2024
fee2848
Update tests
shilman Aug 7, 2024
dd05523
Merge pull request #26764 from storybookjs/shilman/portable-stories-s…
shilman Aug 7, 2024
70193c9
Merge remote-tracking branch 'origin/next' into valentin/nextjs-vite
valentinpalkovic Aug 7, 2024
b3880d7
Build: Revert bad lockfile changes
shilman Aug 7, 2024
9f289c1
Bump version of @storybook/experimental-nextjs-vite
valentinpalkovic Aug 7, 2024
9d48cd5
Merge pull request #28824 from storybookjs/shilman/revert-lockfile-ch…
shilman Aug 7, 2024
c48fc0f
Merge pull request #28822 from storybookjs/shilman/globals-telemetry
ndelangen Aug 7, 2024
a712294
Merge branch 'next' into jiti
ndelangen Aug 7, 2024
cd7752e
fix after merge
ndelangen Aug 7, 2024
c15ba8c
jiti needs to be called as a yarn command, I think, as it's a node_mo…
ndelangen Aug 7, 2024
9859a6c
fix
ndelangen Aug 7, 2024
66a5886
remove more tempy references
ndelangen Aug 7, 2024
ebb01be
fix bench script
ndelangen Aug 7, 2024
6119fcf
Update CHANGELOG.md for v8.2.8 [skip ci]
storybook-bot Aug 7, 2024
c2e6a3c
Merge branch 'next' into jiti
ndelangen Aug 7, 2024
44ee488
Discard changes to CONTRIBUTING.md
ndelangen Aug 7, 2024
1a6bb99
Merge pull request #28796 from tobiasdiez/jiti
ndelangen Aug 7, 2024
9605338
reduce bun usage
ndelangen Aug 7, 2024
bbfdf58
Merge pull request #28828 from storybookjs/norbert/decrease-bun-use
ndelangen Aug 7, 2024
e20f689
Make sure CJS build always has lowest prio
kasperpeulen Aug 7, 2024
d556628
no more bun
ndelangen Aug 7, 2024
f1cb2c2
node refuses to make parent directories, 😠
ndelangen Aug 7, 2024
d781f68
fixes
ndelangen Aug 7, 2024
f3fc73d
improve error reporting a bit, it's not as great as it was with top-l…
ndelangen Aug 7, 2024
d48c48a
improve
ndelangen Aug 7, 2024
58cedfe
cleanup last few Bun references
ndelangen Aug 7, 2024
f438676
remove unused ts-ignores
ndelangen Aug 7, 2024
8e51bf9
Merge pull request #28831 from storybookjs/norbert/final-bun-removal
ndelangen Aug 7, 2024
f433f4a
node20 for build
ndelangen Aug 7, 2024
e745f95
upgrade circleci config
ndelangen Aug 7, 2024
6c64439
replace mock-fs as it does not support node20
ndelangen Aug 7, 2024
0ef2277
use node 22
ndelangen Aug 8, 2024
4e5cf98
run smoke tests in node 18 for testing backwards compatibility with n…
ndelangen Aug 8, 2024
55c0266
fix
ndelangen Aug 8, 2024
76466c4
WIP
valentinpalkovic Aug 8, 2024
9fd8a14
Merge remote-tracking branch 'origin/next' into valentin/nextjs-vite
valentinpalkovic Aug 8, 2024
3257177
Fix test
valentinpalkovic Aug 8, 2024
f114790
Revert CLI/builder packages
kasperpeulen Aug 8, 2024
7db0091
setup import sorting with prettier
ndelangen Aug 8, 2024
e12039c
apply sorting on scripts
ndelangen Aug 8, 2024
a5dabc4
hoist node modules to the top, if they are prefixed with `node:`
ndelangen Aug 8, 2024
23448ff
Use jiti instead of esbuild-register
valentinpalkovic Aug 8, 2024
7108340
tweak config a bit
ndelangen Aug 8, 2024
faa0cd5
tweak config a bit
ndelangen Aug 8, 2024
513bb66
apply sorting to code
ndelangen Aug 8, 2024
698a6e7
ignore the 2 commits that moved the imports around
ndelangen Aug 8, 2024
82ba0b8
fixes
ndelangen Aug 8, 2024
07f3389
make comments for the same purpose, have the same wording
ndelangen Aug 8, 2024
b2f5158
ensure we still let node18 types be used
ndelangen Aug 8, 2024
4521a4f
target node 22
ndelangen Aug 8, 2024
1f7250b
bundle in types/node
ndelangen Aug 8, 2024
f3e431a
Build: Use mocks in telemetry test
yannbf Aug 8, 2024
d8554e3
tweak config
ndelangen Aug 8, 2024
c064c11
apply more changes to code
ndelangen Aug 8, 2024
3d86d9a
apply changes to scripts
ndelangen Aug 8, 2024
af78932
fix snapshots in tests
ndelangen Aug 8, 2024
04ceb4c
dedupe lockfile
ndelangen Aug 8, 2024
b93b60d
fix console errors in test-runner tests
yannbf Aug 8, 2024
3b87230
Merge pull request #28841 from storybookjs/yann/fix-console-errors
yannbf Aug 8, 2024
039ca15
set noEmit tue
ndelangen Aug 8, 2024
19482f9
delete preview-head.html
ndelangen Aug 8, 2024
c2fb8af
Merge branch 'next' into norbert/sort-imports
ndelangen Aug 8, 2024
e46747e
Merge pull request #28835 from storybookjs/norbert/use-node-20
ndelangen Aug 8, 2024
af4bbe6
Merge branch 'next' into kasper/export-order
yannbf Aug 8, 2024
392c14c
Merge branch 'next' into norbert/sort-imports
ndelangen Aug 8, 2024
a16c2c8
Merge branch 'norbert/sort-imports' of https://github.com/storybookjs…
ndelangen Aug 8, 2024
902d3f0
Merge branch 'next' into valentin/fix-for-vite-ecosystem-ci
yannbf Aug 8, 2024
f139b54
Merge pull request #28840 from storybookjs/yann/improve-telemetry-test
shilman Aug 8, 2024
ae3b81c
Merge pull request #28829 from storybookjs/kasper/export-order
kasperpeulen Aug 8, 2024
3a3a480
Add webpackFinal -> viteFinal callout
kylegach Aug 8, 2024
27f21c8
fix server-kitchen-sink
ndelangen Aug 8, 2024
2e2d4f3
Merge branch 'next' into norbert/sort-imports
ndelangen Aug 8, 2024
7f138a4
Merge pull request #28842 from storybookjs/norbert/fix-server-kitchen…
ndelangen Aug 8, 2024
ea34099
Merge remote-tracking branch 'origin/next' into valentin/nextjs-vite
valentinpalkovic Aug 9, 2024
9f2b026
Merge remote-tracking branch 'origin/next' into valentin/fix-for-vite…
valentinpalkovic Aug 9, 2024
688044c
Fix test-runner execution
valentinpalkovic Aug 9, 2024
edd0fd5
Merge pull request #28838 from storybookjs/valentin/fix-for-vite-ecos…
valentinpalkovic Aug 9, 2024
f6ad2e9
Add experimental-nextjs-vite/default-ts to daily set of sandboxes
valentinpalkovic Aug 9, 2024
ba904f2
prefer esm to bundle in
ndelangen Aug 9, 2024
a91f9b9
deal with odd case with default export CJS/ESM
ndelangen Aug 9, 2024
d773352
add test
ndelangen Aug 9, 2024
b62d936
fixed with more hacks
ndelangen Aug 9, 2024
8770379
tweak ci config
ndelangen Aug 9, 2024
08262af
fix
ndelangen Aug 9, 2024
425bec6
Merge pull request #28839 from storybookjs/norbert/sort-imports
ndelangen Aug 9, 2024
46f319a
Merge branch 'next' into norbert/fix-no-install-bug
ndelangen Aug 9, 2024
66221ac
fix linting
ndelangen Aug 9, 2024
fd5bd11
formatting fixes on next
ndelangen Aug 9, 2024
81cdbba
Merge pull request #28854 from storybookjs/norbert/formatting-fixes-next
ndelangen Aug 9, 2024
a3ce081
Merge branch 'next' into norbert/fix-no-install-bug
ndelangen Aug 9, 2024
e5960ff
Merge pull request #28853 from storybookjs/norbert/fix-no-install-bug
ndelangen Aug 9, 2024
3aa0c2a
add node: prefix to node core modules
ndelangen Aug 10, 2024
91f38bf
additional fixes
ndelangen Aug 10, 2024
0edd826
fixes
ndelangen Aug 10, 2024
1caffa8
Merge pull request #28860 from storybookjs/norbert/add-node-prefix-to…
ndelangen Aug 10, 2024
6141b5b
doc: fix migrate demo code
BBboy01 Aug 12, 2024
783f27c
Merge branch 'next' into valentin/nextjs-vite
valentinpalkovic Aug 12, 2024
68be834
Builder-Vite: Add null character prefix to virtual file IDs in code g…
valentinpalkovic Aug 12, 2024
0d222ab
Lint fixes
valentinpalkovic Aug 12, 2024
d1ed7ba
Fix nextjs/prerelease sandbox
valentinpalkovic Aug 12, 2024
737acd2
Merge pull request #28863 from storybookjs/valentin/fix-missing-sourc…
valentinpalkovic Aug 12, 2024
7780067
Merge pull request #28800 from storybookjs/valentin/nextjs-vite
valentinpalkovic Aug 12, 2024
9a5e11b
Merge branch 'next' into next
jonniebigodes Aug 12, 2024
763deb5
Merge pull request #28862 from BBboy01/next
jonniebigodes Aug 12, 2024
2381230
Telemetry: Disable save-from-controls telemetry for example stories
shilman Aug 13, 2024
96b185d
Refactor to keep example story test DRY
shilman Aug 13, 2024
c64542e
Merge branch 'next' into shilman/fix-save-from-controls-telemetry
shilman Aug 13, 2024
a177fce
Merge pull request #28870 from storybookjs/shilman/fix-save-from-cont…
shilman Aug 13, 2024
c65379c
Write changelog for 8.3.0-alpha.5 [skip ci]
storybook-bot Aug 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
75 changes: 49 additions & 26 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ parameters:
default: "next"

executors:
sb_node_18_classic:
sb_node_22_classic:
parameters:
class:
description: The Resource class
Expand All @@ -25,7 +25,7 @@ executors:
default: "small"
working_directory: /tmp/storybook
docker:
- image: cimg/node:18.19.1
- image: cimg/node:22.6.0
environment:
NODE_OPTIONS: --max_old_space_size=6144
resource_class: <<parameters.class>>
Expand All @@ -38,7 +38,20 @@ executors:
default: "small"
working_directory: /tmp/storybook
docker:
- image: cimg/node:18.19.1-browsers
- image: cimg/node:18.20.3-browsers
environment:
NODE_OPTIONS: --max_old_space_size=6144
resource_class: <<parameters.class>>
sb_node_22_browsers:
parameters:
class:
description: The Resource class
type: enum
enum: ["small", "medium", "medium+", "large", "xlarge"]
default: "small"
working_directory: /tmp/storybook
docker:
- image: cimg/node:22.6.0-browsers
environment:
NODE_OPTIONS: --max_old_space_size=6144
resource_class: <<parameters.class>>
Expand Down Expand Up @@ -74,7 +87,6 @@ orbs:
browser-tools: circleci/[email protected]
discord: antonioned/[email protected]
codecov: codecov/[email protected]
bun-orb: cmgriffing/[email protected]
node: circleci/[email protected]
nx: nrwl/[email protected]

Expand Down Expand Up @@ -109,7 +121,7 @@ jobs:
pretty-docs:
executor:
class: medium
name: sb_node_18_classic
name: sb_node_22_classic
steps:
- git-shallow-clone/checkout_advanced:
clone_options: "--depth 1 --verbose"
Expand All @@ -135,12 +147,10 @@ jobs:
build:
executor:
class: xlarge
name: sb_node_18_classic
name: sb_node_22_classic
steps:
- git-shallow-clone/checkout_advanced:
clone_options: "--depth 1 --verbose"
- bun-orb/setup:
version: 1.1.1
- restore_cache:
name: Restore Yarn cache
keys:
Expand Down Expand Up @@ -182,7 +192,7 @@ jobs:
lint:
executor:
class: large
name: sb_node_18_classic
name: sb_node_22_classic
steps:
- git-shallow-clone/checkout_advanced:
clone_options: "--depth 1 --verbose"
Expand All @@ -198,12 +208,10 @@ jobs:
check:
executor:
class: xlarge
name: sb_node_18_classic
name: sb_node_22_classic
steps:
- git-shallow-clone/checkout_advanced:
clone_options: "--depth 1 --verbose"
- bun-orb/setup:
version: 1.1.1
- attach_workspace:
at: .
- nx/set-shas:
Expand All @@ -218,7 +226,7 @@ jobs:
- report-workflow-on-failure
- cancel-workflow-on-failure
script-checks:
executor: sb_node_18_browsers
executor: sb_node_22_browsers
steps:
- git-shallow-clone/checkout_advanced:
clone_options: "--depth 1 --verbose"
Expand All @@ -238,15 +246,15 @@ jobs:
name: Run tests
command: |
cd scripts
yarn test --coverage
yarn test --coverage --coverage.all=false
- store_test_results:
path: scripts/junit.xml
- report-workflow-on-failure
- cancel-workflow-on-failure
unit-tests:
executor:
class: xlarge
name: sb_node_18_browsers
name: sb_node_22_browsers
steps:
- git-shallow-clone/checkout_advanced:
clone_options: "--depth 1 --verbose"
Expand All @@ -256,7 +264,7 @@ jobs:
name: Test
command: |
cd code
yarn test --coverage
yarn test --coverage --coverage.all=false
- store_test_results:
path: code/junit.xml
- persist_to_workspace:
Expand All @@ -268,7 +276,7 @@ jobs:
coverage:
executor:
class: small
name: sb_node_18_browsers
name: sb_node_22_browsers
steps:
- git-shallow-clone/checkout_advanced:
clone_options: "--depth 1 --verbose"
Expand All @@ -279,7 +287,7 @@ jobs:
chromatic-internal-storybook:
executor:
class: medium+
name: sb_node_18_browsers
name: sb_node_22_browsers
environment:
NODE_OPTIONS: --max_old_space_size=6144
steps:
Expand All @@ -301,7 +309,7 @@ jobs:
type: integer
executor:
class: medium
name: sb_node_18_browsers
name: sb_node_22_browsers
parallelism: << parameters.parallelism >>
steps:
- git-shallow-clone/checkout_advanced:
Expand Down Expand Up @@ -348,18 +356,16 @@ jobs:
type: integer
executor:
class: large
name: sb_node_18_browsers
name: sb_node_22_browsers
parallelism: << parameters.parallelism >>
steps:
- git-shallow-clone/checkout_advanced:
clone_options: "--depth 1 --verbose"
- bun-orb/setup:
version: 1.1.1
- attach_workspace:
at: .
- run:
name: Starting Event Collector
command: node --loader esbuild-register/loader -r esbuild-register ./event-log-collector.ts
command: yarn jiti ./event-log-collector.ts
working_directory: scripts
background: true
- run:
Expand All @@ -373,7 +379,7 @@ jobs:
TEMPLATE=$(yarn get-template --cadence << pipeline.parameters.workflow >> --task build)
if [[ $TEMPLATE != bench/* ]]
then
node --loader esbuild-register/loader -r esbuild-register ./event-log-checker.ts build $TEMPLATE
yarn jiti ./event-log-checker.ts build $TEMPLATE
fi
working_directory: scripts
- report-workflow-on-failure:
Expand Down Expand Up @@ -431,7 +437,7 @@ jobs:
type: integer
executor:
class: medium
name: sb_node_18_browsers
name: sb_node_22_browsers
parallelism: << parameters.parallelism >>
steps:
- checkout
Expand Down Expand Up @@ -514,7 +520,7 @@ jobs:
test-empty-init:
executor:
class: medium
name: sb_node_18_browsers
name: sb_node_22_browsers
parameters:
packageManager:
type: string
Expand Down Expand Up @@ -602,6 +608,23 @@ jobs:
IN_STORYBOOK_SANDBOX: true
STORYBOOK_INIT_EMPTY_TYPE: << parameters.template >>
STORYBOOK_DISABLE_TELEMETRY: true
- when:
condition:
equal: ["react-vite-ts", << parameters.template >>]
steps:
- run:
name: Storybook init from empty directory (--skip-install)
command: |
cd code
yarn local-registry --open &
cd ../../
mkdir empty-<< parameters.template >>-no-install
cd empty-<< parameters.template >>-no-install
npx storybook init --yes --skip-install
environment:
IN_STORYBOOK_SANDBOX: true
STORYBOOK_INIT_EMPTY_TYPE: << parameters.template >>
STORYBOOK_DISABLE_TELEMETRY: true
- report-workflow-on-failure
test-portable-stories:
parameters:
Expand Down
4 changes: 3 additions & 1 deletion .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
c0896915fb7fb9a8dd416b9aebca17abd909d1c1
a41c227037e7e7249b8b376f838f4f8bcc3e3e59
13c46e6c0b7f3dd8cf4ba42d1cfd6714f4777d54
0a4522a3f84773f39daec4820c49b8a92e9f9d11
0a4522a3f84773f39daec4820c49b8a92e9f9d11
e12039c0593ba021ce27cb7245b6067677f27625
513bb66bb9729ece57581b6eb50e5b338c47c0b9
4 changes: 0 additions & 4 deletions .github/workflows/canary-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ jobs:
with:
node-version-file: ".nvmrc"

- uses: oven-sh/setup-bun@v1
with:
bun-version: 1.1.1

- name: Cache dependencies
uses: actions/cache@v4
with:
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/generate-sandboxes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ jobs:
- uses: actions/checkout@v4
with:
ref: next

- uses: oven-sh/setup-bun@v1
with:
bun-version: 1.1.1

- uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -86,10 +82,6 @@ jobs:
with:
ref: main

- uses: oven-sh/setup-bun@v1
with:
bun-version: 1.1.1

- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/prepare-non-patch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ jobs:
with:
node-version-file: ".nvmrc"

- uses: oven-sh/setup-bun@v1
with:
bun-version: 1.1.1

- name: Cache dependencies
uses: actions/cache@v4
with:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/prepare-patch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ jobs:
with:
node-version-file: ".nvmrc"

- uses: oven-sh/setup-bun@v1
with:
bun-version: 1.1.1

- name: Cache dependencies
uses: actions/cache@v4
with:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ jobs:
with:
node-version-file: ".nvmrc"

- uses: oven-sh/setup-bun@v1
with:
bun-version: 1.1.1

- name: Cache dependencies
uses: actions/cache@v4
with:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/tests-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
with:
bun-version: 1.1.1
- name: Set node version
uses: actions/setup-node@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.19.1
22.6.0
19 changes: 5 additions & 14 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,7 @@
"eslint.options": {
"cache": true,
"cacheLocation": ".cache/eslint",
"extensions": [
".js",
".jsx",
".mjs",
".json",
".ts",
".tsx"
]
"extensions": [".js", ".jsx", ".mjs", ".json", ".ts", ".tsx"]
},
"eslint.useESLintClass": true,
"eslint.validate": [
Expand All @@ -42,10 +35,7 @@
"typescript",
"typescriptreact"
],
"eslint.workingDirectories": [
"./code",
"./scripts"
],
"eslint.workingDirectories": ["./code", "./scripts"],
"files.associations": {
"*.js": "javascriptreact"
},
Expand All @@ -59,5 +49,6 @@
"typescript.preferences.preferTypeOnlyAutoImports": true,
"typescript.preferences.quoteStyle": "single",
"typescript.preferGoToSourceDefinition": true,
"typescript.tsdk": "./code/node_modules/typescript/lib"
}
"typescript.tsdk": "./code/node_modules/typescript/lib",
"vitest.workspaceConfig": "./code/vitest.workspace.ts"
}
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 8.2.8

- CLI: Parse more Yarn Berry errors - [#28816](https://github.com/storybookjs/storybook/pull/28816), thanks @yannbf!
- Fix: Invariant failed: Expected package.json#version to be defined in the "undefined" package - [#28752](https://github.com/storybookjs/storybook/pull/28752), thanks @abcdmku!

## 8.2.7

- CPC: Fix type usage in renderers - [#28745](https://github.com/storybookjs/storybook/pull/28745), thanks @ndelangen!
Expand Down
14 changes: 14 additions & 0 deletions CHANGELOG.prerelease.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## 8.3.0-alpha.5

- Builder-Vite: Add null character prefix to virtual file IDs - [#28863](https://github.com/storybookjs/storybook/pull/28863), thanks @valentinpalkovic!
- CLI: Fix `init --skip-install` - [#28853](https://github.com/storybookjs/storybook/pull/28853), thanks @ndelangen!
- CLI: Parse more Yarn Berry errors - [#28816](https://github.com/storybookjs/storybook/pull/28816), thanks @yannbf!
- Core: Make sure CJS build always has lowest prio - [#28829](https://github.com/storybookjs/storybook/pull/28829), thanks @kasperpeulen!
- Maintenance: Add `node:`-prefix to node core-modules - [#28860](https://github.com/storybookjs/storybook/pull/28860), thanks @ndelangen!
- Next.js: Add @storybook/nextjs-vite package - [#28800](https://github.com/storybookjs/storybook/pull/28800), thanks @valentinpalkovic!
- React: Bundle in `lodash` - [#28609](https://github.com/storybookjs/storybook/pull/28609), thanks @ndelangen!
- Telemetry: Add globals stats - [#28822](https://github.com/storybookjs/storybook/pull/28822), thanks @shilman!
- Telemetry: Add portable stories - [#26764](https://github.com/storybookjs/storybook/pull/26764), thanks @shilman!
- Telemetry: Disable save-from-controls logs for example stories - [#28870](https://github.com/storybookjs/storybook/pull/28870), thanks @shilman!
- Test: Upgrade Vitest to v2 - [#28788](https://github.com/storybookjs/storybook/pull/28788), thanks @yannbf!

## 8.3.0-alpha.4

- CSF: Allow overridding globals at the story level - [#26654](https://github.com/storybookjs/storybook/pull/26654), thanks @tmeasday!
Expand Down
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ You will need to have the following installed:
- git
- node
- yarn
- [bun](https://bun.sh/)

## Using fnm as a Node version manager

Expand Down
Loading