claude-ws 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/i18n/request.ts +10 -9
package/package.json
CHANGED
package/src/i18n/request.ts
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { getRequestConfig } from 'next-intl/server';
|
|
2
2
|
import { locales, type Locale } from './config';
|
|
3
3
|
|
|
4
|
-
// Static imports for Turbopack compatibility
|
|
4
|
+
// Static imports with relative paths for Turbopack compatibility
|
|
5
|
+
// (tsconfig path aliases like @/locales/* don't resolve in global npm installs)
|
|
5
6
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6
7
|
const messageImports: Record<Locale, () => Promise<{ default: Record<string, any> }>> = {
|
|
7
|
-
de: () => import('
|
|
8
|
-
en: () => import('
|
|
9
|
-
es: () => import('
|
|
10
|
-
fr: () => import('
|
|
11
|
-
ja: () => import('
|
|
12
|
-
ko: () => import('
|
|
13
|
-
vi: () => import('
|
|
14
|
-
zh: () => import('
|
|
8
|
+
de: () => import('../../locales/de.json'),
|
|
9
|
+
en: () => import('../../locales/en.json'),
|
|
10
|
+
es: () => import('../../locales/es.json'),
|
|
11
|
+
fr: () => import('../../locales/fr.json'),
|
|
12
|
+
ja: () => import('../../locales/ja.json'),
|
|
13
|
+
ko: () => import('../../locales/ko.json'),
|
|
14
|
+
vi: () => import('../../locales/vi.json'),
|
|
15
|
+
zh: () => import('../../locales/zh.json'),
|
|
15
16
|
};
|
|
16
17
|
|
|
17
18
|
export default getRequestConfig(async ({ requestLocale }) => {
|