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

Indexer: Ensure node_modules are excluded by default, unless explicitly included #21611

Closed
wants to merge 4 commits into from

Conversation

sheriffMoose
Copy link
Contributor

@sheriffMoose sheriffMoose commented Mar 14, 2023

Closes #18640

What I did

  • exclude node_modules from the glob used for indexing stories by default unless explicitly specified
  • show a little warning when node_modules is mentioned explicitly

How to test

  • CI Passes.

Closes storybookjs#18640

* [x] exclude node_modules from the glob used for indexing stories by default unless explicitly specified
* [x] show a little warning when node_modules is mentioned explicitly
@sheriffMoose sheriffMoose requested a review from shilman March 14, 2023 23:17
@sheriffMoose sheriffMoose changed the title fix(core): exclude node_modules stories Core: exclude node_modules stories by default unless explicitly included Mar 17, 2023
Copy link

@quantizor quantizor left a comment

Choose a reason for hiding this comment

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

Thank you

@ndelangen ndelangen changed the title Core: exclude node_modules stories by default unless explicitly included Core: Ensure node_modules are excluded by default, unless explicitly included Nov 28, 2023
@ndelangen ndelangen changed the title Core: Ensure node_modules are excluded by default, unless explicitly included Indexer: Ensure node_modules are excluded by default, unless explicitly included Nov 28, 2023
@ndelangen
Copy link
Member

@sheriffMoose Do you think you could fix the CI unit test?

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

Successfully merging this pull request may close these issues.

Quick win: buildStoriesJson breaks storiesOf stories with error Error: CSF: unexpected storiesOf call
5 participants