mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-03 05:04:51 +08:00
Merge pull request #12209 from storybookjs/tech/benchmark
Build: Add CRA benchmark
This commit is contained in:
commit
09b75a3ab6
@ -197,3 +197,14 @@ export const react_in_yarn_workspace: Parameters = {
|
||||
`yarn add react react-dom --silent -W`,
|
||||
].join(' && '),
|
||||
};
|
||||
|
||||
// View results at: https://datastudio.google.com/reporting/c34f64ee-400f-4d06-ad4f-5c2133e226da
|
||||
export const cra_bench: Parameters = {
|
||||
name: 'cra_bench',
|
||||
version: 'latest',
|
||||
generator: [
|
||||
'npx create-react-app@{{version}} {{name}}-{{version}}',
|
||||
'cd {{name}}-{{version}}',
|
||||
"npx @storybook/bench 'npx sb init' --label cra",
|
||||
].join(' && '),
|
||||
};
|
||||
|
@ -43,6 +43,14 @@ packages:
|
||||
access: $all
|
||||
publish: $all
|
||||
proxy: npmjs
|
||||
'@storybook/bench':
|
||||
access: $all
|
||||
publish: $all
|
||||
proxy: npmjs
|
||||
'@storybook/addon-bench':
|
||||
access: $all
|
||||
publish: $all
|
||||
proxy: npmjs
|
||||
|
||||
# storybook packages are NOT proxied to global registry
|
||||
# allowing us to republish any version during tests
|
||||
|
Loading…
x
Reference in New Issue
Block a user