akd-io / create-next-stack

Create Next Stack is a website and CLI tool used to easily set up the boilerplate of new Next.js apps.
https://www.create-next-stack.com
MIT License
563 stars 27 forks source link

CLI: Next.js Template to Plugin skeleton script #173

Open akd-io opened 1 year ago

akd-io commented 1 year ago

Depends on #153.

Create a script that given a Next.js template does the following:

  1. Downloads the Next.js Template repo to a temp folder.
  2. Diffs it against the base Next.js template we'll add in #153.
  3. Adds a new plugin file, with the same name as the Next.js template, and fills it with:
    • The diff from above in a comment. This will give Copilot the context for the plugin and help us write it.
    • Add the most basic boilerplate of a new plugin.