Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/flyout_system/kibana.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"id": "@kbn/flyout-system-example-plugin",
"owner": "@elastic/appex-sharedux",
"description": "Example app that shows use cases for the platform flyouts system",
"group": "platform",
"visibility": "private",
Comment on lines +6 to +7

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

adding missing properties, Scout parser will throw error if scout dir would be added for this plugin

"plugin": {
"id": "flyoutSystemExamples",
"server": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ const getAllowedPackage = (filePath) => {
return { package: '@kbn/scout' };
}

// example plugins (OSS and x-pack)
if (/\/examples\/[^/]+\/test\/(?:scout|scout_\w+)\//.test(filePath)) {
return { package: '@kbn/scout' };
}
if (/\/x-pack\/examples\/[^/]+\/test\/(?:scout|scout_\w+)\//.test(filePath)) {
return { package: '@kbn/scout' };
}

return null;
};

Expand Down
Loading
Loading