Skip to content
Open
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 .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ node_modules
dist
dist-ssr
*.local

*.next
# Editor directories and files
.vscode/*
!.vscode/extensions.json
Expand Down
1 change: 0 additions & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
npm run coverage
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import eslintPluginPrettier from "eslint-plugin-prettier/recommended";
import reactCompiler from "eslint-plugin-react-compiler";

export default tseslint.config(
{ ignores: ["dist"] },
{ ignores: ["dist", ".next", "coverage"] },
{
extends: [
js.configs.recommended,
Expand Down
7 changes: 7 additions & 0 deletions messages/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"Header": {
"home": "Home",
"about": "About",
"switch_to": "Switch theme"
}
}
7 changes: 7 additions & 0 deletions messages/ru.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"Header": {
"home": "Основная страница",
"about": "О нас",
"switch_to": "Сменить тему"
}
}
5 changes: 5 additions & 0 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
14 changes: 14 additions & 0 deletions next.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// const nextConfig = {
// output: "export",
// distDir: "./dist",
// };

// export default nextConfig;
import { NextConfig } from "next";
import createNextIntlPlugin from "next-intl/plugin";
/** @type {import('next').NextConfig} */
const nextConfig: NextConfig = {};

const withNextIntl = createNextIntlPlugin();

export default withNextIntl(nextConfig);
Loading