infinum / react-nuts-and-bolts

A collection of commonly used tools and components that we use everyday at Infinum.
MIT License
1 stars 0 forks source link

@infinum/create-next-app #20

Closed isBatak closed 1 year ago

isBatak commented 1 year ago

This pr is proposal for the idea of @infinum/create-next-app CLI tool for initializing Next.js app with Infinum folder structure and tooling.

It should be used similar to next.js create-next-app https://nextjs.org/docs/api-reference/create-next-app but with more granula options.

Example of usage:

Interactive

npx @infinum/create-next-app@latest

✔ Would you like to use Chakra UI with this project? … No / Yes
✔ Would you like to use Datx with this project? … No / Yes
✔ Would you like to use Bugsnag with this project? … No / Yes
✔ Would you like to use Storybook with this project? … No / Yes

Non-interactive

npx @infinum/create-next-app@latest --chakra-ui --datx --bugsnag --storybook
sonarcloud[bot] commented 1 year ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 9 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication