Commit Graph

20 Commits

Author SHA1 Message Date
javayhu
895e02bfdd chore: update .dockerignore and biome.json to include new directories and remove unused object-values type 2025-08-26 00:20:27 +08:00
javayhu
3a61c953a4 chore: add ai-elements to biome.json for component inclusion 2025-08-24 10:39:52 +08:00
javayhu
3a81a96316 refactor: add opennext and wrangler folder to the ignore patterns in biome.json 2025-07-14 22:27:22 +08:00
javayhu
d7077cb3d4 refactor: enable useEditorconfig option to biome.json
https://biomejs.dev/reference/configuration/#formatteruseeditorconfig
2025-07-14 22:19:31 +08:00
javayhu
f7f7be2ef0 feat: add credits config in website config
- Added a new credits management system with configurable credit packages in website.tsx.
- Replaced hardcoded credit package definitions with a dynamic retrieval system using getCreditPackages and getCreditPackageById functions.
- Updated CreditPackages and StripePaymentForm components to utilize the new credit package structure.
- Removed obsolete CREDIT_PACKAGES constant from constants.ts to streamline the codebase.
- Enhanced type definitions for credit packages in types.ts for better clarity and maintainability.
- Updated README.md to reflect changes in credit packages configuration.
2025-07-07 00:04:45 +08:00
javayhu
0a2d081b07 refactor(blog) remove content-collections & add blog source 2025-06-17 23:37:41 +08:00
javayhu
c23383fdde chore: add MotionHighlight component from animate-ui 2025-06-14 15:00:55 +08:00
javayhu
bbb22f8438 refactor: biome lint part 5 2025-04-18 22:23:07 +08:00
javayhu
f1a0d5c9b5 refactor: biome lint part 4 2025-04-18 22:19:45 +08:00
javayhu
9f58d025d0 refactor: biome lint part 3 2025-04-18 22:12:41 +08:00
javayhu
27bc59354f refator: biome lint part 2 2025-04-18 21:53:21 +08:00
javayhu
23cd59bbac refactor: biome lint part 1 2025-04-18 21:47:14 +08:00
javayhu
5b02b0379f chore: update biome.json 2025-04-18 10:25:00 +08:00
javayhu
f0ea8bf52e chore: update biome.json, add more to the ignore paths 2025-04-18 10:08:21 +08:00
javayhu
2ba2eebbaa chore: update database schema and enhance authentication features
- Add `username` column to the `user` table and enforce uniqueness constraint.
- Introduce new SQL migration file for the `username` addition.
- Update `schema.ts` to reflect changes in the `user`, `session`, and `account` tables.
- Enhance authentication client by integrating `usernameClient` plugin for better user management.
- Adjust session management settings for improved caching and freshness.
- Refactor metadata generation in the home page for consistency.
2025-03-15 00:54:13 +08:00
javayhu
92ec1b14c5 refactor: format src/app folder 2025-03-09 20:01:07 +08:00
javayhu
21e04f3027 feat: rename (marketing) to (public) routes 2025-02-23 14:27:45 +08:00
javayhu
a6dc7e1ddc chore: apply Biome formatting and semicolon consistency across project files 2025-02-17 00:34:01 +08:00
javayhu
16309d571a chore: configure biome with detailed formatting and linting rules 2025-02-17 00:22:56 +08:00
javayhu
d893138250 feat: install biome 2025-02-17 00:16:10 +08:00