Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
238 commits
Select commit Hold shift + click to select a range
8f85a07
Add files for fix local branch 🥦
jpcmf Sep 26, 2025
cdad2ea
refactor: ESLint configuration to define config array and improve rea…
jpcmf Sep 26, 2025
3d5f3ae
chore: add ESLint packages to devDependencies for improved linting su…
jpcmf Sep 26, 2025
4ad7df1
style: format file for improved readability
jpcmf Sep 26, 2025
02852e1
chore: update changelog 🚀
jpcmf Sep 26, 2025
a2c147f
0.1.33
jpcmf Sep 26, 2025
f176fb6
Merge pull request #121 from jpcmf/fix/branches
jpcmf Sep 26, 2025
35818c3
feat: add ESLint configuration for sort import
jpcmf Oct 7, 2025
d60849b
style: clean up comments
jpcmf Oct 7, 2025
6ad934c
style: remove unnecessary whitespace
jpcmf Oct 7, 2025
2a7ae72
fix: add lock file
jpcmf Oct 7, 2025
4adeddd
fix: package and lock file
jpcmf Oct 7, 2025
35c5f9c
fix: add lock file
jpcmf Oct 7, 2025
b7e18b1
fix: add package manager specification
jpcmf Oct 7, 2025
9928ed7
fix: update package manager version to pnpm@9.15.9
jpcmf Oct 7, 2025
af79cef
fix: update ESLint configuration imports and add new dependencies
jpcmf Oct 7, 2025
dee25ef
fix: add step to install Vercel CLI in deployment workflow
jpcmf Oct 7, 2025
cf986fb
refactor: reorganize imports
jpcmf Oct 7, 2025
4daf7e3
fix: reorder imports
jpcmf Oct 7, 2025
56db43d
fix: project imports
jpcmf Oct 7, 2025
4f73c3b
fix: wrap Component in QueryProvider and Layout for improved context …
jpcmf Oct 7, 2025
5f1f6cd
Merge pull request #122 from jpcmf/chore/eslint-setup
jpcmf Oct 8, 2025
a68003f
fix: update GeneralPage
jpcmf Oct 9, 2025
4a310fa
feat: add SpotsPage component
jpcmf Oct 9, 2025
5044f05
fix: remove unused Layout component and clean up imports in UserEdit …
jpcmf Oct 9, 2025
2aca6ca
refactor: clean up imports and remove unused code in Skatistas component
jpcmf Oct 9, 2025
ef8bdec
fix: update user status for stories in SkateHubStories component
jpcmf Oct 9, 2025
3fabf31
refactor: remove unused icons and clean up SidebarNav component
jpcmf Oct 9, 2025
476f931
fix: simplify login button in Header component
jpcmf Oct 9, 2025
329567d
refactor: remove unused imports
jpcmf Oct 9, 2025
0e48974
fix: reorder import statements
jpcmf Oct 9, 2025
844ccaa
fix: log error in AuthProvider during user data loading
jpcmf Oct 9, 2025
ebd349a
fix: remove unused showLogoData prop from LogoSkateHub component
jpcmf Oct 9, 2025
d3eac11
fix: reorder import statements and remove unused user variable in Hea…
jpcmf Oct 9, 2025
95029ed
fix: log error in Confirmation component during email confirmation pr…
jpcmf Oct 9, 2025
0308666
feat: add Footer component to Layout for improved site structure
jpcmf Oct 11, 2025
16b0dfc
fix: refactor Layout component structure for improved responsiveness
jpcmf Oct 14, 2025
4918bf8
fix: standardize import statement quotes
jpcmf Oct 14, 2025
3eaf73f
fix: standardize import statement quotes
jpcmf Oct 14, 2025
81324e2
refactor: remove commented-out code and unused variables
jpcmf Oct 14, 2025
ede6df1
fix: streamline promise handling and clean up ReusableModal props
jpcmf Oct 14, 2025
977e454
fix: update global styles for layout consistency
jpcmf Oct 14, 2025
cea1e50
fix: enhance pagination controls and improve layout consistency
jpcmf Oct 14, 2025
5cecdad
feat: implement login modal with reCAPTCHA and authentication handling
jpcmf Oct 14, 2025
9767eb0
refactor: remove LoginPage component and associated logic
jpcmf Oct 14, 2025
6f6bbad
feat: replace Chakra UI Avatar with Boring Avatars
jpcmf Oct 14, 2025
f1476ea
feat: integrate Boring Avatars for user profile display
jpcmf Oct 14, 2025
faeaaa6
feat: add color prop to LogoSkateHub component for customizable SVG fill
jpcmf Oct 14, 2025
efb869a
refactor: clean up imports and adjust SidebarNav component styling
jpcmf Oct 14, 2025
f83ec7f
refactor: update UserCard component styling and improve button functi…
jpcmf Oct 14, 2025
5f522fe
refactor: redesign Footer component layout and enhance content structure
jpcmf Oct 14, 2025
879b2fa
refactor: format import statement
jpcmf Oct 14, 2025
c4b226a
refactor: update Header component to include login modal and improve …
jpcmf Oct 14, 2025
5b5eb37
refactor: streamline ReusableModal component by consolidating imports…
jpcmf Oct 14, 2025
0e31a19
refactor: format import statements
jpcmf Oct 14, 2025
6e6cc61
refactor: remove title prop
jpcmf Oct 14, 2025
b950533
fix: add lock file
jpcmf Oct 14, 2025
1cfe1d3
fix: add missing prebuild script and unused imports plugin
jpcmf Oct 14, 2025
2d7f027
fix: add unused imports plugin and related rules to ESLint configuration
jpcmf Oct 14, 2025
b518d60
fix: update pre-commit hook to use pnpm for formatting and import for…
jpcmf Oct 14, 2025
b339fae
fix: add padding to Footer component for improved layout
jpcmf Oct 17, 2025
2ac10cd
fix: remove unnecessary whitespace in Footer component
jpcmf Oct 17, 2025
79d4221
fix: correct capitalization in heading and add margin
jpcmf Oct 17, 2025
7c99ea5
fix: update properties for styling
jpcmf Oct 17, 2025
9b51078
fix: refactor SignIn component
jpcmf Oct 17, 2025
f5a290f
fix: remove shadow
jpcmf Oct 17, 2025
5bee734
fix: remove shadow
jpcmf Oct 17, 2025
c440b18
fix: enforce required fields for city, uf, and country in sign-up schema
jpcmf Oct 19, 2025
56895a2
fix: refactor sign-up component to streamline reCAPTCHA handling and …
jpcmf Oct 19, 2025
5856749
fix: clean up
jpcmf Oct 19, 2025
34c9093
fix: update layout and improve button alignment in forgot password form
jpcmf Oct 19, 2025
98c0431
fix: change toast position from bottom-right to top-right
jpcmf Oct 21, 2025
44b5fcc
fix: enhance reCAPTCHA handling and improve user feedback during sign-in
jpcmf Oct 21, 2025
0ecbe7f
fix: reduce spacing in SidebarNav component for improved layout
jpcmf Oct 23, 2025
f3026c7
fix: remove unnecessary text from footer component
jpcmf Oct 23, 2025
69a0524
fix: add missing semicolon in error handling of AuthProvider
jpcmf Oct 23, 2025
453c5cf
fix: remove unused import of NextAuth in next-auth type definitions
jpcmf Oct 23, 2025
3696cce
feat: implement SkatistasHome and StoriesHome components for user and…
jpcmf Oct 24, 2025
66a724b
fix: standardize quotation marks
jpcmf Oct 24, 2025
557c950
refactor: rename SkateHubStories to StoriesSwiper and clean up unused…
jpcmf Oct 24, 2025
f7e32ad
fix: standardize import quotation marks
jpcmf Oct 24, 2025
dc18cd6
fix: update footer links to correct paths and standardize hover colors
jpcmf Oct 24, 2025
71e9a65
fix: add margin-bottom to Box component in SpotsPage for improved layout
jpcmf Oct 24, 2025
93f3db0
fix: update component alignment
jpcmf Oct 29, 2025
89f49bd
feat: add Select component with error handling and customizable props
jpcmf Oct 29, 2025
58c95db
fix: update Avatar variant
jpcmf Oct 31, 2025
1159bac
fix: update direction and add gap for responsive layout
jpcmf Oct 31, 2025
f0a750f
Merge pull request #123 from jpcmf/improvement/interface
jpcmf Oct 31, 2025
adee94b
feat: add category definition and remove unused type
jpcmf Oct 31, 2025
ded570c
feat: add UserBasicsWithPagination type definition and category defin…
jpcmf Oct 31, 2025
0309ee3
feat: include category population in getCustomUsersWithPagination
jpcmf Oct 31, 2025
b51a3fd
feat: add category field to User type and update UpdateUserData struc…
jpcmf Oct 31, 2025
a0bd6c2
fix: update import path for UserBasicsWithPagination type
jpcmf Oct 31, 2025
16bf82c
feat: refactor updateUserProfile to use JSON payload and include cate…
jpcmf Nov 2, 2025
dc072d0
fix: correct import path for UserBasicsWithPagination type
jpcmf Nov 2, 2025
8f6f425
feat: update sign-up form to include category selection
jpcmf Nov 2, 2025
8987868
feat: enhance user edit form with category selection and validation
jpcmf Nov 2, 2025
a53f1f9
feat: increase default page size to improve user experience
jpcmf Nov 2, 2025
8309604
feat: add additional user stories and adjust avatar size in StoriesSw…
jpcmf Nov 2, 2025
ba3ac3a
feat: enhance UserCard component with category display and improved b…
jpcmf Nov 2, 2025
65a67f8
0.1.34
jpcmf Nov 2, 2025
9ee0dc0
0.1.35
jpcmf Nov 2, 2025
a1b3f54
feat: update README
jpcmf Nov 2, 2025
479f6fb
feat: enable buttons in UserCard component for authenticated users
jpcmf Nov 2, 2025
35d49ee
fix: correct error handling for username field in UserEdit form
jpcmf Nov 2, 2025
1e8e22c
feat: update sign-up form to use category from constants and fix rela…
jpcmf Nov 4, 2025
2f46e40
refactor: simplify category assignment in sign-up form
jpcmf Nov 4, 2025
4efc014
refactor: move categories to constants for better maintainability
jpcmf Nov 4, 2025
349c082
feat: add categories constant for improved maintainability
jpcmf Nov 4, 2025
0f7498f
fix: ensure category is correctly assigned during user data update
jpcmf Nov 4, 2025
5dea4aa
fix: update category assignment in sign-up form to use selected categ…
jpcmf Nov 4, 2025
5476cd2
Merge pull request #124 from jpcmf/feat/add-category-field
jpcmf Nov 4, 2025
3ad1de4
feat: add validation rules and messages for user input validation
jpcmf Nov 4, 2025
878805b
fix: standardize quotes
jpcmf Nov 4, 2025
e0de864
fix: update sign-in form validation messages to use constants
jpcmf Nov 4, 2025
dceeaa7
fix: update password minimum length and standardize validation messages
jpcmf Nov 4, 2025
56c661e
fix: standardize validation messages in sign-up schema
jpcmf Nov 4, 2025
3cc007f
fix: add ABOUT validation rule and message for maximum length
jpcmf Nov 4, 2025
28e18b3
fix: standardize validation messages in user edit form schema
jpcmf Nov 4, 2025
8b2c6b3
fix: standardize email validation message in forgot password form schema
jpcmf Nov 4, 2025
73766ca
fix: format import statement
jpcmf Nov 4, 2025
b14a471
0.1.36
jpcmf Nov 4, 2025
4faacdc
feat: update README
jpcmf Nov 4, 2025
f5fb9f7
fix: update validation rules in sign-up schema
jpcmf Nov 4, 2025
cfc090a
Merge pull request #125 from jpcmf/improvement/validation-messages
jpcmf Nov 4, 2025
bf71357
feat: implement getUser function to fetch user data from API
jpcmf Nov 4, 2025
c44925d
feat: add useUser hook to fetch user data with React Query
jpcmf Nov 4, 2025
f914bad
fix: standardize import
jpcmf Nov 5, 2025
bf33e52
feat: add UserProfile component to display user information
jpcmf Nov 5, 2025
cfd5f82
feat: create SkateHubProfilePage
jpcmf Nov 5, 2025
15e8be8
fix: enhance getUser function with error handling and type definition
jpcmf Nov 5, 2025
192d234
fix: standardize import
jpcmf Nov 5, 2025
c2207ea
fix: add router readiness check and type validation
jpcmf Nov 5, 2025
180d30b
feat: add functions to open Instagram and website URLs
jpcmf Nov 5, 2025
b9700d0
feat: integrate social media links with open functions and update car…
jpcmf Nov 5, 2025
19a3823
refactor: clean up
jpcmf Nov 5, 2025
7e78c95
fix: remove unnecessary line
jpcmf Nov 5, 2025
2043021
0.1.37
jpcmf Nov 5, 2025
e21dec5
feat: update README
jpcmf Nov 5, 2025
08ff0fc
Merge pull request #126 from jpcmf/feat/create-user-profile-page
jpcmf Nov 5, 2025
d1e34c2
refactor: enhance UserEdit form layout and structure
jpcmf Nov 5, 2025
1dea186
refactor: improve layout and structure of SpotsPage component
jpcmf Nov 5, 2025
d0d20fd
refactor: update Heading size in StoriesHome component for improved v…
jpcmf Nov 5, 2025
75679d4
refactor: enhance Profile component with color mode toggle functionality
jpcmf Nov 5, 2025
98fd3f4
refactor: improve UserCard component with link integration and color …
jpcmf Nov 6, 2025
b5df361
refactor: update Footer component with dynamic background and button …
jpcmf Nov 6, 2025
0abd744
refactor: update LoginModal component with dynamic background and but…
jpcmf Nov 6, 2025
657bc4d
refactor: update component to use dynamic avatar images and improve b…
jpcmf Nov 7, 2025
bfbcda4
refactor: update component to use dynamic background color and reorga…
jpcmf Nov 7, 2025
b879418
refactor: update component with dynamic background colors and improve…
jpcmf Nov 7, 2025
0cbee3b
refactor: remove unnecessary line
jpcmf Nov 7, 2025
738e2f1
refactor: update component
jpcmf Nov 7, 2025
d5dbb6d
refactor: enhance theme configuration and update global styles for dy…
jpcmf Nov 7, 2025
ac122d4
refactor: add type definitions and utility functions for category man…
jpcmf Nov 7, 2025
ed133ac
refactor: add const to the lib folder
jpcmf Nov 7, 2025
2f0b497
refactor: update import paths for validation messages and categories …
jpcmf Nov 7, 2025
e4056f2
refactor: import validation messages and categories from the lib folder
jpcmf Nov 7, 2025
03bbdcd
refactor: update category validation to use enum and improve category…
jpcmf Nov 7, 2025
2e53cc5
refactor: add missing id field to category
jpcmf Nov 7, 2025
5c35fb5
refactor: update heading background color to use dynamic color mode v…
jpcmf Nov 7, 2025
a08d524
refactor: update background color to use dynamic color mode value
jpcmf Nov 7, 2025
10dd554
refactor: format import statements
jpcmf Nov 7, 2025
6c4b677
refactor: simplify avatar rendering and update gradient
jpcmf Nov 7, 2025
f12ee29
fix: correct zIndex value
jpcmf Nov 9, 2025
2cd234a
fix: remove space
jpcmf Nov 9, 2025
2cdec7c
refactor: update UserEdit component to use dynamic color mode values …
jpcmf Nov 9, 2025
f5e98af
refactor: rename button background color variable and add primary tex…
jpcmf Nov 9, 2025
f5d65db
fix: add missing semicolon
jpcmf Nov 9, 2025
ee783e6
refactor: simplify login button handling and improve button styling i…
jpcmf Nov 9, 2025
2e385b3
refactor: streamline signup button handling and remove commented code…
jpcmf Nov 9, 2025
34d150a
refactor: clean up
jpcmf Nov 9, 2025
f062ff4
refactor: enhance form components with color mode support and improve…
jpcmf Nov 9, 2025
03437c8
refactor: update signup button styling for improved visibility and re…
jpcmf Nov 9, 2025
14d46d7
refactor: update button styling
jpcmf Nov 9, 2025
3263735
refactor: update button styles
jpcmf Nov 9, 2025
3f81059
refactor: enhance with color mode support
jpcmf Nov 9, 2025
1827f1f
refactor: adjust margin-top
jpcmf Nov 9, 2025
fdc0ae6
refactor: improve readability of recaptcha execution logic
jpcmf Nov 9, 2025
cb5b887
refactor: enhance UI with color mode support and improve layout struc…
jpcmf Nov 9, 2025
0fa841e
feat: add TitleSection component
jpcmf Nov 9, 2025
bd87578
refactor: standardize import statement quotes
jpcmf Nov 9, 2025
fbccaaf
refactor: update link text
jpcmf Nov 9, 2025
c1f4185
refactor: replace heading components with TitleSection for consistenc…
jpcmf Nov 9, 2025
30fc58c
Merge pull request #127 from jpcmf/improvement/interface-2
jpcmf Nov 10, 2025
8f73b61
fix: specify exact versions for dependencies to ensure consistency
jpcmf Nov 12, 2025
3027040
refactor: streamline ESLint configuration by removing unused imports …
jpcmf Nov 12, 2025
0f358b7
refactor: format tsconfig.json for improved readability and consistency
jpcmf Nov 12, 2025
73c78a4
refactor: move OverlayOne component outside of ReusableModal for impr…
jpcmf Nov 12, 2025
f57db23
feat: add Next.js configuration for sitemap rewrites
jpcmf Nov 14, 2025
b166d50
Merge pull request #128 from jpcmf/chore/upgrade-nextjs
jpcmf Nov 14, 2025
61f7a69
0.2.0
jpcmf Nov 14, 2025
89db339
chore: update changelog
jpcmf Nov 14, 2025
a83782a
Merge pull request #129 from jpcmf/docs/README
jpcmf Nov 17, 2025
84d19ea
fix: update sidebar navigation titles and spacing for improved layout
jpcmf Nov 28, 2025
d4af916
fix: clean up code
jpcmf Nov 28, 2025
bd7e84c
Merge pull request #130 from jpcmf/improvement/side-bar-responsive
jpcmf Nov 28, 2025
5d996bc
feat: add getStories and getStoriesByUserId functions for story retri…
jpcmf Dec 7, 2025
d759211
feat: add modal theme configuration for Chakra UI
jpcmf Dec 7, 2025
ec41e86
feat: update Modal component to use modalTheme from lib/theme
jpcmf Dec 7, 2025
0c2a968
feat: add hooks for story retrieval by user ID and general stories
jpcmf Dec 7, 2025
8910d52
feat: implement StoriesModal component for user story display
jpcmf Dec 7, 2025
6c1e938
feat: integrate story data retrieval in StoriesHome component
jpcmf Dec 7, 2025
587d231
feat: refactor StoriesSwiper to utilize unique stories and improve mo…
jpcmf Dec 7, 2025
d0c77fb
fix: correct onClose prop usage in StoriesModal component
jpcmf Dec 7, 2025
816b30f
feat: add react-insta-stories dependency for enhanced story functiona…
jpcmf Dec 7, 2025
e4836ed
feat: add @chakra-ui/anatomy dependency for improved component styling
jpcmf Dec 7, 2025
21ec9c2
fix: update next dependency to version 16.0.7 for improved stability
jpcmf Dec 7, 2025
caf3e6f
feat: add lock file
jpcmf Dec 7, 2025
f8f474b
feat: add width to logo component
jpcmf Dec 10, 2025
d8a856a
fix: remove unused React import from Footer component
jpcmf Dec 10, 2025
6fe0cb5
fix: adjust margin in component
jpcmf Dec 10, 2025
c2bdd78
fix: enhance loading spinner
jpcmf Dec 10, 2025
48c470b
fix: adjust margin in component
jpcmf Dec 10, 2025
c462fe5
feat: update logo
jpcmf Dec 10, 2025
79ffb11
feat: add .zed to .gitignore
jpcmf Dec 10, 2025
d3c9bec
fix: change endPage variable to const
jpcmf Dec 10, 2025
1bd3d72
fix: rename stories2 to stories for consistency
jpcmf Dec 10, 2025
6b0ed86
fix: add optional chaining to prevent runtime errors
jpcmf Dec 10, 2025
b1092f6
feat: add loading and error handling to the component
jpcmf Dec 10, 2025
c4fb935
fix: replace console.log with console.warn
jpcmf Dec 11, 2025
38461b6
fix: remove console.log
jpcmf Dec 11, 2025
0fb163e
refactor: simplify story types and centralize StoriesResponse definition
jpcmf Dec 11, 2025
7613bac
fix: add newline
jpcmf Dec 11, 2025
53cb116
fix: replace console.log with console.warn
jpcmf Dec 11, 2025
9dff9f6
fix: add error handling to getStories and getStoriesByUserId functions
jpcmf Dec 11, 2025
4037efc
fix: remove unnecessary whitespace
jpcmf Dec 11, 2025
e3af696
fix: update return type
jpcmf Dec 11, 2025
be36ce9
fix: standardize import statement quotes
jpcmf Dec 11, 2025
103ea5f
Merge pull request #131 from jpcmf/feat/user-stories
jpcmf Dec 12, 2025
350c8fe
0.2.1
jpcmf Dec 12, 2025
e9ece1d
chore: update changelog
jpcmf Dec 12, 2025
52416a1
Merge pull request #132 from jpcmf/feat/user-stories
jpcmf Dec 12, 2025
c5fad09
fix: standardize input size prop to 'md'
jpcmf Dec 13, 2025
07a2d26
fix: change Select component size from 'lg' to 'md'
jpcmf Dec 13, 2025
116eda6
fix: change Textarea component size from 'lg' to 'md'
jpcmf Dec 13, 2025
7dfeba8
fix: standardize button and input sizes to 'md' in UserEdit component
jpcmf Dec 13, 2025
fc2eff7
fix: update button sizes in LoginModal from 'lg' to 'sm' and 'md'
jpcmf Dec 13, 2025
5d5ccc1
Merge pull request #134 from jpcmf/fix/shared-form-components
jpcmf Dec 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified .env.example
100644 → 100755
Empty file.
Empty file modified .eslintrc.json
100644 → 100755
Empty file.
Empty file modified .github/screenshot.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified .github/skatehub.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified .github/workflows/deploy.yaml
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ next-env.d.ts
public/original
launch.json
.github/workflows/main.yaml
.zed
3 changes: 2 additions & 1 deletion .husky/pre-commit
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# npm run format && npm run lint
npx lint-staged
# npx lint-staged
pnpm run format && pnpm run format:imports
Empty file modified .prettierignore
100644 → 100755
Empty file.
8 changes: 8 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"bradlc.vscode-tailwindcss",
"ms-vscode.vscode-typescript-next"
]
}
45 changes: 45 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
// {
// "editor.codeActionsOnSave": {
// "source.organizeImports": "explicit",
// "source.fixAll.eslint": "explicit"
// },
// "editor.formatOnSave": true,
// "[typescript]": {
// "editor.codeActionsOnSave": {
// "source.organizeImports": "explicit",
// "source.fixAll.eslint": "explicit"
// }
// },
// "[typescriptreact]": {
// "editor.codeActionsOnSave": {
// "source.organizeImports": "explicit",
// "source.fixAll.eslint": "explicit"
// }
// },
// "[javascript]": {
// "editor.codeActionsOnSave": {
// "source.organizeImports": "explicit",
// "source.fixAll.eslint": "explicit"
// }
// },
// "[javascriptreact]": {
// "editor.codeActionsOnSave": {
// "source.organizeImports": "explicit",
// "source.fixAll.eslint": "explicit"
// }
// },
// "eslint.validate": [
// "javascript",
// "javascriptreact",
// "typescript",
// "typescriptreact"
// ],
// "files.autoSave": "onFocusChange",
// "files.watcherExclude": {
// "**/.git/objects/**": true,
// "**/.git/subtree-cache/**": true,
// "**/node_modules/**": true,
// "**/.next/**": true,
// "**/dist/**": true
// }
// }
6 changes: 6 additions & 0 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ And that's it! Your `SkateHub Frontend` should now be up and running locally on

