Skip to content

Commit 15d6dcb

Browse files
committed
build: Upstream to Next.js 15.0.0
- Rebase package from ground up. - Dropped eslint-airbnb config.
1 parent 9de8cca commit 15d6dcb

23 files changed

Lines changed: 10931 additions & 3088 deletions

.cz-config.js

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

.eslintrc.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"extends": [
33
"next/core-web-vitals",
4-
"airbnb",
5-
"airbnb-typescript",
4+
"next/typescript",
65
"plugin:prettier/recommended"
76
],
87
"parserOptions": {

.gitignore

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
# dependencies
44
/node_modules
55
/.pnp
6-
.pnp.js
6+
.pnp.*
7+
.yarn/*
8+
!.yarn/patches
9+
!.yarn/plugins
10+
!.yarn/releases
11+
!.yarn/versions
712

813
# testing
914
/coverage
@@ -24,20 +29,12 @@ npm-debug.log*
2429
yarn-debug.log*
2530
yarn-error.log*
2631

27-
# local env files
28-
.env*.local
32+
# env files (can opt-in for commiting if needed)
33+
.env*
2934

3035
# vercel
3136
.vercel
3237

3338
# typescript
3439
*.tsbuildinfo
3540
next-env.d.ts
36-
37-
# PWA Files
38-
**/public/sw.js
39-
**/public/workbox-*.js
40-
**/public/worker-*.js
41-
**/public/sw.js.map
42-
**/public/workbox-*js.map
43-
**/public/worker-*.js.map

.husky/pre-commit

100755100644
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
npm run lint

.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@bhanu1776:registry=https://npm.pkg.github.com
1+
@bhanu1776:registry=https://npm.pkg.github.com

.prettierrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"tabWidth": 2,
44
"semi": true,
55
"useTabs": false,
6-
"singleQuote": true,
76
"printWidth": 80,
87
"jsxSingleQuote": false,
98
"plugins": ["prettier-plugin-tailwindcss"]

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
//* For eslint-airbnb
2+
//* For eslint
33
"editor.codeActionsOnSave": {
44
"source.fixAll": "explicit"
55
},

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
> October 26, 2024_
4+
5+
- Version 3.0.0
6+
- Ships with latest Nextjs 15
7+
- Build from ground up
8+
- Removed airbnb eslint config
9+
310
> October 3, 2024_
411
512
- Version 2.2.14

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Next.js 14 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 14](https://nextjs.org/docs) - with app router
9+
- ⚡️ [Next 15](https://nextjs.org/docs) - with app router
1010
- 🦾 [TypeScript](https://www.typescriptlang.org/), of course
1111
- 🎨 [Tailwindcss](https://tailwindcss.com/) - next generation utility-first CSS
1212
- 💡 [Eslint](https://eslint.org/) - with Airbnb config
@@ -31,7 +31,7 @@
3131

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

34-
[Create a repo from this template on GitHub](https://github.com/Bhanu1776/Nextjs14-Starter-Template/generate).
34+
[Create a repo from this template on GitHub](https://github.com/Bhanu1776/Nextjs15-Starter-Template/generate).
3535

3636
## Checklist ✅
3737

@@ -69,6 +69,6 @@ Therefore, I created this template for myself to make creating apps easier, alon
6969
<hr>
7070

7171
© 2023 Bhanu Sunka
72-
This project is licensed under the [**MIT license**](https://github.com/Bhanu1776/Nextjs14-Starter-Template/blob/master/LICENSE).
72+
This project is licensed under the [**MIT license**](https://github.com/Bhanu1776/Nextjs15-Starter-Template/blob/master/LICENSE).
7373

7474
[![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://forthebadge.com)

bin/cli.js

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/usr/bin/env node
22

3-
const { execSync } = require('child_process');
3+
const { execSync } = require("child_process");
44

55
const runCommand = (command) => {
66
try {
7-
execSync(`${command}`, { stdio: 'inherit' });
7+
execSync(`${command}`, { stdio: "inherit" });
88
} catch (err) {
99
console.error(err);
1010
return false;
@@ -13,24 +13,22 @@ const runCommand = (command) => {
1313
};
1414

1515
const repoName = process.argv[2];
16-
const gitCheckoutCommand = `git clone https://github.com/Bhanu1776/Nextjs14-Starter-Template.git ${repoName}`;
16+
const gitCheckoutCommand = `git clone https://github.com/Bhanu1776/Nextjs15-Starter-Template.git ${repoName}`;
1717
const installDepsCommand = `cd ${repoName} && rm -rf bin .github && rm .npmrc CHANGELOG.md && npm install `;
1818

1919
console.log(`Init project '${repoName}' ✨`);
2020
const checkedOut = runCommand(gitCheckoutCommand);
2121
if (!checkedOut) process.exit(-1);
2222

23-
console.log('Installing dependencies...🔥');
23+
console.log("Installing dependencies...🔥");
2424
const installDeps = runCommand(installDepsCommand);
2525
if (!installDeps) process.exit(-1);
2626

27-
console.log(
28-
'SaxX! You are ready. Follow the following commands to start 🚀'
29-
);
30-
console.log('');
27+
console.log("SaxX! You are ready. Follow the following commands to start 🚀");
28+
console.log("");
3129
console.log(`Make sure you follow below steps to start fresh:`);
3230
console.log(`- Rename 'name' and 'author' fields in package.json`);
3331
console.log(`- Change the author name in "LICENSE"`);
3432
console.log(`- Change the title and description in "layout.tsx"`);
3533
console.log(`- Modify the 'manifest' in public folder`);
36-
console.log(`- Clean up the "README.md"`);
34+
console.log(`- Clean up the "README.md"`);

0 commit comments

Comments
 (0)