@drone1/alt 1.1.1 → 1.1.2

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@drone1/alt",
4
- "version": "1.1.1",
4
+ "version": "1.1.2",
5
5
  "description": "An AI-powered localization tool",
6
6
  "main": "src/index.mjs",
7
7
  "bin": {
@@ -366,6 +366,11 @@ export async function runTranslation({ appState, options, log }) {
366
366
  log.T(taskInfo)
367
367
  const progress = 100 * Math.floor(100 * taskInfoIdx / totalTasks) / 100
368
368
 
369
+ // Broadcast progress for CI
370
+ if (process.env.CI) {
371
+ console.log(`::notice::${progress}% - ${taskInfo.targetLang}/${taskInfo.key}`)
372
+ }
373
+
369
374
  await new Listr([
370
375
  {
371
376
  title: localizeFormatted({