question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[discussion] sb extract

See original GitHub issue

As for now, the logic behind extract function in storybook CLI is basically getting the storybook build running in a web server using puppeteer in order to get the stories from the internal client storybook state store.

There’re use-cases of using this CLI command in CI environment and it’s a pretty much an overkill to get a puppeteer and run the whole build only to get the stories metadata.

The use case I’m using stories.json is for newly introduced composed storybook.

Raising this to discussion to see what the community thinks. I might be available to help out implementing something.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
ndelangencommented, Aug 24, 2020

@dvh91 we are moving towards having storybook config be declarative & stories be declarative, parameters & decorators & args be declarative.

These are building blocks for being able to extract the stories.json out without using a browser.

We can’t do it -right now- but over time we’ll hopefully be able to deprecate the non-declarative methods, and extract all data via static analysis.

1reaction
pardomancommented, Feb 16, 2021

Bump due to stale bot’s participation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Extracting .sb files - Discuss Scratch
sb is a complicated format so you can't extract assets manually. However, it isn't hard to write a program that does that, using...
Read more >
Effects of a Standardized Bacopa monnieri Extract on ... - NCBI
Bacopa alcohol extract has shown memory-enhancing effects in three double-blind, ... 1994;185:153–164. discussion 164–168. ... Garai S. Mahato SB.
Read more >
Soxhlet Extraction - an overview | ScienceDirect Topics
Table 1 summarizes the main characteristics of Soxhlet extraction, clean up and detection/determination for each group of pollutants discussed below.
Read more >
Serenoa Repens (Saw Palmetto) for Lower Urinary Tract ...
... plus a focus on a lipidosterolic extract of Serenoa repens (LSESr) having ... LSESr extraction products used in the treatment of LUTS,...
Read more >
SB's Get Fit Fest - Facebook
Stay motivated and fill up your annual activities calendar at Sports Basement's first EVER Discounted Activity Registration Event. You will receive a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found