Skip to content

Commit 2df9a6d

Browse files
authored
Merge pull request #112 from parthlambdatest/Dot-6473
[Dot-6473] Add option for chunk size
2 parents 3723f96 + a738384 commit 2df9a6d

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

commands/storybook.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ async function storybook(serve, options) {
6666

6767
// Get storyIds to be rendered
6868
let storyIds = static.filterStories(dirPath, storybookConfig)
69+
let maxStories = storybookConfig.chunkSize || 100;
6970

7071
// Upload Storybook static
7172
await static.getSignedUrl(options)
@@ -160,6 +161,7 @@ async function storybook(serve, options) {
160161
},
161162
buildName: buildName,
162163
tunnel: options.tunnel || {},
164+
maxStories: maxStories
163165
}
164166

165167
// Call static render API

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lambdatest/smartui-storybook",
3-
"version": "1.1.25",
3+
"version": "1.1.26",
44
"description": "LambdaTest's command-line interface (CLI) aimed to help you run your SmartUI tests on LambdaTest platform",
55
"main": "index.js",
66
"repository": {

0 commit comments

Comments
 (0)