-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create NP plugin boilerplate script #52752
Conversation
Pinging @elastic/kibana-operations (Team:Operations) |
Seems like a lot of overlap between this and the plugin generator in @lizozom what do you think about updating the existing generator? |
824bfd1
to
1ec739f
Compare
💔 Build FailedHistory
To update your PR or re-run it, just comment with: |
+1 for considering an update to the existing generator, especially since historically we've documented it as the recommended way to bootstrap a new plugin. On another note - whichever route we go, we should also be sure everything aligns with our CONVENTIONS.md to prevent confusion. |
@joshdover @lukeelmers - will move the code over there |
Replaced by #55281 |
Summary
Added an option to the
yarn kbn
script to create plugin boiler plate code.This command will create a new plugin (unless a plugin with that name already exists) having the following structure:
new_plugin
It also adds the plugin to
i18nrc.json
If the script fails to initialize the plugin, it attempts to perform cleanup.
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.For maintainers