Skip to content

Support requireing from node#337

Merged
thani-sh merged 2 commits intomasterfrom
fix-node-require
Jul 26, 2016
Merged

Support requireing from node#337
thani-sh merged 2 commits intomasterfrom
fix-node-require

Conversation

@thani-sh
Copy link
Copy Markdown
Contributor

Wrap calls to browser only features to allow storybook module
to be required from node. This can be used to build CLI tools.

@thani-sh thani-sh force-pushed the fix-node-require branch 2 times, most recently from 2921a96 to db4b51c Compare July 26, 2016 09:16
Wrap calls to browser only features to allow storybook module
to be required from node. This can be used to build CLI tools.
@thani-sh
Copy link
Copy Markdown
Contributor Author

This PR and #332 will allow developers to use stories with command line tools.

Comment thread src/client/preview/client_api.js Outdated

export default class ClientApi {
constructor({ pageBus, storyStore }) {
// pageBus can be null
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Describe a bit more here why this can be null.

@thani-sh
Copy link
Copy Markdown
Contributor Author

Done

@thani-sh thani-sh merged commit 880d3ba into master Jul 26, 2016
@thani-sh thani-sh deleted the fix-node-require branch July 26, 2016 09:50
@shilman shilman added the misc label May 27, 2017
@nx-cloud
Copy link
Copy Markdown

nx-cloud bot commented Dec 10, 2024

View your CI Pipeline Execution ↗ for commit 076183b

Command Status Duration Result
nx run-many -t build --parallel=3 ✅ Succeeded 45s View ↗

☁️ Nx Cloud last updated this comment at 2025-08-29 22:10:42 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants