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 kbnscript 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.jsonIf 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