Skip to content

Commit

Permalink
🔧 better stories.ignore defaults
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Meilick <[email protected]>
  • Loading branch information
bnomei committed Jan 5, 2025
1 parent 26d191f commit a2353a9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export default preview;
| folder | `callback` | logic to find you Storybook stories folder, adjust if needed |
| stories.json | `callback` | if KQL exists allow loading from json files |
| stories.yml | `true` | allow loading from yml files |
| stories.ignore | `[]` | array of string, if matches any file will not be rendered |
| stories.ignore | `[...]` | array of string, if matches any file will not be rendered |


## Dependencies
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bnomei/kirby3-storybook",
"type": "kirby-plugin",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"description": "Kirby Plugin to generate Storybook stories from PHP snippets and templates",
"authors": [
Expand Down
6 changes: 5 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@
'stories' => [
'json' => fn () => class_exists('Kirby\Kql\Kql'),
'yml' => true,
'ignore' => [],
'ignore' => [
'vendor',
'site/plugins/kirby3-feed',
'site/plugins/kirby3-htmlhead',
],
],
],
'commands' => [ // https://github.com/getkirby/cli
Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php return array(
'root' => array(
'name' => 'bnomei/kirby3-storybook',
'pretty_version' => '2.0.0',
'version' => '2.0.0.0',
'pretty_version' => '2.0.1',
'version' => '2.0.1.0',
'reference' => null,
'type' => 'kirby-plugin',
'install_path' => __DIR__ . '/../../',
Expand All @@ -11,8 +11,8 @@
),
'versions' => array(
'bnomei/kirby3-storybook' => array(
'pretty_version' => '2.0.0',
'version' => '2.0.0.0',
'pretty_version' => '2.0.1',
'version' => '2.0.1.0',
'reference' => null,
'type' => 'kirby-plugin',
'install_path' => __DIR__ . '/../../',
Expand Down

0 comments on commit a2353a9

Please sign in to comment.