@cellarnode/i18n 0.3.1 → 0.3.2
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/dist/i18next-config.d.ts +2 -0
- package/dist/i18next-config.js +17 -0
- package/package.json +1 -1
package/dist/i18next-config.d.ts
CHANGED
package/dist/i18next-config.js
CHANGED
|
@@ -14,8 +14,25 @@ export default {
|
|
|
14
14
|
input: ['src/**/*.{ts,tsx}'],
|
|
15
15
|
output: 'public/locales/{{language}}/{{namespace}}.json',
|
|
16
16
|
defaultNamespace: 'common',
|
|
17
|
+
ignore: [
|
|
18
|
+
'src/components/ui/**', // shadcn/ui primitives — don't instrument
|
|
19
|
+
'src/hooks/**', // hooks — no user-facing text
|
|
20
|
+
'src/lib/**', // utilities, API clients
|
|
21
|
+
'src/providers/**', // context providers
|
|
22
|
+
'src/integrations/**', // third-party integrations
|
|
23
|
+
'src/assets/**', // static assets
|
|
24
|
+
'src/__tests__/**', // test files
|
|
25
|
+
'src/routeTree.gen.ts', // auto-generated route tree
|
|
26
|
+
],
|
|
17
27
|
},
|
|
18
28
|
lint: {
|
|
19
29
|
enabled: true,
|
|
30
|
+
ignore: [
|
|
31
|
+
'src/components/ui/**',
|
|
32
|
+
'src/hooks/**',
|
|
33
|
+
'src/lib/**',
|
|
34
|
+
'src/providers/**',
|
|
35
|
+
'src/integrations/**',
|
|
36
|
+
],
|
|
20
37
|
},
|
|
21
38
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cellarnode/i18n",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Shared i18n configuration for CellarNode frontends — language constants, i18next factory, browser locale detection, and common translations.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|