generated from storybookjs/addon-kit
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'next' into post-visit-on-failures
- Loading branch information
Showing
18 changed files
with
5,058 additions
and
8,168 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
enableTelemetry: 0 | ||
compressionLevel: mixed | ||
|
||
enableGlobalCache: false | ||
|
||
enableTelemetry: false | ||
|
||
nodeLinker: node-modules | ||
|
||
yarnPath: .yarn/releases/yarn-3.6.3.cjs | ||
yarnPath: .yarn/releases/yarn-4.5.1.cjs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,69 @@ | ||
# v0.19.1 (Mon Jul 15 2024) | ||
|
||
#### 🐛 Bug Fix | ||
|
||
- Release 0.19.1 [#493](https://github.com/storybookjs/test-runner/pull/493) ([@paulgv](https://github.com/paulgv) [@yannbf](https://github.com/yannbf)) | ||
- fix(deps): upgrade `@storybook/csf` to v0.1.11 [#491](https://github.com/storybookjs/test-runner/pull/491) ([@paulgv](https://github.com/paulgv)) | ||
|
||
#### Authors: 2 | ||
|
||
- Paul Gascou-Vaillancourt ([@paulgv](https://github.com/paulgv)) | ||
- Yann Braga ([@yannbf](https://github.com/yannbf)) | ||
|
||
--- | ||
|
||
# v0.19.0 (Sat Jun 22 2024) | ||
|
||
#### 🚀 Enhancement | ||
|
||
- Release 0.19.0 [#486](https://github.com/storybookjs/test-runner/pull/486) ([@yannbf](https://github.com/yannbf) [email protected] [@ysgk](https://github.com/ysgk)) | ||
- Feat: Add errorMessageFormatter [#468](https://github.com/storybookjs/test-runner/pull/468) ([@yannbf](https://github.com/yannbf) [email protected]) | ||
|
||
#### 🐛 Bug Fix | ||
|
||
- Fix: Combine tags correctly when transforming story files [#485](https://github.com/storybookjs/test-runner/pull/485) ([@yannbf](https://github.com/yannbf)) | ||
- Fix contents of eject functionality [#483](https://github.com/storybookjs/test-runner/pull/483) ([@yannbf](https://github.com/yannbf)) | ||
- Unpin @swc/core from 1.5.7 [#481](https://github.com/storybookjs/test-runner/pull/481) ([@ysgk](https://github.com/ysgk)) | ||
|
||
#### Authors: 3 | ||
|
||
- [@ysgk](https://github.com/ysgk) | ||
- Foxhoundn ([@Foxhoundn](https://github.com/Foxhoundn)) | ||
- Yann Braga ([@yannbf](https://github.com/yannbf)) | ||
|
||
--- | ||
|
||
# v0.18.2 (Wed May 29 2024) | ||
|
||
#### 🐛 Bug Fix | ||
|
||
- Release 0.18.2 [#476](https://github.com/storybookjs/test-runner/pull/476) ([@shilman](https://github.com/shilman) [@valentinpalkovic](https://github.com/valentinpalkovic) [@yannbf](https://github.com/yannbf)) | ||
- Fix 8.1.4+ support for v5 index.json [#475](https://github.com/storybookjs/test-runner/pull/475) ([@shilman](https://github.com/shilman) [@yannbf](https://github.com/yannbf)) | ||
- Pin `@swc/core` to 1.5.7 [#474](https://github.com/storybookjs/test-runner/pull/474) ([@shilman](https://github.com/shilman)) | ||
|
||
#### Authors: 3 | ||
|
||
- Michael Shilman ([@shilman](https://github.com/shilman)) | ||
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic)) | ||
- Yann Braga ([@yannbf](https://github.com/yannbf)) | ||
|
||
--- | ||
|
||
# v0.18.1 (Fri May 17 2024) | ||
|
||
#### 🐛 Bug Fix | ||
|
||
- Release 0.18.1 [#466](https://github.com/storybookjs/test-runner/pull/466) ([@yannbf](https://github.com/yannbf)) | ||
- Fix Windows support in coverage generation [#461](https://github.com/storybookjs/test-runner/pull/461) ([@yannbf](https://github.com/yannbf)) | ||
- Fix getStoryContext type [#462](https://github.com/storybookjs/test-runner/pull/462) ([@yannbf](https://github.com/yannbf)) | ||
- Fix: Skip requiring a main.js file in index.json mode [#464](https://github.com/storybookjs/test-runner/pull/464) ([@yannbf](https://github.com/yannbf)) | ||
|
||
#### Authors: 1 | ||
|
||
- Yann Braga ([@yannbf](https://github.com/yannbf)) | ||
|
||
--- | ||
|
||
# v0.18.0 (Thu May 09 2024) | ||
|
||
#### 🚀 Enhancement | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@storybook/test-runner", | ||
"version": "0.18.0", | ||
"version": "0.19.1", | ||
"description": "Test runner for Storybook stories", | ||
"keywords": [ | ||
"storybook-addons", | ||
|
@@ -56,10 +56,7 @@ | |
"@babel/template": "^7.22.5", | ||
"@babel/types": "^7.22.5", | ||
"@jest/types": "^29.6.3", | ||
"@storybook/core-common": "next", | ||
"@storybook/csf": "^0.1.11", | ||
"@storybook/csf-tools": "next", | ||
"@storybook/preview-api": "next", | ||
"@swc/core": "^1.5.22", | ||
"@swc/jest": "^0.2.23", | ||
"expect-playwright": "^0.8.0", | ||
|
@@ -81,11 +78,11 @@ | |
"@babel/preset-react": "^7.18.6", | ||
"@babel/preset-typescript": "^7.18.6", | ||
"@storybook/addon-coverage": "^1.0.0", | ||
"@storybook/addon-essentials": "next", | ||
"@storybook/addon-interactions": "next", | ||
"@storybook/react": "next", | ||
"@storybook/react-vite": "next", | ||
"@storybook/test": "next", | ||
"@storybook/addon-essentials": "^8.0.0", | ||
"@storybook/addon-interactions": "^8.0.0", | ||
"@storybook/react": "^8.0.0", | ||
"@storybook/react-vite": "^8.0.0", | ||
"@storybook/test": "^8.0.0", | ||
"@types/jest": "^29.0.0", | ||
"@types/node": "^16.4.1", | ||
"@types/node-fetch": "^2.6.11", | ||
|
@@ -107,7 +104,7 @@ | |
"react": "^17.0.1", | ||
"react-dom": "^17.0.1", | ||
"read-pkg-up": "^7.0.1", | ||
"storybook": "next", | ||
"storybook": "^8.0.0", | ||
"tempy": "^1.0.1", | ||
"ts-dedent": "^2.0.0", | ||
"ts-jest": "^29.0.0", | ||
|
@@ -116,6 +113,9 @@ | |
"vite": "^4.4.5", | ||
"wait-on": "^7.2.0" | ||
}, | ||
"peerDependencies": { | ||
"storybook": "^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0" | ||
}, | ||
"engines": { | ||
"node": "^16.10.0 || ^18.0.0 || >=20.0.0" | ||
}, | ||
|
@@ -139,5 +139,6 @@ | |
"react-native" | ||
], | ||
"icon": "https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png" | ||
} | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
import { join } from 'path'; | ||
import { normalizeStories, getProjectRoot } from '@storybook/core-common'; | ||
import { normalizeStories, getProjectRoot } from 'storybook/internal/common'; | ||
import { StoriesEntry } from 'storybook/internal/types'; | ||
|
||
import { getStorybookMain } from './getStorybookMain'; | ||
import { StoriesEntry } from '@storybook/types'; | ||
|
||
export const getStorybookMetadata = () => { | ||
const workingDir = getProjectRoot(); | ||
|
@@ -21,7 +22,7 @@ export const getStorybookMetadata = () => { | |
.map((dir) => join(workingDir, dir)) | ||
.join(';'); | ||
|
||
// @ts-ignore -- this is added in @storybook/core-[email protected], which we don't depend on | ||
// @ts-expect-error -- this is added in storybook/internal/[email protected], which we don't depend on | ||
const lazyCompilation = !!main.core?.builder?.options?.lazyCompilation; | ||
|
||
return { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.