1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-05-29 22:37:44 +02:00

chore: config updates

This commit is contained in:
2024-10-12 23:51:58 +02:00
parent 12f1d6cdf2
commit 0a7094005c
36 changed files with 2797 additions and 2709 deletions

View File

@ -7,7 +7,7 @@
"plugins": ["@typescript-eslint"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": true
"projectService": true
}
}
]

View File

@ -8,7 +8,7 @@ WORKDIR /usr/src/app
FROM node-pnpm AS builder
COPY ./ ./
RUN pnpm install --global turbo@2.1.1
RUN pnpm install --global turbo@2.1.3
RUN turbo prune @repo/website --docker
FROM node-pnpm AS installer

View File

@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.

View File

@ -5,6 +5,10 @@ const IS_STANDALONE = process.env.IS_STANDALONE === "true"
/** @type {import('next').NextConfig} */
const nextConfig = {
output: IS_STANDALONE ? "standalone" : undefined,
images: {
unoptimized: true,
},
compress: false,
// https://github.com/hashicorp/next-mdx-remote/issues/436#issuecomment-2066971842
transpilePackages: ["next-mdx-remote", "shiki"],

View File

@ -22,8 +22,7 @@
"next": "catalog:",
"next-intl": "catalog:",
"react": "catalog:",
"react-dom": "catalog:",
"sharp": "catalog:"
"react-dom": "catalog:"
},
"devDependencies": {
"@repo/eslint-config": "workspace:*",

View File

@ -2,7 +2,11 @@ import sharedConfig from "@repo/config-tailwind"
/** @type {Pick<import('tailwindcss').Config, "presets" | "content">} */
const config = {
content: ["./app/**/*.tsx", "../../packages/*/src/**/*.tsx"],
content: [
"./app/**/*.tsx",
"../../packages/ui/src/**/*.tsx",
"../../packages/blog/src/**/*.tsx",
],
presets: [sharedConfig],
}