Skip to content

Commit 9dd2bfe

Browse files
Merge pull request #87 from IgnacioNMiranda/chore/update-deps
chore: update dependencies
2 parents b71fbab + 4eb44bc commit 9dd2bfe

File tree

19 files changed

+3765
-9729
lines changed

19 files changed

+3765
-9729
lines changed

.eslintrc.js

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ dist-ssr
1515
# Editor directories and files
1616
.vscode/*
1717
!.vscode/extensions.json
18+
!.vscode/settings.json
1819
.idea
1920
.DS_Store
2021
*.suo

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v16.18.1
1+
v22.16.0

.prettierrc

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

.storybook/main.ts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
import type { StorybookConfig } from '@storybook/react-vite'
2+
23
const config: StorybookConfig = {
34
stories: ['../src/**/*.stories.@(js|jsx|ts|tsx)'],
4-
addons: [
5-
'@storybook/addon-links',
6-
'@storybook/addon-essentials',
7-
'@storybook/addon-interactions',
8-
'@storybook/addon-styling',
9-
],
5+
addons: ['@storybook/addon-links', '@storybook/addon-themes', '@storybook/addon-docs'],
106
framework: {
117
name: '@storybook/react-vite',
128
options: {
@@ -15,8 +11,6 @@ const config: StorybookConfig = {
1511
},
1612
},
1713
},
18-
docs: {
19-
autodocs: 'tag',
20-
},
2114
}
15+
2216
export default config

.storybook/preview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Preview } from '@storybook/react'
1+
import type { Preview } from '@storybook/react-vite'
22
import '../src/lib/tailwind/theme.css'
33

44
const preview: Preview = {

.storybook/vite.config.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
import react from '@vitejs/plugin-react'
2+
import type { UserConfigExport } from 'vite'
23
import { defineConfig } from 'vitest/config'
3-
import tailwindcss from 'tailwindcss'
4-
import { UserConfigExport } from 'vite'
54

65
const app = async (): Promise<UserConfigExport> => {
76
return defineConfig({
87
plugins: [react()],
9-
css: {
10-
postcss: {
11-
plugins: [tailwindcss],
12-
},
13-
},
148
})
159
}
1610
// https://vitejs.dev/config/

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["biomejs.biome"]
3+
}

.vscode/settings.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"[javascript]": {
3+
"editor.defaultFormatter": "biomejs.biome",
4+
"editor.formatOnSave": true,
5+
"files.insertFinalNewline": true,
6+
"editor.tabSize": 2
7+
},
8+
"[typescript]": {
9+
"editor.defaultFormatter": "biomejs.biome",
10+
"editor.codeActionsOnSave": {
11+
"source.fixAll.biome": "explicit",
12+
"source.organizeImports.biome": "explicit"
13+
},
14+
"editor.formatOnSave": true,
15+
"files.insertFinalNewline": true,
16+
"editor.tabSize": 2
17+
},
18+
"[json]": {
19+
"editor.defaultFormatter": "biomejs.biome",
20+
"editor.formatOnSave": true,
21+
}
22+
}

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22

33
## Features
44

5-
- ⚛️ [React 18](https://reactjs.org/)
6-
- 📚 [Storybook 7](https://storybook.js.org/) - Components preview
7-
- 🖌️ [Tailwind CSS 3](https://tailwindcss.com/)
5+
- ♥️ [Node 22](https://nodejs.org/en/download)
6+
- ⚛️ [React 19](https://reactjs.org/)
7+
- 📚 [Storybook 9](https://storybook.js.org/) - Components preview
8+
- 🖌️ [Tailwind CSS 4](https://tailwindcss.com/)
89
-[Vite](https://vitejs.dev/) - Run and build the project blazingly fast!
910
-[Vitest](https://vitest.dev/) - Components Unit Testing
10-
- 📐 [ESLint](https://eslint.org/) & [Prettier](https://prettier.io/) - Formatting and Linting
11+
- 📐 [Biome](https://biomejs.dev/) - Formatting and Linting
1112
- 🌟 [Typescript](https://www.typescriptlang.org/)
1213
- 🐶 [Husky](https://typicode.github.io/husky) & [Lint Staged](https://www.npmjs.com/package/lint-staged) - Pre-commit Hooks
1314
-[Release Please](https://github.com/googleapis/release-please) — Generate the changelog with the release-please workflow
@@ -19,7 +20,6 @@
1920
1. Create a new repository using this one as template
2021
2. Clone your repo
2122
3. Install dependencies with `pnpm i` (first run `corepack enable` to enable pnpm)
22-
4. Run `pnpm prepare` command to setup [Husky](https://typicode.github.io/husky) pre-commit hooks.
2323

2424
## Main Scripts
2525

@@ -28,8 +28,8 @@ Always prepending pnpm:
2828
- `dev`: Bootstrap the Storybook preview with Hot Reload.
2929
- `build`: Builds the static storybook project.
3030
- `build:lib`: Builds the component library into the **dist** folder.
31-
- `lint:fix`: Applies linting based on the rules defined in **.eslintrc.js**.
32-
- `format:prettier`: Formats files using the prettier rules defined in **.prettierrc**.
31+
- `lint`: Applies linting based on the rules defined in **biome.json**.
32+
- `format`: Formats files using the biome rules defined in **biome.json**.
3333
- `test`: Runs testing using watch mode.
3434
- `test:cov`: Runs testing displaying a coverage report.
3535

0 commit comments

Comments
 (0)