Skip to content

Commit 378dfdd

Browse files
authored
feat: add next-international framework (#1007)
* feat: next-international framework * feat: improve scopedT regex matching * feat: add detect hard string function
1 parent 289af25 commit 378dfdd

File tree

17 files changed

+517
-1
lines changed

17 files changed

+517
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/node_modules
2+
/.next/
3+
.DS_Store
4+
tsconfig.tsbuildinfo
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"i18n-ally.localesPaths": "src/locales",
3+
"i18n-ally.enabledFrameworks": ["next-international"],
4+
"eslint.enable": false,
5+
"i18n-ally.enabledParsers": ["ts"],
6+
"i18n-ally.keystyle": "flat"
7+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/// <reference types="next" />
2+
/// <reference types="next/image-types/global" />
3+
4+
// NOTE: This file should not be edited
5+
// see https://nextjs.org/docs/basic-features/typescript for more information.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
i18n: {
3+
locales: ["en", "fr"],
4+
defaultLocale: "en"
5+
}
6+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "next-international",
3+
"version": "0.0.1",
4+
"private": true,
5+
"scripts": {
6+
"dev": "next dev",
7+
"lint": "tsc",
8+
"build": "next build",
9+
"start": "next start"
10+
},
11+
"dependencies": {
12+
"next": "^13.4.0",
13+
"next-international": "^0.9.5",
14+
"react": "^18.2.0",
15+
"react-dom": "^18.2.0"
16+
},
17+
"devDependencies": {
18+
"@types/node": "^17.0.23",
19+
"@types/react": "^18.2.5",
20+
"typescript": "^5.0.0"
21+
}
22+
}
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export default {
2+
hello: "Hello",
3+
"hello.world": "Hello world!",
4+
welcome: "Hello {name}!",
5+
"child.hello": "Hello child!"
6+
} as const;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export default {
2+
hello: "Bonjour",
3+
"hello.world": "Bonjour Monde!",
4+
welcome: "Bonjour {name}!",
5+
"child.hello": "Bonjour enfant!"
6+
} as const;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { createI18n } from 'next-international'
2+
3+
export const { useI18n, useScopedI18n, I18nProvider, getLocaleProps } = createI18n({
4+
en: () => import('./en'),
5+
fr: () => import('./fr')
6+
})
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { I18nProvider } from '../locales'
2+
import { AppProps } from 'next/app'
3+
4+
export default function App({ Component, pageProps }: AppProps) {
5+
return (
6+
<I18nProvider locale={pageProps.locale}>
7+
<Component {...pageProps} />
8+
</I18nProvider>
9+
)
10+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import { useI18n, useScopedI18n } from "../locales";
2+
3+
export default function Page() {
4+
const t = useI18n();
5+
const scopedT = useScopedI18n("hello");
6+
7+
return (
8+
<div>
9+
<p>{t("hello")}</p>
10+
11+
{/* Both are equivalent: */}
12+
<p>{t("hello.world")}</p>
13+
<p>{scopedT("world")}</p>
14+
15+
<p>{t("welcome", { name: "John" })}</p>
16+
<p>{t("welcome", { name: <strong>John</strong> })}</p>
17+
<Child />
18+
</div>
19+
);
20+
}
21+
22+
const Child = () => {
23+
const scopedT = useScopedI18n("child");
24+
25+
return <p>{scopedT("hello")}</p>;
26+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"compilerOptions": {
3+
"lib": ["dom", "dom.iterable", "esnext"],
4+
"allowJs": true,
5+
"skipLibCheck": true,
6+
"strict": true,
7+
"noEmit": true,
8+
"incremental": true,
9+
"esModuleInterop": true,
10+
"module": "esnext",
11+
"moduleResolution": "node",
12+
"resolveJsonModule": true,
13+
"isolatedModules": true,
14+
"jsx": "preserve"
15+
},
16+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
17+
"exclude": ["node_modules"]
18+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,252 @@
1+
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2+
# yarn lockfile v1
3+
4+
5+
6+
version "13.4.19"
7+
resolved "https://registry.yarnpkg.com/@next/env/-/env-13.4.19.tgz#46905b4e6f62da825b040343cbc233144e9578d3"
8+
integrity sha512-FsAT5x0jF2kkhNkKkukhsyYOrRqtSxrEhfliniIq0bwWbuXLgyt3Gv0Ml+b91XwjwArmuP7NxCiGd++GGKdNMQ==
9+
10+
11+
version "13.4.19"
12+
resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.4.19.tgz#77ad462b5ced4efdc26cb5a0053968d2c7dac1b6"
13+
integrity sha512-vv1qrjXeGbuF2mOkhkdxMDtv9np7W4mcBtaDnHU+yJG+bBwa6rYsYSCI/9Xm5+TuF5SbZbrWO6G1NfTh1TMjvQ==
14+
15+
16+
version "13.4.19"
17+
resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-13.4.19.tgz#aebe38713a4ce536ee5f2a291673e14b715e633a"
18+
integrity sha512-jyzO6wwYhx6F+7gD8ddZfuqO4TtpJdw3wyOduR4fxTUCm3aLw7YmHGYNjS0xRSYGAkLpBkH1E0RcelyId6lNsw==
19+
20+
21+
version "13.4.19"
22+
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.4.19.tgz#ec54db65b587939c7b94f9a84800f003a380f5a6"
23+
integrity sha512-vdlnIlaAEh6H+G6HrKZB9c2zJKnpPVKnA6LBwjwT2BTjxI7e0Hx30+FoWCgi50e+YO49p6oPOtesP9mXDRiiUg==
24+
25+
26+
version "13.4.19"
27+
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.4.19.tgz#1f5e2c1ea6941e7d530d9f185d5d64be04279d86"
28+
integrity sha512-aU0HkH2XPgxqrbNRBFb3si9Ahu/CpaR5RPmN2s9GiM9qJCiBBlZtRTiEca+DC+xRPyCThTtWYgxjWHgU7ZkyvA==
29+
30+
31+
version "13.4.19"
32+
resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.4.19.tgz#96b0882492a2f7ffcce747846d3680730f69f4d1"
33+
integrity sha512-htwOEagMa/CXNykFFeAHHvMJeqZfNQEoQvHfsA4wgg5QqGNqD5soeCer4oGlCol6NGUxknrQO6VEustcv+Md+g==
34+
35+
36+
version "13.4.19"
37+
resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.4.19.tgz#f276b618afa321d2f7b17c81fc83f429fb0fd9d8"
38+
integrity sha512-4Gj4vvtbK1JH8ApWTT214b3GwUh9EKKQjY41hH/t+u55Knxi/0wesMzwQRhppK6Ddalhu0TEttbiJ+wRcoEj5Q==
39+
40+
41+
version "13.4.19"
42+
resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.4.19.tgz#1599ae0d401da5ffca0947823dac577697cce577"
43+
integrity sha512-bUfDevQK4NsIAHXs3/JNgnvEY+LRyneDN788W2NYiRIIzmILjba7LaQTfihuFawZDhRtkYCv3JDC3B4TwnmRJw==
44+
45+
46+
version "13.4.19"
47+
resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.4.19.tgz#55cdd7da90818f03e4da16d976f0cb22045d16fd"
48+
integrity sha512-Y5kikILFAr81LYIFaw6j/NrOtmiM4Sf3GtOc0pn50ez2GCkr+oejYuKGcwAwq3jiTKuzF6OF4iT2INPoxRycEA==
49+
50+
51+
version "13.4.19"
52+
resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.4.19.tgz#648f79c4e09279212ac90d871646ae12d80cdfce"
53+
integrity sha512-YzA78jBDXMYiINdPdJJwGgPNT3YqBNNGhsthsDoWHL9p24tEJn9ViQf/ZqTbwSpX/RrkPupLfuuTH2sf73JBAw==
54+
55+
56+
version "0.5.1"
57+
resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.5.1.tgz#e9031491aa3f26bfcc974a67f48bd456c8a5357a"
58+
integrity sha512-sJ902EfIzn1Fa+qYmjdQqh8tPsoxyBz+8yBKC2HKUxyezKJFwPGOn7pv4WY6QuQW//ySQi5lJjA/ZT9sNWWNTg==
59+
dependencies:
60+
tslib "^2.4.0"
61+
62+
"@types/node@^17.0.23":
63+
version "17.0.45"
64+
resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.45.tgz#2c0fafd78705e7a18b7906b5201a522719dc5190"
65+
integrity sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==
66+
67+
"@types/prop-types@*":
68+
version "15.7.5"
69+
resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.5.tgz#5f19d2b85a98e9558036f6a3cacc8819420f05cf"
70+
integrity sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==
71+
72+
"@types/react@^18.2.5":
73+
version "18.2.21"
74+
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.21.tgz#774c37fd01b522d0b91aed04811b58e4e0514ed9"
75+
integrity sha512-neFKG/sBAwGxHgXiIxnbm3/AAVQ/cMRS93hvBpg8xYRbeQSPVABp9U2bRnPf0iI4+Ucdv3plSxKK+3CW2ENJxA==
76+
dependencies:
77+
"@types/prop-types" "*"
78+
"@types/scheduler" "*"
79+
csstype "^3.0.2"
80+
81+
"@types/scheduler@*":
82+
version "0.16.3"
83+
resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.3.tgz#cef09e3ec9af1d63d2a6cc5b383a737e24e6dcf5"
84+
integrity sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ==
85+
86+
87+
version "1.6.0"
88+
resolved "https://registry.yarnpkg.com/busboy/-/busboy-1.6.0.tgz#966ea36a9502e43cdb9146962523b92f531f6893"
89+
integrity sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==
90+
dependencies:
91+
streamsearch "^1.1.0"
92+
93+
caniuse-lite@^1.0.30001406:
94+
version "1.0.30001525"
95+
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001525.tgz#d2e8fdec6116ffa36284ca2c33ef6d53612fe1c8"
96+
integrity sha512-/3z+wB4icFt3r0USMwxujAqRvaD/B7rvGTsKhbhSQErVrJvkZCLhgNLJxU8MevahQVH6hCU9FsHdNUFbiwmE7Q==
97+
98+
[email protected], client-only@^0.0.1:
99+
version "0.0.1"
100+
resolved "https://registry.yarnpkg.com/client-only/-/client-only-0.0.1.tgz#38bba5d403c41ab150bff64a95c85013cf73bca1"
101+
integrity sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==
102+
103+
csstype@^3.0.2:
104+
version "3.1.2"
105+
resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.2.tgz#1d4bf9d572f11c14031f0436e1c10bc1f571f50b"
106+
integrity sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==
107+
108+
glob-to-regexp@^0.4.1:
109+
version "0.4.1"
110+
resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e"
111+
integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==
112+
113+
graceful-fs@^4.1.2:
114+
version "4.2.11"
115+
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3"
116+
integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==
117+
118+
international-types@^0.8.0:
119+
version "0.8.0"
120+
resolved "https://registry.yarnpkg.com/international-types/-/international-types-0.8.0.tgz#a3d027ad59d8de9b53fa8c448f8fe9b1bc558097"
121+
integrity sha512-cJwagIBzMG0FTK81TABeSBU0eReIXWmvW18m/URn8ZA+GLoWIcdL43kfjArwHVmZJ1n+IFchsBj8tQLYUqmwnA==
122+
123+
"js-tokens@^3.0.0 || ^4.0.0":
124+
version "4.0.0"
125+
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
126+
integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==
127+
128+
loose-envify@^1.1.0:
129+
version "1.4.0"
130+
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"
131+
integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==
132+
dependencies:
133+
js-tokens "^3.0.0 || ^4.0.0"
134+
135+
nanoid@^3.3.4:
136+
version "3.3.6"
137+
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.6.tgz#443380c856d6e9f9824267d960b4236ad583ea4c"
138+
integrity sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==
139+
140+
next-international@^0.9.5:
141+
version "0.9.5"
142+
resolved "https://registry.yarnpkg.com/next-international/-/next-international-0.9.5.tgz#6127f1799fa41bbb9d17450458e4b04c77cb697e"
143+
integrity sha512-yS6DnuNAK+2EO5KWLgw2FPGwBkQ8gylrG0vNSeJD0/BAHSyIpPCn6E+1KPzawQffB5r6wVP6vHjDoSlUOxWWew==
144+
dependencies:
145+
client-only "^0.0.1"
146+
international-types "^0.8.0"
147+
server-only "^0.0.1"
148+
149+
next@^13.4.0:
150+
version "13.4.19"
151+
resolved "https://registry.yarnpkg.com/next/-/next-13.4.19.tgz#2326e02aeedee2c693d4f37b90e4f0ed6882b35f"
152+
integrity sha512-HuPSzzAbJ1T4BD8e0bs6B9C1kWQ6gv8ykZoRWs5AQoiIuqbGHHdQO7Ljuvg05Q0Z24E2ABozHe6FxDvI6HfyAw==
153+
dependencies:
154+
"@next/env" "13.4.19"
155+
"@swc/helpers" "0.5.1"
156+
busboy "1.6.0"
157+
caniuse-lite "^1.0.30001406"
158+
postcss "8.4.14"
159+
styled-jsx "5.1.1"
160+
watchpack "2.4.0"
161+
zod "3.21.4"
162+
optionalDependencies:
163+
"@next/swc-darwin-arm64" "13.4.19"
164+
"@next/swc-darwin-x64" "13.4.19"
165+
"@next/swc-linux-arm64-gnu" "13.4.19"
166+
"@next/swc-linux-arm64-musl" "13.4.19"
167+
"@next/swc-linux-x64-gnu" "13.4.19"
168+
"@next/swc-linux-x64-musl" "13.4.19"
169+
"@next/swc-win32-arm64-msvc" "13.4.19"
170+
"@next/swc-win32-ia32-msvc" "13.4.19"
171+
"@next/swc-win32-x64-msvc" "13.4.19"
172+
173+
picocolors@^1.0.0:
174+
version "1.0.0"
175+
resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c"
176+
integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==
177+
178+
179+
version "8.4.14"
180+
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.14.tgz#ee9274d5622b4858c1007a74d76e42e56fd21caf"
181+
integrity sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==
182+
dependencies:
183+
nanoid "^3.3.4"
184+
picocolors "^1.0.0"
185+
source-map-js "^1.0.2"
186+
187+
react-dom@^18.2.0:
188+
version "18.2.0"
189+
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d"
190+
integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==
191+
dependencies:
192+
loose-envify "^1.1.0"
193+
scheduler "^0.23.0"
194+
195+
react@^18.2.0:
196+
version "18.2.0"
197+
resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5"
198+
integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==
199+
dependencies:
200+
loose-envify "^1.1.0"
201+
202+
scheduler@^0.23.0:
203+
version "0.23.0"
204+
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe"
205+
integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==
206+
dependencies:
207+
loose-envify "^1.1.0"
208+
209+
server-only@^0.0.1:
210+
version "0.0.1"
211+
resolved "https://registry.yarnpkg.com/server-only/-/server-only-0.0.1.tgz#0f366bb6afb618c37c9255a314535dc412cd1c9e"
212+
integrity sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA==
213+
214+
source-map-js@^1.0.2:
215+
version "1.0.2"
216+
resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c"
217+
integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==
218+
219+
streamsearch@^1.1.0:
220+
version "1.1.0"
221+
resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-1.1.0.tgz#404dd1e2247ca94af554e841a8ef0eaa238da764"
222+
integrity sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==
223+
224+
225+
version "5.1.1"
226+
resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-5.1.1.tgz#839a1c3aaacc4e735fed0781b8619ea5d0009d1f"
227+
integrity sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==
228+
dependencies:
229+
client-only "0.0.1"
230+
231+
tslib@^2.4.0:
232+
version "2.6.2"
233+
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae"
234+
integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==
235+
236+
typescript@^5.0.0:
237+
version "5.2.2"
238+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78"
239+
integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==
240+
241+
242+
version "2.4.0"
243+
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.0.tgz#fa33032374962c78113f93c7f2fb4c54c9862a5d"
244+
integrity sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==
245+
dependencies:
246+
glob-to-regexp "^0.4.1"
247+
graceful-fs "^4.1.2"
248+
249+
250+
version "3.21.4"
251+
resolved "https://registry.yarnpkg.com/zod/-/zod-3.21.4.tgz#10882231d992519f0a10b5dd58a38c9dabbb64db"
252+
integrity sha512-m46AKbrzKVzOzs/DZgVnG5H55N1sv1M8qZU3A8RIKbs3mrACDNeIOeilDymVb2HdmP8uwshOCF4uJ8uM9rCqJw==

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,8 @@
834834
"jekyll",
835835
"fluent-vue",
836836
"fluent-vue-sfc",
837-
"next-intl"
837+
"next-intl",
838+
"next-international"
838839
]
839840
},
840841
"description": "%config.enabled_frameworks%"

0 commit comments

Comments
 (0)