@tolgee/cli 2.4.1 → 2.4.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.
@@ -1,4 +1,8 @@
1
1
  export const ngxMapper = (token) => {
2
+ // custom tag names have dynamic token names
3
+ if (token.type?.startsWith('entity.name.tag.html.ng.')) {
4
+ return 'tag.name';
5
+ }
2
6
  switch (token.type) {
3
7
  // ngx template tags
4
8
  case 'punctuation.definition.tag.begin.html':
@@ -1,4 +1,4 @@
1
- // <T key-name="my_key" /> -> <T keyName="key" />
1
+ // <T key-name="my_key" /> -> <T keyName="my_key" />
2
2
  // ^^^^^^^^ ^^^^^^^
3
3
  export const hyphenPropsMerger = {
4
4
  initial: 0 /* S.Idle */,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tolgee/cli",
3
- "version": "2.4.1",
3
+ "version": "2.4.2",
4
4
  "type": "module",
5
5
  "description": "A tool to interact with the Tolgee Platform through CLI",
6
6
  "repository": {