gt 2.14.42 → 2.14.43

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,11 @@
1
1
  # gtx-cli
2
2
 
3
+ ## 2.14.43
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1502](https://github.com/generaltranslation/gt/pull/1502) [`0c5cb81`](https://github.com/generaltranslation/gt/commit/0c5cb817468acf1b140ec5371aa003c739584579) Thanks [@ErnestM1234](https://github.com/ErnestM1234)! - Remove default target locales from the setup prompt.
8
+
3
9
  ## 2.14.42
4
10
 
5
11
  ### Patch Changes
@@ -1 +1 @@
1
- export declare const PACKAGE_VERSION = "2.14.42";
1
+ export declare const PACKAGE_VERSION = "2.14.43";
@@ -1,5 +1,5 @@
1
1
  //#region src/generated/version.ts
2
- const PACKAGE_VERSION = "2.14.42";
2
+ const PACKAGE_VERSION = "2.14.43";
3
3
  //#endregion
4
4
  export { PACKAGE_VERSION };
5
5
 
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","names":[],"sources":["../../src/generated/version.ts"],"sourcesContent":["// This file is auto-generated. Do not edit manually.\nexport const PACKAGE_VERSION = '2.14.42';\n"],"mappings":";AACA,MAAa,kBAAkB"}
1
+ {"version":3,"file":"version.js","names":[],"sources":["../../src/generated/version.ts"],"sourcesContent":["// This file is auto-generated. Do not edit manually.\nexport const PACKAGE_VERSION = '2.14.43';\n"],"mappings":";AACA,MAAa,kBAAkB"}
@@ -7,16 +7,7 @@ async function getDesiredLocales() {
7
7
  message: "What is the default locale for your project?",
8
8
  defaultValue: libraryDefaultLocale
9
9
  }),
10
- locales: await promptLocaleList({
11
- message: "Which languages would you like to translate your project into?",
12
- defaultValue: [
13
- "es",
14
- "fr",
15
- "de",
16
- "ja",
17
- "zh"
18
- ]
19
- })
10
+ locales: await promptLocaleList({ message: "Which languages would you like to translate your project into?" })
20
11
  };
21
12
  }
22
13
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"userInput.js","names":[],"sources":["../../src/setup/userInput.ts"],"sourcesContent":["import { libraryDefaultLocale } from 'generaltranslation/internal';\nimport { promptLocale, promptLocaleList } from '../console/logging.js';\n\nexport async function getDesiredLocales(): Promise<{\n defaultLocale: string;\n locales: string[];\n}> {\n // Ask for the default locale\n const defaultLocale = await promptLocale({\n message: 'What is the default locale for your project?',\n defaultValue: libraryDefaultLocale,\n });\n\n // Ask for the locales\n const locales = await promptLocaleList({\n message: 'Which languages would you like to translate your project into?',\n defaultValue: ['es', 'fr', 'de', 'ja', 'zh'],\n });\n return { defaultLocale, locales };\n}\n"],"mappings":";;;AAGA,eAAsB,oBAGnB;AAYD,QAAO;EAAE,eAAA,MAVmB,aAAa;GACvC,SAAS;GACT,cAAc;GACf,CAAC;EAOsB,SAAA,MAJF,iBAAiB;GACrC,SAAS;GACT,cAAc;IAAC;IAAM;IAAM;IAAM;IAAM;IAAK;GAC7C,CAAC;EAC+B"}
1
+ {"version":3,"file":"userInput.js","names":[],"sources":["../../src/setup/userInput.ts"],"sourcesContent":["import { libraryDefaultLocale } from 'generaltranslation/internal';\nimport { promptLocale, promptLocaleList } from '../console/logging.js';\n\nexport async function getDesiredLocales(): Promise<{\n defaultLocale: string;\n locales: string[];\n}> {\n // Ask for the default locale\n const defaultLocale = await promptLocale({\n message: 'What is the default locale for your project?',\n defaultValue: libraryDefaultLocale,\n });\n\n // Ask for the locales\n const locales = await promptLocaleList({\n message: 'Which languages would you like to translate your project into?',\n });\n return { defaultLocale, locales };\n}\n"],"mappings":";;;AAGA,eAAsB,oBAGnB;AAWD,QAAO;EAAE,eAAA,MATmB,aAAa;GACvC,SAAS;GACT,cAAc;GACf,CAAC;EAMsB,SAAA,MAHF,iBAAiB,EACrC,SAAS,kEACV,CAAC;EAC+B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gt",
3
- "version": "2.14.42",
3
+ "version": "2.14.43",
4
4
  "main": "dist/index.js",
5
5
  "bin": "bin/main.js",
6
6
  "files": [
@@ -114,8 +114,8 @@
114
114
  "unist-util-visit": "^5.0.0",
115
115
  "yaml": "^2.8.0",
116
116
  "@generaltranslation/format": "0.1.1",
117
- "@generaltranslation/supported-locales": "2.1.1",
118
117
  "@generaltranslation/python-extractor": "0.2.22",
118
+ "@generaltranslation/supported-locales": "2.1.1",
119
119
  "generaltranslation": "8.2.16",
120
120
  "gt-remark": "1.0.7"
121
121
  },