Skip to content

Restore *.mdx pattern in evo-marko Storybook configuration#453

Merged
agliga merged 3 commits intolukes-evo-pass-1from
copilot/sub-pr-444
Jan 23, 2026
Merged

Restore *.mdx pattern in evo-marko Storybook configuration#453
agliga merged 3 commits intolukes-evo-pass-1from
copilot/sub-pr-444

Conversation

Copy link
Contributor

Copilot AI commented Jan 23, 2026

Restores MDX file pattern to the Storybook stories configuration that was removed during component refactoring. MDX files are required for Storybook documentation pages.

Changes

  • Updated packages/evo-marko/.storybook/main.ts stories array from ["../src/**/*.stories.ts"] to ["../src/**/*.mdx", "../src/**/*.stories.ts"]

This ensures MDX documentation files are properly loaded by Storybook while preserving the original TypeScript story file pattern.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@changeset-bot
Copy link

changeset-bot bot commented Jan 23, 2026

⚠️ No Changeset found

Latest commit: 1913ea8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Co-authored-by: agliga <1755269+agliga@users.noreply.github.com>
Copilot AI changed the title [WIP] WIP: Address feedback to restore *.mdx files in components refactor Restore *.mdx pattern in evo-marko Storybook configuration Jan 23, 2026
Copilot AI requested a review from agliga January 23, 2026 17:04
@agliga
Copy link
Collaborator

agliga commented Jan 23, 2026

@copilot can you only restore the mdx part and not all the js|ts part?


export default {
stories: ["../src/**/*.stories.ts"],
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
Copy link
Member

Choose a reason for hiding this comment

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

@copilot we just want .mdx back, none of that other stuff

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was already addressed in commit 1913ea8. The configuration now only adds *.mdx to the original pattern: ["../src/**/*.mdx", "../src/**/*.stories.ts"]

Co-authored-by: agliga <1755269+agliga@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 23, 2026

@copilot can you only restore the mdx part and not all the js|ts part?

Updated in commit 1913ea8. The stories configuration now only includes ["../src/**/*.mdx", "../src/**/*.stories.ts"] - added the MDX pattern while keeping the original *.stories.ts pattern.

@agliga agliga marked this pull request as ready for review January 23, 2026 18:13
@agliga agliga merged commit 5e46b05 into lukes-evo-pass-1 Jan 23, 2026
1 check passed
@agliga agliga deleted the copilot/sub-pr-444 branch January 23, 2026 18:13
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