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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-ws",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "private": false,
5
5
  "description": "A beautifully crafted workspace interface for Claude Code with real-time streaming and local SQLite database",
6
6
  "keywords": [
@@ -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 (dynamic template literal imports not supported)
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('@/locales/de.json'),
8
- en: () => import('@/locales/en.json'),
9
- es: () => import('@/locales/es.json'),
10
- fr: () => import('@/locales/fr.json'),
11
- ja: () => import('@/locales/ja.json'),
12
- ko: () => import('@/locales/ko.json'),
13
- vi: () => import('@/locales/vi.json'),
14
- zh: () => import('@/locales/zh.json'),
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 }) => {