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 0.14.0 #377

Merged
merged 46 commits into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
e128105
Run nyc with correct packager manager command
ferdinandhummel-gph Feb 28, 2023
f41f557
Make userAgent configurable
jaknas Aug 9, 2023
0fc2fae
remove csf upgrade in nightly check
yannbf Aug 15, 2023
a36fdb4
upgrade example
yannbf Aug 17, 2023
01f49f5
Merge pull request #343 from storybookjs/yann/remove-csf-upgrade-in-n…
yannbf Aug 17, 2023
d73dfe6
update to yarn berry
yannbf Aug 27, 2023
9e1136e
Merge pull request #344 from storybookjs/yann/update-to-yarn-berry
yannbf Aug 27, 2023
ef296c4
devDeps: Bump auto from v10 to v11
legobeat Sep 3, 2023
4294f27
chore: yarn dedupe
legobeat Sep 3, 2023
510d1ac
chore: disable yarn telemetry by default
legobeat Sep 3, 2023
aff54d6
chore: set engines.node to >=12.0.0.
legobeat Sep 3, 2023
6773bdf
Merge pull request #347 from legobeat/yarn-dedupe-202309
yannbf Sep 6, 2023
2ec51a7
Merge pull request #350 from legobeat/yarn-disable-telemetry
yannbf Sep 6, 2023
71781bd
Merge pull request #351 from legobeat/engines-node
yannbf Sep 6, 2023
65184c9
fix yarn 2 issue
yannbf Sep 4, 2023
e145525
Merge pull request #352 from storybookjs/fix/nightly
yannbf Sep 6, 2023
9db74b9
Merge pull request #346 from legobeat/devDeps-auto
yannbf Sep 19, 2023
5dd0322
Merge pull request #342 from jaknas/jaknas-patch-1
yannbf Oct 5, 2023
2f4c381
deps/devDeps: bump semver to latest
legobeat Sep 3, 2023
5740667
Merge pull request #349 from legobeat/deps-semver
yannbf Oct 8, 2023
af2512f
upgrade jest dependencies to v29
yannbf Jun 20, 2023
bf5bf5e
update snapshots
yannbf Jun 20, 2023
92354cb
chore: bump jest packages to latest
legobeat Sep 3, 2023
ec51f91
chore(deps): dedupe jest packages
legobeat Sep 6, 2023
6f02505
BREAKING: Bump minimum Node.js version to ^14.15.0
legobeat Sep 6, 2023
f92abc9
BREAKING: Bump minimum Node.js version to ^14.15.0
legobeat Sep 6, 2023
e0c0bcf
add waitForPageReady utility
yannbf Oct 10, 2023
6f7e339
expand ejected config docs with an example
yannbf Oct 12, 2023
35fc7d5
Merge pull request #363 from storybookjs/yann/update-ejected-config-docs
yannbf Oct 12, 2023
3fa14d0
Merge branch 'next' into feature-package-manager-command
yannbf Oct 12, 2023
8c62e28
use detect-package-manager
yannbf Oct 12, 2023
06c986a
update coverage addon
yannbf Oct 24, 2023
2d1c980
Merge pull request #364 from storybookjs/fix/use-correct-package-manager
yannbf Oct 24, 2023
6f93bd5
Merge pull request #361 from storybookjs/feat/wait-for-page-ready
yannbf Oct 25, 2023
b011418
restructure docs and include more recipes [skip ci]
yannbf Oct 25, 2023
4b73929
update snippet
yannbf Oct 30, 2023
25cb18d
Merge pull request #373 from storybookjs/yann/revamp-docs
yannbf Oct 30, 2023
793987e
Merge pull request #354 from legobeat/nodejs-14
yannbf Oct 30, 2023
a4c6555
Merge branch 'next' into jest-29-next
yannbf Oct 30, 2023
93087b0
Merge pull request #348 from legobeat/jest-29-next
yannbf Oct 30, 2023
538cc4e
[skip ci] update docs
yannbf Oct 30, 2023
1ba363f
[skip ci] update snapshot resolver recipe
yannbf Oct 31, 2023
553e5b8
support .story files
yannbf Nov 8, 2023
07475ef
refactor ejected config format
yannbf Nov 8, 2023
c0159ff
always set TEST_ROOT
yannbf Nov 8, 2023
33f2385
Merge pull request #376 from storybookjs/feat/support-story-filename
yannbf Nov 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug-report-🐞.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
---
name: "Bug report \U0001F41E"
about: Create a report to help us improve
title: "[bug] "
title: '[bug] '
labels: bug, needs triage
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,9 @@ jobs:
- name: Upgrade to storybook@next
run: |
npx storybook@next upgrade --prerelease --yes
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: false

# TODO: This should not be necessary once @storybook/csf is properly updated
- name: Fix local @storybook/csf version
run: |
yarn add @storybook/csf@0.0.2--canary.4566f4d.1
- name: Run test runner
uses: mathiasvr/command-output@v1
id: tests
Expand Down Expand Up @@ -118,11 +116,8 @@ jobs:
- name: Upgrade to storybook@next
run: |
npx storybook@next upgrade --prerelease --yes

# TODO: This should not be necessary once @storybook/csf is properly updated
- name: Fix local @storybook/csf version
run: |
yarn add @storybook/csf@0.0.2--canary.4566f4d.1
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: false

- name: Run test runner and expect failure
uses: mathiasvr/command-output@v1
Expand Down
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,12 @@ yarn-error.log
.nyc_output
coverage
test-results.json
**/junit.xml
**/junit.xml


/**/.yarn/*
!/**/.yarn/releases
!/**/.yarn/plugins
!/**/.yarn/sdks
!/**/.yarn/versions
/**/.pnp.*
6 changes: 5 additions & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { StorybookConfig } from '@storybok/react-vite';

let stories = [
'../stories/docs/**/*.mdx',
// default title prefix
Expand Down Expand Up @@ -28,7 +30,7 @@ const addons = [
'@storybook/addon-interactions',
'@storybook/addon-coverage',
];
module.exports = {
const config: StorybookConfig = {
stories,
addons,
features: {
Expand All @@ -46,3 +48,5 @@ module.exports = {
autodocs: true,
},
};

export default config;
4 changes: 3 additions & 1 deletion .storybook/test-runner.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { toMatchImageSnapshot } from 'jest-image-snapshot';
import { getStoryContext } from '../dist/playwright/hooks';
import { getStoryContext, waitForPageReady } from '../dist/playwright/hooks';
import type { TestRunnerConfig } from '../dist';

const snapshotsDir = process.env.SNAPSHOTS_DIR || '__snapshots__';
Expand All @@ -22,6 +22,8 @@ const config: TestRunnerConfig = {
return;
}

await waitForPageReady(page);

// Visual snapshot tests
const image = await page.screenshot({ fullPage: true });
expect(image).toMatchImageSnapshot({
Expand Down
874 changes: 874 additions & 0 deletions .yarn/releases/yarn-3.6.3.cjs

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
enableTelemetry: 0

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.6.3.cjs
Loading
Loading