Add Template Command#35
Conversation
|
There was a problem hiding this comment.
Code Review
This pull request introduces a template generation tool to scaffold new plugins (runner, common, and web) using @inquirer/prompts. It adds the template files, utility functions, and a new yarn template script. The review feedback highlights several critical improvements: preventing silent overwrites of existing plugin directories, ensuring Windows compatibility by normalizing path separators for fs.glob, resolving a configuration mismatch for external plugins between package.json and rollup.config.mjs, and refining the default class name generation to avoid duplicate suffixes.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
This PR adds the
yarn templatecommand which interactively allows plugin creation. This replaces the prior (and more complicated) method of manually copying the example template over and changing the required files.Wiki Changes