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

feat(storybook): add styles and stylePreprocessorOptions to the executors #9057

Merged

Conversation

mandarini
Copy link
Member

Current Behavior

Even though a user can pass the styles and stylePreprocessorOptions in the Storybook executors options, and these will be passed onto the Storybook/Angular builders, no documentation exists around it, and the two options are not specifically listed in our schema.

Expected Behavior

Add the styles and stylePreprocessorOptions to the Nx Storybook executors. The two options were passed blindly, if provided by the user. However, we now include these two options specifically in our executors' schema. Also added some documentation around it, as requested by the community. The intention is for this to be clearer to users, to provide a better and explicit explanation of how to use in Nx these two Angular builder options.

(this Storybook PR for reference)

Related Issue(s)

#8882

@vercel
Copy link

vercel bot commented Feb 21, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/nrwl/nx-dev/2sW9bUxkLd647dwBVzisYZtuadtz
✅ Preview: https://nx-dev-git-fork-mandarini-feat-include-styles-optio-84cd37-nrwl.vercel.app

@isaacplmann
Copy link
Collaborator

Use the word executor instead of builder. Everything else looks good.

@mandarini mandarini force-pushed the feat/include-styles-options-storybook branch from 17b4715 to bebc50d Compare February 21, 2022 14:32
@mandarini mandarini merged commit fc018cd into nrwl:master Feb 21, 2022
meeroslav pushed a commit to meeroslav/nx that referenced this pull request Mar 4, 2022
@mandarini mandarini deleted the feat/include-styles-options-storybook branch March 18, 2022 14:47
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants