Skip to content

Commit f7578cc

Browse files
authored
Merge pull request #20 from doinel1a/chore/upgrade-deps
chore/upgrade deps
2 parents 2d95168 + f97a9cb commit f7578cc

17 files changed

+2256
-2461
lines changed

.eslintignore

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

.eslintrc.cjs

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

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# Vite React TypeScript & Shadcn/ui — Template
2222

2323
This development starter template is the ultimate solution to help you getting started on your project in no time, without the hassle of setting up and configuring your development environment from scratch each time you start working.
24-
This repository is ideal for front-end developers who want to build modern, fast and reliable web applications with the latest cutting edge technologies such as **React.js**, **TypeScript**, **Shadcn/ui**, **TailwindCSS**, **ESLint**, **Prettier**, **Husky**, **Vite** and much more!
24+
This repository is ideal for front-end developers who want to build modern, fast and reliable web applications with the latest cutting edge technologies such as **React 19**, **TypeScript**, **Shadcn/ui**, **TailwindCSS 4**, **ESLint 9**, **Prettier**, **Husky**, **Vite 7** and much more!
2525

2626
---
2727

@@ -74,18 +74,18 @@ This repository is ideal for front-end developers who want to build modern, fast
7474

7575
This repository comes 🔋 packed with:
7676

77-
- **React.js**;
77+
- **React 19**;
7878
- **TypeScript**;
7979
- **Shadcn/ui**;
80-
- **TailwindCSS**;
80+
- **TailwindCSS 4**;
8181
- **SASS** & **SCSS**;
82-
- **ESLint**;
82+
- **ESLint 9**;
8383
- **Prettier**;
8484
- **Husky**;
8585
- **Commitlint**;
8686
- **Lint staged**;
8787
- **Playwright**;
88-
- **Vite**;
88+
- **Vite 7**;
8989

9090
[Back to :arrow_up:](#vite-react-typescript--shadcnui--template "Back to 'Table of contents' section")
9191

@@ -156,3 +156,4 @@ Special thanks to:
156156
- [tandpfun](https://github.com/tandpfun) for [skill-icons](https://github.com/tandpfun/skill-icons);
157157

158158
[Back to :arrow_up:](#vite-react-typescript--shadcnui--template "Back to 'Table of contents' section")
159+

_config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const config = {
22
metadata: {
33
title: 'Vite React.js TypeScript & Shadcn/ui — Template',
44
description:
5-
'Boilerplate template designed to quickly bootstrap a React.js Web App, SPA, website or landing page with TypeScript, Shadcn/ui, TailwindCSS, Vite, SWC, ESLint, Husky and much more in just 30 seconds.',
5+
'Boilerplate template designed to quickly bootstrap a React.js Web App, SPA, website or landing page with React 19, TypeScript, Shadcn/ui, TailwindCSS 4, Vite 7, SWC, ESLint 9, Husky and much more in just 30 seconds.',
66
keywords:
77
'react.js, react.js-template, react.js-boilerplate, typescript, shadcn/ui, tailwindcss, vite, swc, eslint, prettier, husky, commitlint, lint-staged'
88
},
@@ -13,3 +13,4 @@ const config = {
1313
};
1414

1515
export default config;
16+

eslint.config.js

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
import prettierConfig from 'eslint-config-prettier/flat';
2+
import prettierPlugin from 'eslint-plugin-prettier/recommended';
3+
import sonarjs from 'eslint-plugin-sonarjs';
4+
import unicorn from 'eslint-plugin-unicorn';
5+
import tseslint from 'typescript-eslint';
6+
7+
export default tseslint.config(
8+
{
9+
ignores: ['dist']
10+
},
11+
prettierConfig,
12+
prettierPlugin,
13+
sonarjs.configs.recommended,
14+
unicorn.configs.recommended,
15+
{
16+
files: ['**/*.ts', '**/*.tsx'],
17+
extends: [
18+
...tseslint.configs.strict,
19+
...tseslint.configs.strictTypeChecked,
20+
...tseslint.configs.stylistic,
21+
...tseslint.configs.stylisticTypeChecked
22+
],
23+
rules: {
24+
'@typescript-eslint/array-type': 'off',
25+
'@typescript-eslint/consistent-type-definitions': 'off',
26+
'@typescript-eslint/consistent-type-imports': [
27+
'warn',
28+
{ prefer: 'type-imports', fixStyle: 'inline-type-imports' }
29+
],
30+
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
31+
'@typescript-eslint/require-await': 'off',
32+
'@typescript-eslint/no-misused-promises': [
33+
'error',
34+
{ checksVoidReturn: { attributes: false } }
35+
]
36+
}
37+
},
38+
{
39+
linterOptions: {
40+
reportUnusedDisableDirectives: true
41+
},
42+
languageOptions: {
43+
parserOptions: {
44+
projectService: true
45+
}
46+
}
47+
},
48+
{
49+
rules: {
50+
'unicorn/no-null': 'off'
51+
}
52+
}
53+
);
54+

package.json

Lines changed: 34 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -23,56 +23,49 @@
2323
"test:ui": "playwright test --ui"
2424
},
2525
"dependencies": {
26-
"@fortawesome/fontawesome-svg-core": "^6.7.2",
27-
"@fortawesome/free-brands-svg-icons": "^6.7.2",
28-
"@fortawesome/free-regular-svg-icons": "^6.7.2",
29-
"@fortawesome/free-solid-svg-icons": "^6.7.2",
30-
"@fortawesome/react-fontawesome": "^0.2.2",
31-
"@radix-ui/react-dropdown-menu": "^2.1.6",
32-
"@radix-ui/react-slot": "^1.1.2",
26+
"@radix-ui/react-dropdown-menu": "^2.1.15",
27+
"@radix-ui/react-slot": "^1.2.3",
3328
"class-variance-authority": "^0.7.1",
3429
"clsx": "^2.1.1",
35-
"lucide-react": "^0.479.0",
36-
"react": "^19.0.0",
37-
"react-dom": "^19.0.0",
38-
"react-router-dom": "^7.3.0",
39-
"tailwind-merge": "^3.0.2",
40-
"tailwindcss-animate": "^1.0.7"
30+
"lucide-react": "^0.525.0",
31+
"react": "^19.1.0",
32+
"react-dom": "^19.1.0",
33+
"react-router-dom": "^7.7.0",
34+
"tailwind-merge": "^3.3.1"
4135
},
4236
"devDependencies": {
43-
"@builder.io/partytown": "^0.10.3",
44-
"@commitlint/cli": "^19.8.0",
45-
"@commitlint/config-conventional": "^19.8.0",
46-
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
47-
"@playwright/test": "^1.51.0",
37+
"@commitlint/cli": "^19.8.1",
38+
"@commitlint/config-conventional": "^19.8.1",
39+
"@eslint/eslintrc": "^3.3.1",
40+
"@ianvs/prettier-plugin-sort-imports": "^4.5.1",
41+
"@playwright/test": "^1.54.1",
42+
"@tailwindcss/postcss": "^4.1.11",
4843
"@total-typescript/ts-reset": "^0.6.1",
49-
"@types/node": "^22.13.9",
50-
"@types/react": "^19.0.10",
51-
"@types/react-dom": "^19.0.4",
44+
"@types/node": "^24.1.0",
45+
"@types/react": "^19.1.8",
46+
"@types/react-dom": "^19.1.6",
5247
"@types/react-router-dom": "^5.3.3",
53-
"@typescript-eslint/eslint-plugin": "^8.26.0",
54-
"@typescript-eslint/parser": "^8.26.0",
55-
"@vitejs/plugin-react-swc": "^3.8.0",
56-
"autoprefixer": "^10.4.20",
57-
"cssnano": "^7.0.6",
58-
"eslint": "^8.57.0",
59-
"eslint-config-prettier": "^10.1.1",
48+
"@vitejs/plugin-react-swc": "^3.11.0",
49+
"cssnano": "^7.1.0",
50+
"eslint": "^9.31.0",
51+
"eslint-config-prettier": "^10.1.8",
6052
"eslint-plugin-jsx-a11y": "^6.10.2",
61-
"eslint-plugin-prettier": "^5.2.3",
62-
"eslint-plugin-promise": "^7.2.1",
63-
"eslint-plugin-react": "^7.37.4",
53+
"eslint-plugin-prettier": "^5.5.3",
54+
"eslint-plugin-react": "^7.37.5",
6455
"eslint-plugin-react-hooks": "^5.2.0",
65-
"eslint-plugin-sonarjs": "^0.25.1",
66-
"eslint-plugin-unicorn": "^56.0.1",
56+
"eslint-plugin-sonarjs": "^3.0.4",
57+
"eslint-plugin-unicorn": "^60.0.0",
6758
"husky": "^9.1.7",
68-
"lint-staged": "^15.4.3",
69-
"postcss": "^8.5.3",
70-
"prettier": "^3.5.3",
71-
"prettier-plugin-tailwindcss": "^0.6.11",
72-
"sass": "^1.85.1",
73-
"tailwindcss": "^3.4.17",
74-
"typescript": "^5.8.2",
75-
"vite": "^6.2.1"
59+
"lint-staged": "^16.1.2",
60+
"postcss": "^8.5.6",
61+
"prettier": "^3.6.2",
62+
"prettier-plugin-tailwindcss": "^0.6.14",
63+
"sass": "^1.89.2",
64+
"tailwindcss": "^4.1.11",
65+
"tw-animate-css": "^1.3.5",
66+
"typescript": "^5.8.3",
67+
"typescript-eslint": "^8.38.0",
68+
"vite": "^7.0.5"
7669
},
7770
"lint-staged": {
7871
"src/**/*.{html,css,scss,ts,tsx}": "npx prettier --write",

0 commit comments

Comments
 (0)