Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/herol3oy/my-create-next-app-cli
🔧 Next.js CLI with my favorite configurations
https://github.com/herol3oy/my-create-next-app-cli
cli javascript nextjs nodejs
Last synced: 8 days ago
JSON representation
🔧 Next.js CLI with my favorite configurations
- Host: GitHub
- URL: https://github.com/herol3oy/my-create-next-app-cli
- Owner: herol3oy
- Created: 2023-08-07T15:05:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-10T22:09:01.000Z (9 months ago)
- Last Synced: 2024-02-10T23:22:37.606Z (9 months ago)
- Topics: cli, javascript, nextjs, nodejs
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My customize create-next-app CLI
The CLI creates the latest version of the Next.js app with my favorite configurations that I consistently apply to all my Next.js projects and save 20-30 mins of my time.
- Install `prettier` and add my prettier rules
- Install `prettier-plugin-tailwindcss` and add the plugin to the `.prettier` config file
- Install `eslint-plugin-simple-import-sort` and add the ESLint rules to the `.eslintrc.json`
- Install `husky` and `lint-staged` to automatically apply Prettier and ESLint formatting when committing files## Install
```bash
cd my-create-next-app-cli && npm install
```## Run the cli
```bash
npm link && my-next-js-app projectName
```