@trackunit/react-graphql-tools 1.15.4 → 1.15.5

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 1.15.5 (2026-08-13)
2
+
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated react-vite-test-setup to 0.0.100
6
+
1
7
  ## 1.15.4 (2026-08-12)
2
8
 
3
9
  ### 🧱 Updated Dependencies
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-graphql-tools",
3
- "version": "1.15.4",
3
+ "version": "1.15.5",
4
4
  "main": "src/index.js",
5
5
  "executors": "./executors.json",
6
6
  "generators": "./generators.json",
@@ -35,7 +35,7 @@ const scrubFileContent = async (fileContent, _nxRoot, isVerbose, providedSourceF
35
35
  let resultFileContent = "";
36
36
  const scalarsType = sourceFile.getTypeAliasOrThrow("Scalars");
37
37
  scalarsType.getEndLineNumber();
38
- resultFileContent += fileContent.split("\n").slice(0, scalarsType.getEndLineNumber()).join("\n") + "\n";
38
+ resultFileContent += `${fileContent.split("\n").slice(0, scalarsType.getEndLineNumber()).join("\n")}\n`;
39
39
  const alreadyAdded = sourceFile
40
40
  .getTypeAliases()
41
41
  .filter(typeAlias => typeAlias.getStartLineNumber() < scalarsType.getEndLineNumber())
@@ -49,22 +49,22 @@ const scrubFileContent = async (fileContent, _nxRoot, isVerbose, providedSourceF
49
49
  const typeName = enumType.getName();
50
50
  if (preservedTypes.has(typeName) && !alreadyAdded.includes(typeName) && !(0, utils_1.isFragment)(typeName)) {
51
51
  alreadyAdded.push(typeName);
52
- resultFileContent += "\n" + (0, utils_1.convertEnumToConstObject)(enumType) + "\n";
52
+ resultFileContent += `\n${(0, utils_1.convertEnumToConstObject)(enumType)}\n`;
53
53
  }
54
54
  });
55
55
  sourceFile.getTypeAliases().forEach(typeAlias => {
56
56
  const typeName = typeAlias.getName();
57
57
  if (preservedTypes.has(typeName) && !alreadyAdded.includes(typeName) && !(0, utils_1.isFragment)(typeName)) {
58
58
  alreadyAdded.push(typeName);
59
- resultFileContent += "\n" + typeAlias.getText() + "\n";
59
+ resultFileContent += `\n${typeAlias.getText()}\n`;
60
60
  }
61
61
  });
62
62
  const resultQueryAndMutations = queryAndMutations.map(queryOrMutation => queryOrMutation.getFullText()).join("\n");
63
- const result = resultFileContent + "\n" + resultQueryAndMutations;
63
+ const result = `${resultFileContent}\n${resultQueryAndMutations}`;
64
64
  if (isVerbose) {
65
65
  const end = new Date().getTime();
66
66
  const time = end - start;
67
- console.log("Execution time: " + time);
67
+ console.log(`Execution time: ${time}`);
68
68
  }
69
69
  return result;
70
70
  };
@@ -305,7 +305,7 @@ const scrubMockFileContent = async (fileContent, _nxRoot, isVerbose, providedSou
305
305
  if (isVerbose) {
306
306
  const end = new Date().getTime();
307
307
  const time = end - start;
308
- console.log("Mock Execution time: " + time);
308
+ console.log(`Mock Execution time: ${time}`);
309
309
  }
310
310
  const mock = mockThese.map(mocker => {
311
311
  const postFix = (mocker.getName().includes("Query") ? "Query" : "Mutation").length;