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

build: make storybook a workspace #269

Merged
merged 5 commits into from
Apr 14, 2023

Conversation

johnhooks
Copy link
Collaborator

What?

Simply the dependency management of storybook by adding to the project as a workspace.

Why?

  • Running install in the root directory will install dependencies for storybook.
  • Allows running scripts from the workspace.

@johnhooks johnhooks requested a review from erikyo April 14, 2023 19:18
package.json Outdated
"build": "wp-scripts build",
"build:storybook": "npm run build --workspace=storybook",
"prephp-install": "wp-env start",
Copy link
Collaborator

Choose a reason for hiding this comment

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

i've noticed also there two that are "duplicated", is worth to remove them in this PR? If yes do it, however check that they are not used in the php test workflow

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@erikyo which two are duplicated?

@johnhooks johnhooks requested a review from erikyo April 14, 2023 20:05
Copy link
Collaborator

@erikyo erikyo left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

@johnhooks johnhooks merged commit ceee673 into WordPress:develop Apr 14, 2023
@johnhooks johnhooks deleted the build/storybook-workspace branch April 14, 2023 20:08
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.

None yet

2 participants