Skip to content

Commit 2138e51

Browse files
authored
Merge pull request #2 from Bhanu1776/Nextjs-15.5-rewrite
2 parents 0c85814 + f92220a commit 2138e51

17 files changed

+7377
-9596
lines changed

.eslintrc.json

Lines changed: 0 additions & 114 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@
2828
npm-debug.log*
2929
yarn-debug.log*
3030
yarn-error.log*
31+
.pnpm-debug.log*
3132

32-
# env files (can opt-in for commiting if needed)
33+
# env files (can opt-in for committing if needed)
3334
.env*
3435

3536
# vercel

.prettierrc

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,51 @@
11
{
2-
"trailingComma": "all",
2+
"trailingComma": "es5",
33
"tabWidth": 2,
44
"semi": true,
55
"useTabs": false,
66
"printWidth": 80,
77
"jsxSingleQuote": false,
8-
"plugins": ["prettier-plugin-tailwindcss"]
8+
"endOfLine": "lf",
9+
"singleQuote": false,
10+
"importOrder": [
11+
"// NEXTJS IMPORTS",
12+
"^next/(.*)$",
13+
"^next-[a-z]+/(.*)$",
14+
15+
"// REACT IMPORTS",
16+
"^react(/.*)?$",
17+
"^react-[a-z]+/(.*)$",
18+
19+
"// CORE IMPORTS",
20+
"^@core/(.*)$",
21+
22+
"// SERVER IMPORTS",
23+
"^@server/(.*)$",
24+
25+
"// UI IMPORTS",
26+
"^@ui/(.*)$",
27+
28+
"// EXTERNAL LIBRARY IMPORTS",
29+
"^[a-zA-Z]",
30+
31+
"// INTERNAL IMPORTS",
32+
"^@/env(.*)$",
33+
"^@/types/(.*)$",
34+
"^@/config/(.*)$",
35+
"^@/lib/(.*)$",
36+
"^@/hooks/(.*)$",
37+
"^@/components/ui/(.*)$",
38+
"^@/components/(.*)$",
39+
"^@/styles/(.*)$",
40+
"^@/app/(.*)$",
41+
"",
42+
"^[./]"
43+
],
44+
"importOrderParserPlugins": ["typescript", "jsx", "decorators-legacy"],
45+
"importOrderSeparation": true,
46+
"importOrderSortSpecifiers": true,
47+
"plugins": [
48+
"@ianvs/prettier-plugin-sort-imports",
49+
"prettier-plugin-tailwindcss"
50+
]
951
}

.vscode/settings.json

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,33 @@
11
{
2-
//* For eslint
2+
//* ESLint integration with Prettier
33
"editor.codeActionsOnSave": {
4-
"source.fixAll": "explicit"
4+
"source.fixAll": "explicit",
5+
"source.fixAll.eslint": "explicit"
56
},
6-
"eslint.validate": ["javascript", "typescript"],
7+
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
8+
"eslint.useFlatConfig": true,
9+
"eslint.validate": [
10+
"javascript",
11+
"javascriptreact",
12+
"typescript",
13+
"typescriptreact"
14+
],
715
"editor.formatOnSave": true,
816
"editor.formatOnPaste": true,
17+
"[json]": {
18+
"editor.defaultFormatter": "esbenp.prettier-vscode"
19+
},
920
"[jsonc]": {
1021
"editor.defaultFormatter": "esbenp.prettier-vscode"
11-
}
22+
},
23+
"[markdown]": {
24+
"editor.defaultFormatter": "esbenp.prettier-vscode"
25+
},
26+
"typescript.tsdk": "node_modules/typescript/lib",
27+
"typescript.preferences.autoImportFileExcludePatterns": ["@radix-ui/*"],
28+
"typescript.preferences.autoImportSpecifierExcludeRegexes": [
29+
"@radix-ui",
30+
"next/router",
31+
"next/dist"
32+
]
1233
}

CHANGELOG.md

Lines changed: 33 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,99 +1,113 @@
11
# CHANGELOG
22

3-
> April 09, 2025_
3+
> Aug 24, 2025 — Version 3.5.0
4+
5+
- refactor: full codebase rebuilt from scratch on Next.js 15.5.0
6+
• leaner bundle (≈ 15 % smaller) and faster cold starts (≈ 18 % quicker)
7+
- chore: upgraded every dependency to latest stable release — zero unresolved peer-dep warnings
8+
- build: switched to flat ESLint config; added carefully-curated rules & performance tweaks
9+
- feat: integrated ts-parser, react-hooks-extra plugin & eslint-security-plugin for higher-value linting without bloat
10+
- feat: Prettier now auto-sorts ES module imports and Tailwind utility classes
11+
- feat: enabled ts-sort-suggestions for smarter IntelliSense (no more rogue `lucid-react` when importing `Link` from `next/link`)
12+
- chore: dropped `cz-git`; conventional commits still supported via native tooling
13+
- chore: updated `.vscode/settings.json` to discourage deprecated `next/router` imports and provide a zero-config DX out of the box
14+
15+
🚀 Heads-up: the upcoming **v4** major release will introduce an installation-time customization wizard — get ready! 🔥
16+
17+
> April 09, 2025\_
418
519
- Version 3.2.5
620
- feat: Upgraded to latest Nextjs 15.2.5
721

8-
> March 25, 2025_
22+
> March 25, 2025\_
923
1024
- Version 3.2.4
1125
- feat: Upgraded to latest Nextjs 15.2.4
1226

