Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support requireing from node #337

Merged
merged 2 commits into from
Jul 26, 2016
Merged

Support requireing from node #337

merged 2 commits into from
Jul 26, 2016

Conversation

thani-sh
Copy link
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
Contributor Author

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

@@ -2,6 +2,7 @@ import UUID from 'uuid';

export default class ClientApi {
constructor({ pageBus, storyStore }) {
// pageBus can be null
Copy link
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
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
Copy link

nx-cloud bot commented Dec 10, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 076183b. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

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