gtx-cli 2.5.25 → 2.5.27

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,5 +1,20 @@
1
1
  # gtx-cli
2
2
 
3
+ ## 2.5.27
4
+
5
+ ### Patch Changes
6
+
7
+ - [#880](https://github.com/generaltranslation/gt/pull/880) [`3dc7b64`](https://github.com/generaltranslation/gt/commit/3dc7b6460cd05ddcb656a247602f4f50b06312fd) Thanks [@fernando-aviles](https://github.com/fernando-aviles)! - Hotfix: sending format metadata to the API during build time translation
8
+
9
+ - Updated dependencies [[`3dc7b64`](https://github.com/generaltranslation/gt/commit/3dc7b6460cd05ddcb656a247602f4f50b06312fd)]:
10
+ - generaltranslation@8.1.2
11
+
12
+ ## 2.5.26
13
+
14
+ ### Patch Changes
15
+
16
+ - [#878](https://github.com/generaltranslation/gt/pull/878) [`5624f1c`](https://github.com/generaltranslation/gt/commit/5624f1c074ff9cb2065ed85dbb30fae24939f53e) Thanks [@fernando-aviles](https://github.com/fernando-aviles)! - Updating Mintlify preset to include `experimentalSort`
17
+
3
18
  ## 2.5.25
4
19
 
5
20
  ### Patch Changes
@@ -8,6 +8,7 @@ export function generatePreset(preset, type) {
8
8
  '$.navigation.languages': {
9
9
  type: 'array',
10
10
  key: '$.language',
11
+ experimentalSort: 'localesAlphabetical',
11
12
  include: [
12
13
  '$..group',
13
14
  '$..tab',
@@ -41,7 +41,7 @@ export async function collectFiles(options, settings, library) {
41
41
  fileFormat: 'GTJSON',
42
42
  formatMetadata: fileMetadata,
43
43
  fileId: TEMPLATE_FILE_ID,
44
- versionId: hashStringSync(JSON.stringify(fileData)),
44
+ versionId: hashStringSync(JSON.stringify({ data: fileData, metadata: fileMetadata })),
45
45
  });
46
46
  }
47
47
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gtx-cli",
3
- "version": "2.5.25",
3
+ "version": "2.5.27",
4
4
  "main": "dist/index.js",
5
5
  "bin": "dist/main.js",
6
6
  "files": [
@@ -104,7 +104,7 @@
104
104
  "unified": "^11.0.5",
105
105
  "unist-util-visit": "^5.0.0",
106
106
  "yaml": "^2.8.0",
107
- "generaltranslation": "8.1.1"
107
+ "generaltranslation": "8.1.2"
108
108
  },
109
109
  "devDependencies": {
110
110
  "@babel/types": "^7.28.4",