### 2025

- 2025-12-12 - Implements a user stories feature [#131](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/131) _(v0.2.1)_
- 2025-11-13 - Bump Next.js version [#128](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/128) _(v0.2.0)_
- 2025-11-03 - Add UserProfile component to display user information [#126](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/126) _(v0.1.37)_
- 2025-11-03 - Standardize validation messages [#125](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/125) _(v0.1.36)_
- 2025-11-01 - Add category definition [#124](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/124) _(v0.1.35)_
- 2025-09-25 - Add ESLint packages to devDependencies for improved linting support [#121](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/121) _(v0.1.34)_
- 2025-01-15 - Move authentication logic to user edit page [#116](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/116) _(v0.1.33)_

### 2024
Expand Down
110 changes: 98 additions & 12 deletions eslint.config.mjs
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,13 +1,99 @@
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});
export default [...compat.extends("next/core-web-vitals")];
import nextPlugin from "@next/eslint-plugin-next";
import importPlugin from "eslint-plugin-import";
import reactPlugin from "eslint-plugin-react";
import reactHooksPlugin from "eslint-plugin-react-hooks";
import simpleImportSort from "eslint-plugin-simple-import-sort";
import unusedImports from "eslint-plugin-unused-imports";
import globals from "globals";
import tseslint from "typescript-eslint";

export default tseslint.config(
js.configs.recommended,
...tseslint.configs.recommended,
{
ignores: [
"**/.next/**",
"**/node_modules/**",
"**/dist/**",
"**/coverage/**",
],
},
{
files: ["**/*.{js,mjs,cjs,jsx,ts,tsx}"],
plugins: {
"@next/next": nextPlugin,
"react": reactPlugin,
"react-hooks": reactHooksPlugin,
"simple-import-sort": simpleImportSort,
"import": importPlugin,
"unused-imports": unusedImports,
},
languageOptions: {
globals: {
...globals.browser,
...globals.node,
...globals.es2021,
},
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
ecmaFeatures: {
jsx: true,
},
},
},
settings: {
react: {
version: "detect",
},
},
rules: {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off",
// React rules
"react/react-in-jsx-scope": "off",
"react/prop-types": "off",
...reactHooksPlugin.configs.recommended.rules,
// Next.js rules
...nextPlugin.configs.recommended.rules,
...nextPlugin.configs["core-web-vitals"].rules,

// Import sorting
"simple-import-sort/imports": [
"error",
{
groups: [
["^node:"],
["^react", "^next"],
["^@?\\w"],
["^@/"],
["^\\.\\.(?!/?$)", "^\\.\\./?$"],
["^\\./(?=.*/)(?!/?$)", "^\\.(?!/?$)", "^\\./?$"],
["^.+\\.s?css$"],
],
},
],
"simple-import-sort/exports": "error",

// Import rules
"import/first": "error",
"import/newline-after-import": "error",
"import/no-duplicates": "error",
"import/no-unresolved": "off",
"import/order": "off",

// Unused imports
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"warn",
{
vars: "all",
varsIgnorePattern: "^_",
args: "after-used",
argsIgnorePattern: "^_",
},
],
},
},
);
0 next.config.js → next.config.ts
100644 → 100755
File renamed without changes.
43 changes: 29 additions & 14 deletions package.json
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,55 +1,70 @@
{
"name": "skatehub-frontend",
"version": "0.1.32",
"version": "0.2.1",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"prebuild": "pnpm run format:imports",
"start": "next start",
"lint": "next lint",
"lint:fix": "next lint --fix",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,md,mdx,css,yaml,yml}\"",
"format:imports": "eslint \"src/**/*.{ts,tsx}\" --fix",
"check": "prettier --check \"**/*.{ts,tsx,js,jsx,md,mdx,css,yaml,yml}\"",
"prepare": "husky"
},
"dependencies": {
"@chakra-ui/anatomy": "^2.3.4",
"@chakra-ui/next-js": "^2.4.2",
"@chakra-ui/react": "^2.10.3",
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@hookform/resolvers": "^3.9.1",
"axios": "^1.7.7",
"@tanstack/react-query": "^5.90.2",
"axios": "^1.12.2",
"boring-avatars": "^2.0.4",
"framer-motion": "^11.11.11",
"next": "latest",
"next": "16.0.7",
"next-auth": "^4.24.10",
"nodemailer": "^6.9.16",
"nookies": "^2.5.2",
"react": "latest",
"react-dom": "latest",
"react": "19.2.0",
"react-dom": "19.2.0",
"react-google-recaptcha": "^3.1.0",
"react-hook-form": "^7.53.1",
"react-icons": "^5.3.0",
"react-insta-stories": "^2.8.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.36.0",
"@types/cookie": "^0.6.0",
"@types/node": "latest",
"@types/node": "^20",
"@types/nodemailer": "^6.4.16",
"@types/react": "latest",
"@types/react-dom": "latest",
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/react-google-recaptcha": "^2.1.9",
"eslint": "latest",
"eslint-config-next": "latest",
"eslint": "^9",
"eslint-config-next": "16.0.1",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unused-imports": "^4.1.4",
"globals": "^16.5.0",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"typescript": "latest"
"typescript": "^5",
"typescript-eslint": "^8.46.4"
},
"lint-staged": {
"src/**/*.{ts,tsx,js,jsx,md,mdx,css,yaml,yml}": [
"prettier --write"
],
"src/**/*.{ts,tsx,js,jsx}": [
"eslint"
"eslint --fix"
]
}
}
},
"packageManager": "pnpm@9.15.9"
}
Loading