Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Jérémy Fumeron committed Sep 11, 2023
1 parent 86cff25 commit 2acff22
Show file tree
Hide file tree
Showing 10 changed files with 73 additions and 69 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"dependencies": {
"@formatjs/intl-localematcher": "^0.x",
"negotiator": "^0.x",
"next": "13.4",
"next": "^13.4.20-canary.23",
"postcss": "^8.x",
"react": "^18.x",
"react-dom": "^18.x",
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions public/sitemap-0.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://example.com/en</loc><lastmod>2023-09-11T07:40:51.041Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://example.com/fr</loc><lastmod>2023-09-11T07:40:51.041Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://example.com/en</loc><lastmod>2023-09-11T08:04:31.905Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://example.com/fr</loc><lastmod>2023-09-11T08:04:31.906Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
</urlset>
2 changes: 1 addition & 1 deletion src/app/[lang]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import {
getMetadataPageTranslation,
getPageTranslation,
} from '@/utils/translate';
import { i18n } from '#i18n';
import { Container, VStack } from '#pcss/jsx';
import { i18n } from '~/locales/i18n-config';

interface HomeProps extends IPageParams {}

Expand Down
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import './_styles/globals.css';
import { PropsWithChildren } from 'react';

import { IPageParams, IStaticParams } from '@/interfaces';
import { i18n } from '#i18n';
import { i18n } from '~/locales/i18n-config';

import { AnybodyFont, FiraCodeFont } from './_styles/font';

Expand Down
2 changes: 1 addition & 1 deletion src/components/local-switcher/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import Link from 'next/link';
import { usePathname } from 'next/navigation';

import { i18n } from '#i18n';
import { css } from '#pcss/css';
import { i18n } from '~/locales/i18n-config';

interface LocaleSwitcherProps {
readonly title: string;
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/langs.interface.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { i18n } from '#i18n';
import { i18n } from '~/locales/i18n-config';

export type TLocale = (typeof i18n)['locales'][number];
export type TLangTranslate = Record<TLocale, string>;
Expand Down
2 changes: 1 addition & 1 deletion src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Negotiator from 'negotiator';
import type { NextRequest } from 'next/server';
import { NextResponse } from 'next/server';

import { i18n } from '#i18n';
import { i18n } from '~/locales/i18n-config';

import { TLocale } from './interfaces';

Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"paths": {
"@/*": ["./*"],
"#pcss/*": ["../styled-system/*"],
"#i18n": ["../i18n-config"],
"~/*": ["../public/*"]
},
"resolveJsonModule": true,
Expand Down
125 changes: 65 additions & 60 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,12 @@
"@jridgewell/resolve-uri" "^3.1.0"
"@jridgewell/sourcemap-codec" "^1.4.14"

"@next/env@13.4.19", "@next/env@^13.4.3":
"@next/env@13.4.20-canary.23":
version "13.4.20-canary.23"
resolved "https://registry.yarnpkg.com/@next/env/-/env-13.4.20-canary.23.tgz#145d002acbf8a69853dcf3e82ea0b674f379d173"
integrity sha512-A9D0duPlHD8wgzmyYvV1f+SxYUyh+LiqA3qeda83vNWoy34CO0irHhyUnEdgkNlg4Gx4NHpJgdrNwI8eZyHGvQ==

"@next/env@^13.4.3":
version "13.4.19"
resolved "https://registry.yarnpkg.com/@next/env/-/env-13.4.19.tgz#46905b4e6f62da825b040343cbc233144e9578d3"
integrity sha512-FsAT5x0jF2kkhNkKkukhsyYOrRqtSxrEhfliniIq0bwWbuXLgyt3Gv0Ml+b91XwjwArmuP7NxCiGd++GGKdNMQ==
Expand All @@ -1262,50 +1267,50 @@
dependencies:
glob "7.1.7"

"@next/swc-darwin-arm64@13.4.19":
version "13.4.19"
resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.4.19.tgz#77ad462b5ced4efdc26cb5a0053968d2c7dac1b6"
integrity sha512-vv1qrjXeGbuF2mOkhkdxMDtv9np7W4mcBtaDnHU+yJG+bBwa6rYsYSCI/9Xm5+TuF5SbZbrWO6G1NfTh1TMjvQ==

"@next/swc-darwin-x64@13.4.19":
version "13.4.19"
resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-13.4.19.tgz#aebe38713a4ce536ee5f2a291673e14b715e633a"
integrity sha512-jyzO6wwYhx6F+7gD8ddZfuqO4TtpJdw3wyOduR4fxTUCm3aLw7YmHGYNjS0xRSYGAkLpBkH1E0RcelyId6lNsw==

"@next/swc-linux-arm64-gnu@13.4.19":
version "13.4.19"
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.4.19.tgz#ec54db65b587939c7b94f9a84800f003a380f5a6"
integrity sha512-vdlnIlaAEh6H+G6HrKZB9c2zJKnpPVKnA6LBwjwT2BTjxI7e0Hx30+FoWCgi50e+YO49p6oPOtesP9mXDRiiUg==

"@next/swc-linux-arm64-musl@13.4.19":
version "13.4.19"
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.4.19.tgz#1f5e2c1ea6941e7d530d9f185d5d64be04279d86"
integrity sha512-aU0HkH2XPgxqrbNRBFb3si9Ahu/CpaR5RPmN2s9GiM9qJCiBBlZtRTiEca+DC+xRPyCThTtWYgxjWHgU7ZkyvA==

"@next/swc-linux-x64-gnu@13.4.19":
version "13.4.19"
resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.4.19.tgz#96b0882492a2f7ffcce747846d3680730f69f4d1"
integrity sha512-htwOEagMa/CXNykFFeAHHvMJeqZfNQEoQvHfsA4wgg5QqGNqD5soeCer4oGlCol6NGUxknrQO6VEustcv+Md+g==

"@next/swc-linux-x64-musl@13.4.19":
version "13.4.19"
resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.4.19.tgz#f276b618afa321d2f7b17c81fc83f429fb0fd9d8"
integrity sha512-4Gj4vvtbK1JH8ApWTT214b3GwUh9EKKQjY41hH/t+u55Knxi/0wesMzwQRhppK6Ddalhu0TEttbiJ+wRcoEj5Q==

"@next/swc-win32-arm64-msvc@13.4.19":
version "13.4.19"
resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.4.19.tgz#1599ae0d401da5ffca0947823dac577697cce577"
integrity sha512-bUfDevQK4NsIAHXs3/JNgnvEY+LRyneDN788W2NYiRIIzmILjba7LaQTfihuFawZDhRtkYCv3JDC3B4TwnmRJw==

"@next/swc-win32-ia32-msvc@13.4.19":
version "13.4.19"
resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.4.19.tgz#55cdd7da90818f03e4da16d976f0cb22045d16fd"
integrity sha512-Y5kikILFAr81LYIFaw6j/NrOtmiM4Sf3GtOc0pn50ez2GCkr+oejYuKGcwAwq3jiTKuzF6OF4iT2INPoxRycEA==

"@next/swc-win32-x64-msvc@13.4.19":
version "13.4.19"
resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.4.19.tgz#648f79c4e09279212ac90d871646ae12d80cdfce"
integrity sha512-YzA78jBDXMYiINdPdJJwGgPNT3YqBNNGhsthsDoWHL9p24tEJn9ViQf/ZqTbwSpX/RrkPupLfuuTH2sf73JBAw==
"@next/swc-darwin-arm64@13.4.20-canary.23":
version "13.4.20-canary.23"
resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.4.20-canary.23.tgz#7ebaae6cb7d3928f7eee75c0b8f1b70f6b9da19c"
integrity sha512-rAbOXjyZbTEQIhuxklJ4eEhWKBdockC+Fp2ePa4//6ehlEOR/k5p5xrVFugXUmMPkoUQ4x2CmhGRZo/MIW9Msw==

"@next/swc-darwin-x64@13.4.20-canary.23":
version "13.4.20-canary.23"
resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-13.4.20-canary.23.tgz#5f4168ec4967256a8f3b317e77441850d82d7e24"
integrity sha512-Aq9UA3QbZmW8q6ugJPN9znhGZjbkJXwDYyearfGpey8ZcbG6ZpLFbY1nPev1JvuX+G8Al9eo1E52thgVZe7otw==

"@next/swc-linux-arm64-gnu@13.4.20-canary.23":
version "13.4.20-canary.23"
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.4.20-canary.23.tgz#0a9431c59a80be8d85e697d11464fb2345e88262"
integrity sha512-Ad1Jk4Y2GEkTcLEauTIn/6FyijF6plrfexv1onGQDX/IB8y4dfJNalKVzCkU1Ihpz2GlDpNFI1UeHsY4/wSCmw==

"@next/swc-linux-arm64-musl@13.4.20-canary.23":
version "13.4.20-canary.23"
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.4.20-canary.23.tgz#ecbc0719af0cb9d73b6826565a7d2460a039f1fe"
integrity sha512-gxcBWDbMI2e4c3axO4ap67cpjwV9Ys7Itv2BPxknMsY39oS4Y6R6F1Rc1o4faB9A+BCM/J1PKMXKR9PPsno1QQ==

"@next/swc-linux-x64-gnu@13.4.20-canary.23":
version "13.4.20-canary.23"
resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.4.20-canary.23.tgz#aea0ecdcc9ecfcc019f8881f3ef78381ecbd0f7c"
integrity sha512-pe+WzX+mA+sycZm08eu9sQedNHutgmDEcJjM5AHUSEXDSRwyiqxXA/DbKOk2Y2zF4tfp3t5E1UnKX2BgH/60mw==

"@next/swc-linux-x64-musl@13.4.20-canary.23":
version "13.4.20-canary.23"
resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.4.20-canary.23.tgz#49e3f47bde943e3f499b1eeeb07826d477b799e2"
integrity sha512-tnAhn2hnGEWEfeDnj4GuAmU6A/XzQnsXTvEWTPgoWXV0vxFI7rt/I+eN03OaB8SQbCxKGmppHQXvA1AWCsWMwQ==

"@next/swc-win32-arm64-msvc@13.4.20-canary.23":
version "13.4.20-canary.23"
resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.4.20-canary.23.tgz#43288fe5fe6a79965b2b801665d27c9a91273bd2"
integrity sha512-SaGJVGVlDcACMk++vdfqWfq+dZTcV0Nlg6XRVY9Cf9VRpdstU249zbdHdbsmsOH837kUa3ynPeVbrBtA5YCuBw==

"@next/swc-win32-ia32-msvc@13.4.20-canary.23":
version "13.4.20-canary.23"
resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.4.20-canary.23.tgz#863968e424c36f9a8d2b953b156af593c612cfdb"
integrity sha512-EFGx2rJ2/q/0egn3uxuyHoOvlT9aP8YZ108TQ6a7ziIuWLZd4NGc+EVpT3iU0AtaIC2AJ+5ACBvA+1CUoSom3w==

"@next/swc-win32-x64-msvc@13.4.20-canary.23":
version "13.4.20-canary.23"
resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.4.20-canary.23.tgz#27e5b9c2dfa7fcb8da987afe03fc6fcfa9c2e19f"
integrity sha512-N3gHAoiuviv5ByRiU0m+ZxSgHtedRN5N1k+reOWVV5HzF5FtF5xdOx8frH/ToXaxVMjbgur5RWmha7mbuiOKZQ==

"@nodelib/fs.scandir@2.1.5":
version "2.1.5"
Expand Down Expand Up @@ -6889,7 +6894,7 @@ is-unicode-supported@^0.1.0:
resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7"
integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==

is-unicode-supported@^1.1.0, is-unicode-supported@^1.2.0, is-unicode-supported@^1.3.0:
is-unicode-supported@^1.1.0, is-unicode-supported@^1.2.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz#d824984b616c292a2e198207d4a609983842f714"
integrity sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==
Expand Down Expand Up @@ -8832,12 +8837,12 @@ next-sitemap@^4.x:
fast-glob "^3.2.12"
minimist "^1.2.8"

next@13.4:
version "13.4.19"
resolved "https://registry.yarnpkg.com/next/-/next-13.4.19.tgz#2326e02aeedee2c693d4f37b90e4f0ed6882b35f"
integrity sha512-HuPSzzAbJ1T4BD8e0bs6B9C1kWQ6gv8ykZoRWs5AQoiIuqbGHHdQO7Ljuvg05Q0Z24E2ABozHe6FxDvI6HfyAw==
next@^13.4.20-canary.23:
version "13.4.20-canary.23"
resolved "https://registry.yarnpkg.com/next/-/next-13.4.20-canary.23.tgz#e6cefb8b53a2c53c99bf3f4d1ca0cad450f3be64"
integrity sha512-JrBicEUUh9IIKiGQ445dkvDl2EabWGvGEnNWEaEeqZr9LGfdcWW1BiuHh9R8IOAnDkrdIIm5eJblML7Z9MUxCw==
dependencies:
"@next/env" "13.4.19"
"@next/env" "13.4.20-canary.23"
"@swc/helpers" "0.5.1"
busboy "1.6.0"
caniuse-lite "^1.0.30001406"
Expand All @@ -8846,15 +8851,15 @@ next@13.4:
watchpack "2.4.0"
zod "3.21.4"
optionalDependencies:
"@next/swc-darwin-arm64" "13.4.19"
"@next/swc-darwin-x64" "13.4.19"
"@next/swc-linux-arm64-gnu" "13.4.19"
"@next/swc-linux-arm64-musl" "13.4.19"
"@next/swc-linux-x64-gnu" "13.4.19"
"@next/swc-linux-x64-musl" "13.4.19"
"@next/swc-win32-arm64-msvc" "13.4.19"
"@next/swc-win32-ia32-msvc" "13.4.19"
"@next/swc-win32-x64-msvc" "13.4.19"
"@next/swc-darwin-arm64" "13.4.20-canary.23"
"@next/swc-darwin-x64" "13.4.20-canary.23"
"@next/swc-linux-arm64-gnu" "13.4.20-canary.23"
"@next/swc-linux-arm64-musl" "13.4.20-canary.23"
"@next/swc-linux-x64-gnu" "13.4.20-canary.23"
"@next/swc-linux-x64-musl" "13.4.20-canary.23"
"@next/swc-win32-arm64-msvc" "13.4.20-canary.23"
"@next/swc-win32-ia32-msvc" "13.4.20-canary.23"
"@next/swc-win32-x64-msvc" "13.4.20-canary.23"

nlcst-to-string@^3.0.0:
version "3.1.1"
Expand Down

0 comments on commit 2acff22

Please sign in to comment.