gtx-cli 1.2.30-alpha.23 → 1.2.30-alpha.25

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.
@@ -77,9 +77,9 @@ export default function addGTIdentifierToSyntaxTree(tree, startingIndex = 0) {
77
77
  const variableType = minifyVariableType(type);
78
78
  const variableName = getVariableName(props, type, indexObject.index);
79
79
  return {
80
- v: variableType,
81
80
  i: indexObject.index,
82
81
  k: variableName,
82
+ v: variableType,
83
83
  };
84
84
  }
85
85
  // Construct the data-_gt prop
@@ -219,7 +219,6 @@ export function parseJSXElement(importAliases, node, updates, errors, file) {
219
219
  const whitespaceHandledTree = handleChildrenWhitespace(jsxTree);
220
220
  // Add GT identifiers to the tree
221
221
  let minifiedTree = addGTIdentifierToSyntaxTree(whitespaceHandledTree);
222
- console.log('minifiedTree', JSON.stringify(minifiedTree, null, 2));
223
222
  minifiedTree =
224
223
  Array.isArray(minifiedTree) && minifiedTree.length === 1
225
224
  ? minifiedTree[0]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gtx-cli",
3
- "version": "1.2.30-alpha.23",
3
+ "version": "1.2.30-alpha.25",
4
4
  "main": "dist/index.js",
5
5
  "bin": "dist/main.js",
6
6
  "files": [
@@ -87,7 +87,7 @@
87
87
  "esbuild": "^0.25.4",
88
88
  "fast-glob": "^3.3.3",
89
89
  "form-data": "^4.0.2",
90
- "generaltranslation": "^7.0.0-alpha.23",
90
+ "generaltranslation": "^7.0.0-alpha.25",
91
91
  "open": "^10.1.1",
92
92
  "ora": "^8.2.0",
93
93
  "resolve": "^1.22.10",