particle icon indicating copy to clipboard operation
particle copied to clipboard

Generic prompt creation:

Open FrederickEngelhardt opened this issue 5 years ago • 1 comments
trafficstars

Using the npm library inquirer we should generate all answered questions into a single json file.

Notes: Prompts should be broken up using a checkbox with a validator based on the types of the options that are allowed to be selected with each other.

Questions:

  1. What design system are you using
  • Storybook
  • pattern lab
  • hybrid options (hopefully not)
  1. What CSS library (or extension) are you using
  • Tailwind
  • SASS
  • bootstrap (should we support this)
  • none
  1. Static typing libraries
  • Typescript
    • CJS only (default)
    • ESM support (still need commonJS but now your modern browsers will be faster)
  • none
  1. Are you using a frontend framework
  • React / Storybook
  • Twig / PatternLab
  • HTML / Storybook
  • Webcomponents (can be selected alongside HTML or React)
  • None
  1. Testing
  • jest (always be shipped unless deselected)
  • cypress.io integration
  • VRT for storybook (Loki)

SVGs:

  • default is enabled in webpack (supports any opt framework)
  • Opt out option
  1. Linting (preconfigured)(custom solutions are discouraged)

Shortcuts (default, or custom)

FrederickEngelhardt avatar Jun 17 '20 17:06 FrederickEngelhardt

Working on this ticket today - tomorrow. Will have a POC by tomorrow so we can start generating files from the JSON structure that is outputted.

FrederickEngelhardt avatar Jun 22 '20 17:06 FrederickEngelhardt