Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion apps/site/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const compatConfig = compat.config({

export default tseslint.config(
...baseConfig,
{ ignores: ['pages/en/blog/**/*.{md,mdx}/**', 'public'] },
{ ignores: ['pages/en/blog/**/*.{md,mdx}/**', 'public', 'next-env.d.ts'] },
{
extends: [
react.configs.flat['jsx-runtime'],
Expand Down
1 change: 1 addition & 0 deletions apps/site/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference types="next/navigation-types/compat/navigation" />
/// <reference path="./.next/types/routes.d.ts" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
11 changes: 6 additions & 5 deletions apps/site/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import { redirects, rewrites } from './next.rewrites.mjs';
/** @type {import('next').NextConfig} */
const nextConfig = {
allowedDevOrigins: ['10.1.1.232'],
// We don't use trailing slashes on URLs from the Node.js Website
trailingSlash: false,
// We don't want to redirect with trailing slashes
skipTrailingSlashRedirect: true,
// We allow the BASE_PATH to be overridden in case that the Website
Expand Down Expand Up @@ -54,7 +52,7 @@ const nextConfig = {
],
},
// On static export builds we want the output directory to be "build"
distDir: ENABLE_STATIC_EXPORT ? 'build' : '.next',
distDir: ENABLE_STATIC_EXPORT ? 'build' : undefined,
// On static export builds we want to enable the export feature
output: ENABLE_STATIC_EXPORT ? 'export' : undefined,
// This configures all the Next.js rewrites, which are used for rewriting internal URLs into other internal Endpoints
Expand All @@ -65,10 +63,13 @@ const nextConfig = {
// We don't want to run Type Checking on Production Builds
// as we already check it on the CI within each Pull Request
typescript: { ignoreBuildErrors: true },
// Enable statically typed links
// @see https://nextjs.org/docs/app/api-reference/config/typescript#statically-typed-links
typedRoutes: true,
// We don't want to run ESLint Checking on Production Builds
// as we already check it on the CI within each Pull Request
// we also configure ESLint to run its lint checking on all files (next lint)
eslint: { dirs: ['.'], ignoreDuringBuilds: true },
// we also configure ESLint to run its lint checking on all files
eslint: { ignoreDuringBuilds: true },
experimental: {
// Ensure that server-side code is also minified
serverMinification: true,
Expand Down
6 changes: 3 additions & 3 deletions apps/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"feed": "~5.1.0",
"github-slugger": "~2.0.0",
"gray-matter": "~4.0.3",
"next": "15.4.4",
"next": "15.5.0",
"next-intl": "~4.3.4",
"next-themes": "~0.4.6",
"postcss-calc": "~10.1.1",
Expand All @@ -81,13 +81,13 @@
"@eslint/compat": "~1.3.1",
"@eslint/eslintrc": "~3.3.1",
"@flarelabs-net/wrangler-build-time-fs-assets-polyfilling": "^0.0.1",
"@next/eslint-plugin-next": "15.4.4",
"@next/eslint-plugin-next": "15.5.0",
"@opennextjs/cloudflare": "^1.6.4",
"@playwright/test": "^1.54.1",
"@testing-library/user-event": "~14.6.1",
"@types/mdx": "^2.0.13",
"@types/semver": "~7.7.0",
"eslint-config-next": "15.4.4",
"eslint-config-next": "15.5.0",
"eslint-import-resolver-typescript": "~4.4.4",
"eslint-plugin-mdx": "~3.6.2",
"eslint-plugin-react": "~7.37.4",
Expand Down
Loading
Loading