particle
particle copied to clipboard
Generic prompt creation:
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:
- What design system are you using
- Storybook
- pattern lab
- hybrid options (hopefully not)
- What CSS library (or extension) are you using
- Tailwind
- SASS
- bootstrap (should we support this)
- none
- Static typing libraries
- Typescript
- CJS only (default)
- ESM support (still need commonJS but now your modern browsers will be faster)
- none
- Are you using a frontend framework
- React / Storybook
- Twig / PatternLab
- HTML / Storybook
- Webcomponents (can be selected alongside HTML or React)
- None
- 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
- Linting (preconfigured)(custom solutions are discouraged)
Shortcuts (default, or custom)
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.