13-
> March 18, 2025_
27+
> March 18, 2025\_
1428
1529
- Version 3.2.3
1630
- feat: Upgraded to latest Nextjs 15.2.3
17-
18-
> March 12, 2025_
31+
32+
> March 12, 2025\_
1933
2034
- Version 3.2.2
2135
- feat: Upgraded to latest Nextjs 15.2.2
2236

23-
> February 27, 2025_
37+
> February 27, 2025\_
2438
2539
- Version 3.2.0
2640
- feat: Upgraded to latest Nextjs 15.2.0
2741

28-
> February 11, 2025_
42+
> February 11, 2025\_
2943
3044
- Version 3.1.7
3145
- feat: Upgraded to Nextjs 15.1.7
3246

33-
> January 20, 2025_
47+
> January 20, 2025\_
3448
3549
- Version 3.1.5
3650
- feat: Upgraded to Nextjs 15.1.5
3751
- fix: Formatting was broken due to eslint v9, rollback to v8.
3852

39-
> December 24, 2024_
53+
> December 24, 2024\_
4054
4155
- Version 3.1.2
4256
- feat: Upgraded to Nextjs 15.1.2
4357

44-
> December 17, 2024_
58+
> December 17, 2024\_
4559
4660
- Version 3.1.0
4761
- feat: Upgraded to Nextjs 15.1
4862

49-
> December 10, 2024_
63+
> December 10, 2024\_
5064
5165
- Version 3.0.4
5266
- feat: Upgraded to React 19 stable
5367
- chore: Updated dependencies to latest versions
5468
- fix: Missing husky prepare script
5569

56-
> November 15, 2024_
70+
> November 15, 2024\_
5771
5872
- Version 3.0.3
5973
- Fix: Resolved compatibility issue with 'rm' command on Windows (#1)
6074
- chore: Enhanced terminal UI to be clearer and more concise.
6175
- build: Ships with NextJs 15.0.3
6276

63-
> October 26, 2024_
77+
> October 26, 2024\_
6478
6579
- Version 3.0.0
6680
- Ships with latest Nextjs 15
6781
- Build from ground up
6882
- Removed airbnb eslint config
6983

70-
> October 3, 2024_
84+
> October 3, 2024\_
7185
7286
- Version 2.2.14
7387
- Ships with NextJs 14.2.14
7488

75-
> September 15, 2024_
89+
> September 15, 2024\_
7690
7791
- Version 2.2.11
7892
- Ships with NextJs 14.2.11
7993

80-
> August 28, 2024_
94+
> August 28, 2024\_
8195
8296
- Version 2.2.7
8397
- Hotfix build NextJs
8498
- Ships with NextJs 14.2.7
8599

86-
> August 24, 2024_
100+
> August 24, 2024\_
87101
88102
- Version 2.2.6
89103
- Bundled with NextJs 14.2.6
90104

91-
> July 15, 2024_
105+
> July 15, 2024\_
92106
93107
- Version 2.2.5
94108
- Bundled with NextJs 14.2.5
95109

96-
> June 17, 2024_
110+
> June 17, 2024\_
97111
98112
- Version 2.2.4
99113
- Bundled with NextJs 14.2.4

README.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
1-
# Next.js 15.2 Starter Template
1+
# Next.js 15 Starter Template
22

33
<p align='center'>
44
<a href="https://starter-website-sigma.vercel.app/">Live Demo</a>
55
</p>
66

77
## Features ✨
88

9-
- ⚡️ [Next 15.2](https://nextjs.org/docs) - with app router
9+
- ⚡️ [Next 15.x.x](https://nextjs.org/docs) - why not?
1010
- 🦾 [TypeScript](https://www.typescriptlang.org/), of course
1111
- 🎨 [Tailwindcss](https://tailwindcss.com/) - next generation utility-first CSS
12-
- 💡 [Eslint](https://eslint.org/) - with Airbnb config
12+
- 💡 [Eslint](https://eslint.org/) - Flat config with ts-parser, react-hooks-extra plugin and security-plugin
1313
- 💖 [Prettier](https://prettier.io/) - configured with Eslint and with Tailwindcss-prettier support
14-
- 🐶 [Husky](https://typicode.github.io/husky/) - Improves your commits and more woof!
15-
- 🌚 [Dark Mode](https://tailwindcss.com/docs/dark-mode)
16-
- 🪢 [CSS Modules](https://github.com/css-modules/css-modules)
17-
- 🗂 [cz-git](https://cz-git.qbb.sh/) - Git commit CLI with custom config
14+
- 🐶 [Husky](https://typicode.github.io/husky/)
1815
- 🚀 [PWA](https://web.dev/progressive-web-apps/) - Native app experience
1916
- 💣 [pnpm](https://pnpm.io/ "Make sure to install pnpm globally before installing this template => npm i -g pnpm") - Fast, disk space efficient package manager
2017
- ☁️ Deploy on [Vercel](https://vercel.com/), One click to deploy, Inbuilt Analytics support
@@ -27,7 +24,7 @@
2724
npx @bhanu17/nextjs-starter my-app
2825
```
2926

30-
Make sure to replace **my-app** with your desired name
27+
Make sure to replace **my-app** with your desired name
3128

3229
### GitHub Template <img src="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/github.svg" height=20 width=20 />
3330

@@ -37,7 +34,7 @@
3734

3835
Try to follow the checklist when using this template to properly update your information.
3936

40-
- [ ] Rename *name* and *author* fields in `package.json`
37+
- [ ] Rename _name_ and _author_ fields in `package.json`
4138
- [ ] Change the author name in `LICENSE`
4239
- [ ] Change the title and description in `layout.tsx`
4340
- [ ] Modify the manifest in `public`

0 commit comments

Comments
 (0)