@kununu/phraseapp-cli 4.0.3-beta.0 → 4.0.3-beta.1

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.
@@ -82,7 +82,7 @@ function extractTranslationKeys() {
82
82
 
83
83
  if (Object.keys(possibleDynamicKeys).length > 0) {
84
84
  console.log(
85
- `${Object.keys(possibleDynamicKeys).length} files contain possible dynamic keys were saved in ${POSSIBLE_DYNAMIC_KEYS_FILE}`,
85
+ `${Object.keys(possibleDynamicKeys).length} files contain possible dynamic keys were saved in ${POSSIBLE_DYNAMIC_KEYS_FILE}`.yellow.bold,
86
86
  );
87
87
  writeFileSync(
88
88
  POSSIBLE_DYNAMIC_KEYS_FILE,
@@ -91,7 +91,7 @@ function extractTranslationKeys() {
91
91
  } else if (existsSync(POSSIBLE_DYNAMIC_KEYS_FILE)) {
92
92
  unlinkSync(POSSIBLE_DYNAMIC_KEYS_FILE);
93
93
  console.log(
94
- `${POSSIBLE_DYNAMIC_KEYS_FILE} was deleted as there are no possible dynamic keys.`,
94
+ `${POSSIBLE_DYNAMIC_KEYS_FILE} was deleted as there are no possible dynamic keys.`.green.bold,
95
95
  );
96
96
  }
97
97
 
@@ -139,19 +139,19 @@ function compareKeys() {
139
139
  } else if (existsSync(MISSING_KEYS_FILE)) {
140
140
  unlinkSync(MISSING_KEYS_FILE);
141
141
  console.log(
142
- `${MISSING_KEYS_FILE} was deleted as there are no missing keys.`,
142
+ `${MISSING_KEYS_FILE} was deleted as there are no missing keys.`.green.bold,
143
143
  );
144
144
  }
145
145
 
146
146
  if (unusedKeys.length > 0) {
147
147
  writeFileSync(UNUSED_KEYS_FILE, JSON.stringify(unusedKeys, null, 2));
148
148
  console.log(
149
- `${unusedKeys.length} unused keys were saved in ${UNUSED_KEYS_FILE}`,
149
+ `${unusedKeys.length} unused keys were saved in ${UNUSED_KEYS_FILE}`.yellow.bold,
150
150
  );
151
151
  } else if (existsSync(UNUSED_KEYS_FILE)) {
152
152
  unlinkSync(UNUSED_KEYS_FILE);
153
153
  console.log(
154
- `${UNUSED_KEYS_FILE} was deleted as there are no missing keys.`,
154
+ `${UNUSED_KEYS_FILE} was deleted as there are no unused keys.`.green.bold,
155
155
  );
156
156
  }
157
157
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kununu/phraseapp-cli",
3
- "version": "4.0.3-beta.0",
3
+ "version": "4.0.3-beta.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "kununu",