chore: application prettier

This commit is contained in:
Luc SORIGNET
2025-04-15 19:37:47 +02:00
parent dd0884bbce
commit f7666c894b
174 changed files with 10609 additions and 8760 deletions

View File

@ -1,14 +1,13 @@
import createNextIntlPlugin from 'next-intl/plugin';
import { createRequire } from "module";
import { createRequire } from 'module';
const require = createRequire(import.meta.url);
const pkg = require("./package.json")
const pkg = require('./package.json');
const withNextIntl = createNextIntlPlugin();
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "standalone",
output: 'standalone',
reactStrictMode: true,
experimental: {
instrumentationHook: true,
@ -16,17 +15,18 @@ const nextConfig = {
images: {
remotePatterns: [
{
protocol: "https",
hostname: "www.gravatar.com",
protocol: 'https',
hostname: 'www.gravatar.com',
},
],
},
env: {
NEXT_PUBLIC_APP_VERSION: pkg.version,
NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL || "http://localhost:8080",
NEXT_PUBLIC_API_URL:
process.env.NEXT_PUBLIC_API_URL || 'http://localhost:8080',
NEXT_PUBLIC_USE_FAKE_DATA: process.env.NEXT_PUBLIC_USE_FAKE_DATA || 'false',
AUTH_SECRET: process.env.AUTH_SECRET || 'false',
NEXTAUTH_URL: process.env.NEXTAUTH_URL || "http://localhost:3000",
NEXTAUTH_URL: process.env.NEXTAUTH_URL || 'http://localhost:3000',
DOCUSEAL_API_KEY: process.env.DOCUSEAL_API_KEY,
},
async rewrites() {
@ -40,7 +40,7 @@ const nextConfig = {
destination: '/api/auth/:path*', // Exclure les routes NextAuth des réécritures de proxy
},
];
}
},
};
export default withNextIntl(nextConfig);
export default withNextIntl(nextConfig);