@twin.org/cli-core 0.0.1-next.23 → 0.0.1-next.24

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.
@@ -356,7 +356,7 @@ class CLIUtils {
356
356
  CLIDisplay.task(core.I18n.formatMessage("cli.progress.writingJsonFile"), filename);
357
357
  CLIDisplay.break();
358
358
  await promises.mkdir(path.dirname(filename), { recursive: true });
359
- await promises.writeFile(filename, JSON.stringify(core.ObjectHelper.merge(currentJson, data), undefined, "\t"));
359
+ await promises.writeFile(filename, `${JSON.stringify(core.ObjectHelper.merge(currentJson, data), undefined, "\t")}\n`);
360
360
  }
361
361
  }
362
362
  /**
@@ -335,7 +335,7 @@ class CLIUtils {
335
335
  CLIDisplay.task(I18n.formatMessage("cli.progress.writingJsonFile"), filename);
336
336
  CLIDisplay.break();
337
337
  await mkdir(path.dirname(filename), { recursive: true });
338
- await writeFile(filename, JSON.stringify(ObjectHelper.merge(currentJson, data), undefined, "\t"));
338
+ await writeFile(filename, `${JSON.stringify(ObjectHelper.merge(currentJson, data), undefined, "\t")}\n`);
339
339
  }
340
340
  }
341
341
  /**
package/docs/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @twin.org/cli-core - Changelog
2
2
 
3
- ## 0.0.1-next.23
3
+ ## 0.0.1-next.24
4
4
 
5
5
  - Initial Release
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/cli-core",
3
- "version": "0.0.1-next.23",
3
+ "version": "0.0.1-next.24",
4
4
  "description": "Core classes for building a CLI",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,8 +14,8 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/core": "0.0.1-next.23",
18
- "@twin.org/crypto": "0.0.1-next.23",
17
+ "@twin.org/core": "0.0.1-next.24",
18
+ "@twin.org/crypto": "0.0.1-next.24",
19
19
  "@twin.org/nameof": "next",
20
20
  "chalk": "5.4.1",
21
21
  "commander": "13.0.0",