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 pull request #512 from storybookjs/yann/update-test-runner-cpc
Align with Storybook 8.2 core package layout
- Loading branch information
Showing
17 changed files
with
4,959 additions
and
8,143 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
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 |
---|---|---|
|
@@ -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", | ||
|
@@ -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.