@cellarnode/i18n 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.
@@ -18,6 +18,8 @@ declare const _default: {
18
18
  lint: {
19
19
  enabled: boolean;
20
20
  ignore: string[];
21
+ ignoredAttributes: string[];
22
+ ignoredTags: string[];
21
23
  };
22
24
  };
23
25
  export default _default;
@@ -33,6 +33,33 @@ export default {
33
33
  'src/lib/**',
34
34
  'src/providers/**',
35
35
  'src/integrations/**',
36
+ 'src/@types/**',
37
+ 'src/routeTree.gen.ts',
38
+ 'src/assets/**',
39
+ ],
40
+ // Attributes that often contain brand names, URLs, or non-translatable identifiers
41
+ ignoredAttributes: [
42
+ 'href',
43
+ 'src',
44
+ 'target',
45
+ 'rel',
46
+ 'type',
47
+ 'id',
48
+ 'name',
49
+ 'className',
50
+ 'htmlFor',
51
+ 'role',
52
+ 'viewBox',
53
+ 'd', // SVG path data
54
+ ],
55
+ // Tags whose text content is typically not user-facing prose
56
+ ignoredTags: [
57
+ 'code',
58
+ 'pre',
59
+ 'script',
60
+ 'style',
61
+ 'svg',
62
+ 'path',
36
63
  ],
37
64
  },
38
65
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cellarnode/i18n",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
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",