Commit Graph

101 Commits

Author SHA1 Message Date
Giancarlo Buomprisco
2b8572baaa Claude sub-agents, PRD, MCP improvements (#359)
1. Added Claude Code sub-agents
2. Added PRD tool to MCP Server
3. Added MCP Server UI to Dev Tools
4. Improved MCP Server Database Tool
5. Updated dependencies
2025-09-25 12:03:53 +08:00
Giancarlo Buomprisco
533dfba5b9 Optimized agents rules subfolders, dependencies updates (#355)
* Update AGENTS.md and CLAUDE.md for improved clarity and structure
* Added MCP Server
* Added missing triggers to tables that should have used them
* Updated all dependencies
* Fixed rare bug in React present in the Admin layout which prevents navigating to pages (sometimes...)
2025-09-17 11:36:02 +08:00
Giancarlo Buomprisco
9fae142f2d Deps Update + Table improvements (#351)
* fix: enhance DataTable pagination examples and improve display logic

- Added a note in the DataTableStory component to clarify that examples show only the first page of data for demonstration purposes.
- Adjusted pagination examples to reflect smaller datasets, changing the displayed data slices for better clarity and testing.
- Updated the Pagination component to calculate and display the current record range more accurately based on the current page index and size.

* chore(dependencies): update package versions for improved compatibility

- Upgraded `@supabase/supabase-js` from `2.55.0` to `2.57.0` for enhanced functionality and performance.
- Bumped `@tanstack/react-query` from `5.85.5` to `5.85.9` to incorporate the latest improvements.
- Updated `ai` from `5.0.28` to `5.0.30` for better performance.
- Incremented `nodemailer` from `7.0.5` to `7.0.6` for stability.
- Updated `typescript-eslint` from `8.41.0` to `8.42.0` for improved type definitions and linting capabilities.
- Adjusted various package dependencies across multiple components to ensure compatibility and stability.

* chore(dependencies): update package versions for improved compatibility

- Upgraded `@ai-sdk/openai` from `2.0.23` to `2.0.24` for enhanced functionality.
- Bumped `@tanstack/react-query` from `5.85.9` to `5.86.0` to incorporate the latest improvements.
- Updated `ai` from `5.0.30` to `5.0.33` for better performance.
- Incremented `@types/node` from `24.3.0` to `24.3.1` for type safety enhancements.
- Updated `dotenv` from `17.2.1` to `17.2.2` for stability.
- Adjusted `tailwindcss` and related packages to `4.1.13` for improved styling capabilities.
- Updated `react-i18next` from `15.7.3` to `15.7.3` to include the latest localization fixes.
- Incremented `@sentry/nextjs` from `10.8.0` to `10.10.0` for enhanced monitoring features.
- Updated various package dependencies across multiple components to ensure compatibility and stability.

* fix(config): conditionally disable `devIndicators` in CI environment

* feat(settings): encapsulate danger zone actions in a styled card component

- Introduced a new `DangerZoneCard` component to enhance the visual presentation of danger zone actions in the team account settings.
- Updated `TeamAccountDangerZone` to wrap deletion and leave actions within the `DangerZoneCard` for improved user experience.
- Removed redundant card structure from `TeamAccountSettingsContainer` to streamline the component hierarchy.

* fix(e2e): improve admin account tests for response handling and visibility checks

- Enhanced the admin test suite by adding a check for the POST request method when waiting for the response from the `/admin/accounts` endpoint.
- Reduced wait times in the `filterAccounts` function for improved test performance.
- Updated the `selectAccount` function to ensure the account link is visible before clicking, enhancing reliability in the test flow.

* chore(dependencies): update package versions for improved compatibility

- Upgraded `@supabase/supabase-js` from `2.57.0` to `2.57.2` for enhanced functionality and performance.
- Bumped `@tanstack/react-query` from `5.86.0` to `5.87.1` to incorporate the latest improvements.
- Updated `i18next` from `25.5.1` to `25.5.2` for better localization support.
- Incremented `eslint` from `9.34.0` to `9.35.0` for improved linting capabilities.
- Adjusted various package dependencies across multiple components to ensure compatibility and stability.

* feat(admin): enhance user ban and reactivation actions with success handling

- Updated `AdminBanUserDialog` and `AdminReactivateUserDialog` components to handle success states based on the results of the respective actions.
- Modified `banUserAction` and `reactivateUserAction` to return success status and log errors if the actions fail.
- Introduced `revalidatePage` function to refresh the user account page after banning or reactivating a user.
- Improved error handling in the dialogs to provide better feedback to the admin user.

* feat(admin): refactor user ban and reactivation dialogs for improved structure and error handling

- Introduced `BanUserForm` and `ReactivateUserForm` components to encapsulate form logic within the respective dialogs, enhancing readability and maintainability.
- Updated the `AdminBanUserDialog` and `AdminReactivateUserDialog` components to utilize the new form components, streamlining the user interface.
- Enhanced error handling to provide clearer feedback to the admin user during ban and reactivation actions.
- Removed unnecessary revalidation calls in the server actions to optimize performance and maintain clarity in the action flow.
- Added `@types/react-dom` dependency for improved type definitions.

* refactor(admin): streamline user dialogs and server actions for improved clarity

- Removed unnecessary `useRouter` imports from `AdminBanUserDialog` and `AdminReactivateUserDialog` components to simplify the code.
- Updated `revalidateAdmin` function calls to use `revalidatePath` with specific paths, enhancing clarity in the server actions.
- Ensured that the user dialogs maintain a clean structure while focusing on form logic and error handling.
2025-09-06 18:30:09 +08:00
Giancarlo Buomprisco
9ce150609e chore(dependencies): update package versions for improved compatibility (#332) 2025-08-27 18:34:44 +07:00
Giancarlo Buomprisco
ad427365c9 Storybook (#328)
* feat(docs): add interactive examples and API references for Button, Card, and LoadingFallback components
- Updated dependencies
- Set `retries` to a fixed value of 3 for consistent test retries across environments.
- Increased `timeout` from 60 seconds to 120 seconds to allow more time for tests to complete.
- Reduced `expect` timeout from 10 seconds to 5 seconds for quicker feedback on assertions.
2025-08-22 07:35:44 +08:00
Giancarlo Buomprisco
d71394ab48 chore(dependencies): update package versions for improved compatibility (#326)
* chore(dependencies): update package versions for improved compatibility

- Bumped `@ai-sdk/openai` from `2.0.15` to `2.0.16` for enhanced functionality.
- Updated `@tanstack/react-query` from `5.85.3` to `5.85.5` to incorporate the latest improvements.
- Incremented `ai` from `5.0.15` to `5.0.16` for better performance.
- Updated `lucide-react` from `0.539.0` to `0.540.0` for improved compatibility.
- Incremented `next` from `15.4.6` to `15.4.7` to leverage new features and fixes.
- Updated `@types/node` from `24.1.0` to `24.3.0` for type safety enhancements.
- Updated `@types/nodemailer` from `6.4.17` to `7.0.0` for better type definitions.
- Incremented `supabase` from `2.34.0` to `2.34.3` for improved performance and compatibility.

* chore(dependencies): downgrade `supabase` version to 2.34.0 for compatibility

- Changed `supabase` version in `package.json` and `pnpm-lock.yaml` from `2.34.3` to `2.34.0` to ensure compatibility and stability across the codebase.
2025-08-19 21:55:02 +08:00
Giancarlo Buomprisco
5d0260c8fc Dependencies Update (#318)
* chore(dependencies): update package versions for improved compatibility

- Bumped `@ai-sdk/openai` from `1.3.23` to `2.0.11` for enhanced functionality.
- Updated `@tanstack/react-query` from `5.84.1` to `5.85.0` to incorporate the latest improvements.
- Incremented `ai` from `4.3.19` to `5.0.11` for better performance.
- Updated `lucide-react` from `0.536.0` to `0.539.0` for improved compatibility.
- Incremented `next` from `15.4.5` to `15.4.6` to leverage new features and fixes.
- Updated `@marsidev/react-turnstile` from `1.2.0` to `1.3.0` for enhanced functionality.
- Updated `@nosecone/next` from `1.0.0-beta.9` to `1.0.0-beta.10` for better integration.
- Updated `@supabase/supabase-js` from `2.53.0` to `2.55.0` for improved performance.
- Incremented `@markdoc/markdoc` from `0.5.3` to `0.5.4` for better integration.
- Updated `@next/bundle-analyzer` from `15.4.5` to `15.4.6` for enhanced compatibility.
- Updated `@types/node` from `24.2.0` to `24.2.1` for type safety improvements.
- Updated `@types/react` from `19.1.9` to `19.1.9` for consistency across packages.

* fix(logger): update import statement for pino to default import

- Changed the import of `pino` from named import to default import for consistency with the library's usage and to avoid potential issues with module resolution.
2025-08-13 02:10:16 +08:00
Giancarlo Buomprisco
910cfd145d chore(dependencies): update package versions for improved compatibility (#314)
- Bumped `@manypkg/cli` from `0.24.0` to `0.25.0` for enhanced functionality.
- Updated `cross-env` from `7.0.3` to `10.0.0` to leverage new features and fixes.
- Incremented `next` from `15.4.3` to `15.4.5` for better performance and compatibility.
- Updated `react` and `react-dom` from `19.1.0` to `19.1.1` to ensure alignment with the latest improvements.
- Incremented `@types/node` from `24.0.15` to `24.1.0` for type safety enhancements.
- Updated various packages across the codebase to maintain consistency and compatibility.
2025-07-30 17:33:23 +08:00
Giancarlo Buomprisco
f538fc791e chore(dependencies): update package versions to 15.4.3 and 2.31.8 (#309)
- Bumped `next` version from `15.4.2` to `15.4.3` across multiple packages for improved compatibility.
- Updated `react-i18next` from `15.6.0` to `15.6.1` in several packages to incorporate the latest features and fixes.
- Incremented `@stripe/react-stripe-js` from `3.7.0` to `3.8.0` and `@stripe/stripe-js` from `7.5.0` to `7.6.1` for enhanced functionality.
- Updated `@keystatic/core` from `0.5.47` to `0.5.48` for better integration.
- Incremented `supabase` from `2.30.4` to `2.31.8` to ensure the latest improvements and bug fixes are included.
2025-07-23 15:04:44 +08:00
Giancarlo Buomprisco
7e0c196adc chore(dependencies): update package versions for improved compatibility (#308)
- Bumped versions of several packages across the codebase, including:
  - Updated `@supabase/supabase-js` from `2.51.0` to `2.52.0`
  - Incremented `next` from `15.4.1` to `15.4.2`
  - Updated `@types/node` from `^24.0.13` to `^24.0.15`
  - Upgraded `ai` from `4.3.18` to `4.3.19`
  - Updated `@next/bundle-analyzer` from `15.4.1` to `15.4.2`
  - Incremented `@next/eslint-plugin-next` from `15.4.1` to `15.4.2`
  - Bumped `eslint-config-next` from `15.3.5` to `15.4.2`
  - Updated `@kit/prettier-config` and other related packages for consistency and compatibility improvements.
2025-07-19 19:23:36 +08:00
Giancarlo Buomprisco
abcf1ae3d7 chore(dependencies): update multiple dependencies to latest versions (#301)
- Upgraded `@supabase/supabase-js` to `2.51.0`
- Bumped `@tanstack/react-query` to `5.83.0`
- Incremented `next` and related packages to `15.4.1`
- Miscellaneous upgrades including `@react-email/components`, `eslint`, and `cssnano`.
2025-07-15 06:27:23 +08:00
Giancarlo Buomprisco
50337298fd Dependencies Updates, Sidebar fixes, default plan, Radix single package (#297)
* Refactor Radix UI imports and update package dependencies, fix Sidebar "group" references, add default value to plan picker to preselect a plan
2025-07-11 17:57:27 +08:00
Giancarlo Buomprisco
c1fda420e6 chore(dependencies): update libraries and added File Uploader component (#292)
- Bumped dependencies: `lucide-react`, `react-hook-form`, `@supabase/supabase-js`, `@tanstack/react-query`, `@sentry/nextjs`, and more.
- Added `react-dropzone` to `@kit/ui` for file upload support.
- Adjusted `reset-password.html` to streamline style usage and HTML structure.
- Added new translation keys for file upload functionality.
- Cleaned up import order in `existing-account-hint.tsx`.
2025-06-26 13:40:54 +08:00
gbuomprisco
b4c8c74bd0 chore(dependencies): update packages to latest versions
- Bumped `lucide-react` to `^0.516.0`
- Upgraded `react-hook-form` to `^7.58.0`
- Updated `zod` to `^3.25.67`
- Incremented `@sentry/nextjs` to `^9.29.0`
- Miscellaneous upgrades for `eslint`, `@tailwindcss/postcss`, and `supabase` dependencies.
2025-06-17 13:33:32 +08:00
Giancarlo Buomprisco
9033155fcd Add OTP sign-in option + Account Linking (#276)
* feat(accounts): allow linking email password
* feat(auth): add OTP sign-in
* refactor(accounts): remove 'sonner' dependency and update toast imports
* feat(supabase): enable analytics and configure database seeding
* feat(auth): update email templates and add OTP template
* feat(auth): add last sign in method hints
* feat(config): add devIndicators position to bottom-right
* feat(auth): implement comprehensive last authentication method tracking tests
2025-06-13 17:47:35 +08:00
Giancarlo Buomprisco
1c31e7ffab Update Calendar component and update dependencies and updated Agents MD files (#269)
* Update Calendar component and update dependencies

* Refactor AGENTS.md and CLAUDE.md for clarity and consistency

- Streamlined project overview and architecture sections in both AGENTS.md and CLAUDE.md to enhance readability.
- Updated command sections to reflect essential commands and improved formatting for better usability.
- Clarified multi-tenant architecture details and database operations, ensuring accurate representation of the project's structure.
- Enhanced component organization and security guidelines for better developer onboarding and adherence to best practices.

* Refactor code for consistency and readability

- Improved formatting in `env-variables-model.ts` for better description clarity.
- Enhanced readability of `current-plan-alert.tsx` and `current-plan-badge.tsx` by adjusting the status badge mapping.
- Standardized object syntax in `lemon-squeezy-webhook-handler.service.ts` for consistency.
- Refined className ordering in `account-selector.tsx` for better maintainability.
- Ensured proper syntax in `console.ts` with consistent object export.
- Reorganized imports in `calendar.tsx` for clarity and structure.
- Improved className formatting in `sidebar.tsx` for better readability.

* Update package version to 2.10.0 in package.json
2025-06-08 14:31:49 +08:00
Giancarlo Buomprisco
67663b32d9 Deps update + basic Claude.md and Agents.md (#268)
* Add comprehensive guides for OpenAI Codex and Claude Code

- Introduced `AGENTS.md` and `CLAUDE.md` files to provide detailed guidance for working with OpenAI Codex and Claude Code within the project.
- Updated project architecture and common commands sections to reflect the multi-tenant SaaS application structure and core technologies.
- Enhanced documentation on database operations, schema management, security guidelines, and development patterns to improve developer onboarding and project maintainability.

Additionally, updated various package dependencies across the codebase to their latest versions, ensuring compatibility and performance improvements.
2025-06-06 13:10:14 +08:00
Giancarlo Buomprisco
40afecde93 28 05 2025 deps update (#262)
* Update dependencies across all packages

Updated multiple dependencies to their latest versions to ensure compatibility, security, and performance improvements. This includes packages like @supabase/supabase-js, @tanstack/react-query, @types/react, and zod across various projects.

* Update selector for Stripe form submission button

Replaced the form button selector with a `data-testid` attribute selector for improved reliability and maintainability. This ensures the test is less prone to breaks from UI changes.
2025-05-28 09:26:28 +08:00
Giancarlo Buomprisco
2ede13dec9 20 05 2025 deps update (#257)
* Update dependencies across packages

Upgraded various package dependencies, including `zod`, `@supabase/supabase-js`, `react-hook-form`, `lucide-react`, and others to their latest versions. Ensures compatibility, security, and access to new features.
2025-05-20 11:46:09 +08:00
Giancarlo Buomprisco
3893806b4a Update dependencies to latest versions for improved stability and features (#253) 2025-05-09 21:57:02 +08:00
Giancarlo Buomprisco
de347005b1 Upgrade dependencies across multiple packages for improved stability and features (#252)
- Updated `@manypkg/cli` from `^0.23.0` to `^0.24.0` for enhanced functionality.
- Upgraded `@tanstack/react-query` from `5.74.11` to `5.75.2` to incorporate the latest improvements.
- Incremented `lucide-react` from `^0.503.0` to `^0.507.0` for better compatibility.
- Updated `nodemailer` from `^6.10.1` to `^7.0.2` to leverage new features and fixes.
- Upgraded `react-hook-form` from `^7.56.1` to `^7.56.2` for bug fixes and enhancements.
- Updated `zod` from `^3.24.3` to `^3.24.4` for improved type definitions.
- Incremented `@types/node` from `^22.15.3` to `^22.15.9` for better type support.

These updates enhance the overall stability, performance, and compatibility of the application.
2025-05-06 10:03:57 +08:00
Giancarlo Buomprisco
1327a8efb7 Upgrade dependencies across packages (#241)
Updated multiple dependencies to their latest versions, including `next` to `15.3.1`, `zod` to `3.24.3`, `@tanstack/react-query` to `5.74.4`, and others. This ensures compatibility, improves stability, and incorporates the latest bug fixes.
2025-04-20 20:48:08 +08:00
Giancarlo Buomprisco
a149c52b99 Next.js 15.3.0 (#231)
1. Upgrade to Next.js 15.3.0
2. Formatted files
2025-04-10 08:41:07 +08:00
Giancarlo Buomprisco
c5828325a2 Updated dependencies (#229) 2025-04-09 10:15:47 +08:00
Giancarlo Buomprisco
39fc9497db Update dependencies across multiple packages (#226)
- Bump versions for `@hookform/resolvers`, `@tanstack/react-query`, `lucide-react`, `tailwindcss`, and `@types/node` to their latest compatible versions.
- Update `babel-plugin-react-compiler` to a newer beta version.
- Adjust `@supabase/supabase-js` and `@stripe/react-stripe-js` to their latest versions.
- Increment `sonner` and `tailwind-merge` versions for improved functionality.
- Update `@react-email/components` to the latest version for email templates.

This update ensures compatibility with the latest features and fixes across the codebase.
2025-04-02 23:54:34 +08:00
Giancarlo Buomprisco
6fbc5cf6e5 Dependencies cleanup (#216)
1. Updated dependencies
2. Disable Next.js Telemetry by default
3. Cleaned up unused dependencies
4. Refactored NPM scripts
2025-03-25 10:26:32 +08:00
Giancarlo Buomprisco
4bba67246b 1. Updated packages (#211)
1. Updated packages
2. Improved responsiveness
2025-03-18 20:07:10 +08:00
Giancarlo Buomprisco
a45fda44cf Deps Update, CSSNano, Sentry env (#210)
1. Update dependencies
2. Use cssnano for production
3. Assign an environment variable to Sentry's environment settings
4. `Pill` now accepts React Nodes so we can pass translations using Trans component
5. Switch to mailpit API during tests
6. Do not require Email Sender to be of type email and add proper error messages
2025-03-12 16:51:11 +08:00
Giancarlo Buomprisco
c41d88b2e6 Dependencies Update (#201)
* Updated packages
* Adjust package.json scripts quotes so they work well on Windows
2025-03-04 14:30:08 +08:00
Giancarlo Buomprisco
d14d19f330 Dependencies + Next.js 15.2.0 (#193)
- Updated All dependencies
- Updated Next.js 15.2.0
- Updated Stripe API version
- Remove Sentry replayIntegration by default
- Added IMPROVEMENT.yml file
- Bump version to 2.5.1
2025-03-02 11:41:12 +08:00
Giancarlo Buomprisco
e403a6cd75 EsLint speedup (#161)
* Updated packages
* Fix Turbo TURBO_SCM_BASE
* Disable type-aware rules
2025-02-12 14:58:56 +08:00
Giancarlo Buomprisco
f2c74bd11c Updated dependencies, reintroduced bundle analyzer (#159) 2025-02-11 11:48:28 +08:00
Giancarlo Buomprisco
6f9cf22fa8 EsLint v9 (#154)
* Upgrade ESLint and related configurations to version 9

- Update ESLint to version 9.19.0
- Migrate ESLint configurations to flat config format
- Remove deprecated ESLint config files
- Update package dependencies and configurations
- Simplify ESLint setup across packages
- Remove unnecessary ESLint config blocks from package.json files
- Improved CI caching with Turborepo tasks
- Removed duplicate styles
2025-02-07 11:38:29 +08:00
Giancarlo Buomprisco
4a47df81db Registry API Refactoring (#144)
* Refactor core to use a flexible registry pattern

- Introduce a new registry mechanism for mailer providers
- Extract mailer provider enum to a separate file
- Implement dynamic mailer loading using a registry
- Update package dependencies and exports
- Improve modularity and extensibility of mailer implementation

* Refactor monitoring and billing services to use a flexible registry pattern

- Introduce a shared registry mechanism for dynamic service loading
- Replace static switch-based implementations with a registry-based approach
- Update instrumentation, CMS, and monitoring services to use the new registry
- Improve modularity and extensibility of service implementations
- Add Zod-based type-safe provider validation

* Simplify async registration in monitoring and billing services

- Remove unnecessary async wrappers for no-op registrations
- Update type definitions to support both async and sync registration functions
- Standardize registration approach for Paddle and Sentry providers

* Remove Tailwind package from packages where it is not being needed

* Remove Tailwind config references from pnpm-lock.yaml

* Update instrumentation registry to support dynamic monitoring providers

- Modify type definition to use NonNullable MonitoringProvider
- Import MonitoringProvider type from get-monitoring-provider
- Enhance type safety for instrumentation registration
2025-02-05 18:38:43 +08:00
gbuomprisco
d799f54ede Update dependencies. Fixed linting issues discovered after update. 2025-01-28 10:41:05 +07:00
gbuomprisco
95bc455372 Updated packages 2025-01-17 14:24:53 +07:00
Giancarlo Buomprisco
f3ff0e7bb3 Updated Dependencies (#108) 2025-01-15 15:36:48 +08:00
gbuomprisco
948a062279 Updated all packages 2025-01-11 17:50:02 +08:00
gbuomprisco
3970076899 Updated Dependencies (Next.js 15.1.3) 2024-12-30 10:55:04 +08:00
gbuomprisco
970f901d05 Updated Dependencies (Next.js 15.1.2) 2024-12-23 08:35:34 +08:00
Giancarlo Buomprisco
491040f683 Updated dependencies (next.js 15.1.1) (#98) 2024-12-18 15:09:45 +08:00
Giancarlo Buomprisco
923b6954d4 Updated dependencies (#97) 2024-12-17 13:23:41 +08:00
Giancarlo Buomprisco
af6217b410 Layouts refactoring (#96)
* Refactor layouts so that we can use the hook useSidebar from within the content of the layouts
* Updated packages
2024-12-15 17:25:58 +08:00
Giancarlo Buomprisco
4efe5f3f7b Updated all dependencies (#95)
* Updated all dependencies
* Increase workflow timeout
* Fix Supabase JS to non buggy version
2024-12-13 14:56:07 +08:00
gbuomprisco
ce63993035 Updated packages (Next.js 15.1.0)
Fixed linting
2024-12-11 12:45:11 +08:00
Giancarlo Buomprisco
079a8f857a Some changes ported from the work on the makerkit.dev website related… (#89)
* Some changes ported from the work on the makerkit.dev website related to the marketing sections of the kit, such as documentation
* Added slight background hue to make darker theme better looking
* Support more complex configurations for documentation navigations.
* Do not fetch content from Keystatic when non-needed
* Add cursor pointers in dropdown
* Updated packages
2024-12-09 12:58:17 +08:00
Giancarlo Buomprisco
90f25a5ed5 Updated dependencies, most notably React 19 (#90)
* Updated dependencies, most notably React 19
2024-12-06 16:38:49 +08:00
Giancarlo Buomprisco
8f0fc20098 Updated dependencies (#86) 2024-11-29 15:45:40 +08:00
gbuomprisco
a7eb9d6cf6 Updated dependencies 2024-11-08 13:43:59 +08:00
gbuomprisco
2f1be787f7 Updated dependencies 2024-11-01 10:55:46 +08:00