Add vue_shared_documentation Danger plugin
What does this MR do?
Related: #334758 (closed).
We want to encourage contributors to vue_shared/
to add stories to the Storybook. This Danger plugin aims to support this effort!
Screenshots or Screencasts (strongly suggested)
This screenshot was the result of a commit (https://gitlab.com/gitlab-org/gitlab/-/merge_requests/66039/diffs?diff_id=214302550&start_sha=4935861b383b41812dd08cd8a1e0f9416946d380) containing changes to:
-
vue_shared/components/project_avatar.vue
- this has a corresponding.stories.js
file, so we shouldn't expect a Danger warning -
vue_shared/components/identicon.vue
- this does not have a correspondingstories.js
file, so we should expect a Danger warning
![](/-/project/278964/uploads/a08123d0723435495b2d977619ddab8f/Screen_Shot_2021-07-15_at_3.12.11_pm.png)
Edited by Tom Quirk