histoire-dev / histoire

⚡ Fast and beautiful interactive component playgrounds, powered by Vite
https://histoire.dev
MIT License
3.03k stars 174 forks source link

When using storyMatch in histoire.config, Sibling markdown are not imported #680

Open TheNaschkatze opened 3 months ago

TheNaschkatze commented 3 months ago

Describe the bug

When using storyMatch in histoire.config, Sibling markdown are not imported

Reproduction

  1. add directories to the histoire.config storyMatch like storyMatch: [ '**/*.story.vue', '../../packages/src/**/*.story.vue'],
    1. have a story and a sibling markdown file
    2. run story:dev
    3. sibling markdowns will not be rendered.

System Info

System:
    OS: macOS 13.5.2
    CPU: (10) arm64 Apple M1 Pro
    Memory: 98.75 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.11.0 - ~/.nvm/versions/node/v20.11.0/bin/node
    npm: 8.19.4 - ~/development/shop-frontends/node_modules/.bin/npm
  Browsers:
    Brave Browser: 112.1.50.121
    Chrome: 121.0.6167.160
    Firefox: 121.0
    Safari: 16.6
  npmPackages:
    @histoire/plugin-nuxt: 0.17.10 => 0.17.10
    @histoire/plugin-vue: 0.17.9 => 0.17.9
    @vitejs/plugin-vue: 4.4.0 => 4.4.0
    histoire: 0.17.9 => 0.17.9
    vite: 4.4.9 => 4.4.9

Used Package Manager

npm

Validations