|
1 | | -<img width="100%" src="assets/banner.png" alt="A screenshot of the Create Next Stack website"> |
| 1 | +# Create Next Stack |
2 | 2 |
|
3 | | -<p align="center"> |
4 | | - <a aria-label="NPM version" href="https://www.npmjs.com/package/create-next-stack"> |
5 | | - <img alt="" src="https://img.shields.io/npm/v/create-next-stack?style=flat-square"> |
6 | | - </a> |
7 | | - <a aria-label="Build status" href="https://github.com/akd-io/create-next-stack/actions/workflows/main.yml?query=branch%3Adevelop"> |
8 | | - <img alt="" src="https://img.shields.io/github/actions/workflow/status/akd-io/create-next-stack/main.yml?branch=develop&style=flat-square"> |
9 | | - </a> |
| 3 | +<p> |
10 | 4 | <a aria-label="Last commit" href="https://github.com/akd-io/create-next-stack/commits/develop"> |
11 | 5 | <img alt="" src="https://img.shields.io/github/last-commit/akd-io/create-next-stack/develop?style=flat-square"> |
12 | 6 | </a> |
13 | | - <a aria-label="License" href="https://github.com/akd-io/create-next-stack/blob/develop/LICENSE"> |
| 7 | + <a aria-label="License" href="https://github.com/akd-io/create-next-stack/blob/develop/packages/create-next-stack/LICENSE"> |
14 | 8 | <img alt="" src="https://img.shields.io/npm/l/create-next-stack?color=44cc11&style=flat-square"> |
15 | 9 | </a> |
16 | | - <a aria-label="Create Next Stack Website GitHub Repository" href="https://github.com/akd-io/create-next-stack-website"> |
17 | | - <img alt="" src="https://img.shields.io/badge/Website-gray?style=flat-square&logo=github"> |
18 | | - </a> |
19 | | - <a aria-label="GitHub Repo stars" href="https://github.com/akd-io/create-next-stack"> |
20 | | - <img alt="" src="https://img.shields.io/github/stars/akd-io/create-next-stack?style=social"> |
| 10 | + <a aria-label="NPM version" href="https://www.npmjs.com/package/create-next-stack"> |
| 11 | + <img alt="" src="https://img.shields.io/npm/v/create-next-stack?style=flat-square"> |
21 | 12 | </a> |
22 | 13 | <a aria-label="Community Discord" href="https://discord.gg/7Ns5WwGjjZ"> |
23 | 14 | <img alt="" src="https://img.shields.io/badge/Discord-gray?style=flat-square&logo=discord"> |
24 | 15 | </a> |
25 | 16 | <a aria-label="Twitter profile of the creator of Create Next Stack" href="https://twitter.com/akd_io"> |
26 | 17 | <img alt="" src="https://img.shields.io/badge/Twitter-gray?style=flat-square&logo=twitter"> |
27 | 18 | </a> |
| 19 | + <a aria-label="GitHub Repo stars" href="https://github.com/akd-io/create-next-stack"> |
| 20 | + <img alt="" src="https://img.shields.io/github/stars/akd-io/create-next-stack?style=social"> |
| 21 | + </a> |
28 | 22 | </p> |
29 | 23 |
|
30 | 24 | [Create Next Stack](https://www.create-next-stack.com/) is a website and CLI tool used to easily set up the boilerplate of new [Next.js](https://github.com/vercel/next.js) apps. |
31 | 25 |
|
32 | 26 | Where [Create Next App](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) lets you choose a single template only, Create Next Stack lets you pick and choose an array of technologies often used alongside Next.js, and free you of the pain of making them work together. |
33 | 27 |
|
34 | | -This repository covers the CLI tool, while [create-next-stack-website](https://github.com/akd-io/create-next-stack-website) covers the site. |
35 | | - |
36 | | -To get started, go to [create-next-stack.com](https://www.create-next-stack.com). Here you'll be able to choose the technologies you want to use and get the corresponding CLI command. |
37 | | - |
38 | | -<p align="center"> |
39 | | - <img width="600" alt="Screenshot of Create Next Stack running in a terminal" src="assets/screenshot.png"> |
40 | | -</p> |
| 28 | +To get started, go to [create-next-stack.com](https://www.create-next-stack.com). |
41 | 29 |
|
42 | 30 | ## Supported technologies |
43 | 31 |
|
44 | 32 | The table below provides an overview of the technologies currently supported by Create Next Stack. |
45 | 33 |
|
46 | | -### Technologies table |
47 | | - |
48 | 34 | | Name | Links | |
49 | 35 | | --------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
50 | 36 | | [Next.js](https://nextjs.org/) (Mandatory) | [Docs](https://nextjs.org/docs) - [Learn Next.js](https://nextjs.org/learn) - [GitHub repo](https://github.com/vercel/next.js) | |
@@ -76,26 +62,27 @@ Below you see an overview of Create Next Stack's usage, including detailed infor |
76 | 62 |
|
77 | 63 | ``` |
78 | 64 | USAGE |
79 | | - $ create-next-stack [APPNAME] |
| 65 | + $ create-next-stack [APP_NAME] [FLAGS] |
80 | 66 |
|
81 | 67 | ARGUMENTS |
82 | | - APPNAME The name of your app, optionally including a path prefix. Eg.: "my-app" or "path/to/my-app" |
83 | | -
|
84 | | -OPTIONS |
85 | | - -h, --help Shows the CLI help information. |
86 | | - -v, --version Shows the CLI version information. |
87 | | - --chakra Adds Chakra UI. (Component library) (Requires Emotion and Framer Motion) |
88 | | - --debug Show verbose error messages for debugging purposes. |
89 | | - --formatting-pre-commit-hook Adds a formatting pre-commit hook. (Requires Prettier) |
90 | | - --formik Adds Formik. (Form library) |
91 | | - --framer-motion Adds Framer Motion. (Animation library) |
92 | | - --github-actions Adds a GitHub Actions continuous integration workflow. |
93 | | - --material-ui Adds Material UI. (Component library) |
94 | | - --package-manager=(pnpm|yarn|npm) Sets the preferred package manager. (Required) |
95 | | - --prettier Adds Prettier. (Code formatting) |
96 | | - --react-hook-form Adds React Hook Form. (Form library) |
97 | | - --react-icons Adds React Icons. (Icon library) |
98 | | - --styling=<styling-method> Sets the preferred styling method. (Required) <styling-method> = emotion|styled-components|tailwind-css|css-modules|css-modules-with-sass |
| 68 | + APP_NAME The name of your app, optionally including a path prefix. Eg.: "my-app" or "path/to/my-app" |
| 69 | +
|
| 70 | +FLAGS |
| 71 | + -h, --help Shows the CLI help information. |
| 72 | + -v, --version Shows the CLI version information. |
| 73 | + --chakra Adds Chakra UI. (Component library) (Requires Emotion and Framer Motion) |
| 74 | + --debug Show verbose error messages for debugging purposes. |
| 75 | + --formatting-pre-commit-hook Adds a formatting pre-commit hook. (Requires Prettier) |
| 76 | + --formik Adds Formik. (Form library) |
| 77 | + --framer-motion Adds Framer Motion. (Animation library) |
| 78 | + --github-actions Adds a GitHub Actions continuous integration workflow. |
| 79 | + --material-ui Adds Material UI. (Component library) |
| 80 | + --package-manager=<option> Sets the preferred package manager. (Required) |
| 81 | + <options: pnpm|yarn|npm> |
| 82 | + --prettier Adds Prettier. (Code formatting) |
| 83 | + --react-hook-form Adds React Hook Form. (Form library) |
| 84 | + --react-icons Adds React Icons. (Icon library) |
| 85 | + --styling=<styling-method> Sets the preferred styling method. (Required) <styling-method> = emotion|styled-components|tailwind-css|css-modules|css-modules-with-sass |
99 | 86 | ``` |
100 | 87 |
|
101 | 88 | ## Contributing |
|
0 commit comments