chore: migrate from Tailwind v3 to v4 and upgrade dependencies

Major changes:
- Upgrade Tailwind CSS from v3 to v4 with @tailwindcss/postcss
- Remove deprecated Tailwind v3 configuration and PostCSS plugins
- Upgrade Zod from v3 to v4
- Update React Markdown and other dependencies to latest versions
- Remove @plaiceholder, @headlessui, and other unused dependencies
- Replace SCSS with standard CSS globals
- Add font packages (@fontsource-variable) for better typography
- Consolidate Prettier configuration to .prettierrc
- Remove legacy contact page and custom Payload SCSS
- Add Mantine hooks and Lucide React for improved UI components
This commit is contained in:
2025-10-26 01:32:57 -05:00
parent 0dcf6f93ba
commit da366b9538
22 changed files with 8023 additions and 5160 deletions
+4 -3
View File
@@ -1,8 +1,6 @@
import { withPayload } from "@payloadcms/next/withPayload";
// @ts-check
import withPlaiceholder from "@plaiceholder/next";
/**
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation.
* This is especially useful for Docker builds.
@@ -70,6 +68,9 @@ const config = {
},
],
},
turbopack: {
resolveExtensions: ['.tsx', '.ts', '.jsx', '.js', '.mjs', '.json'],
},
async redirects() {
// Source cannot end with / slash
return [
@@ -92,4 +93,4 @@ const config = {
];
},
};
export default withPayload(withPlaiceholder(config));
export default withPayload(config);