symfonia-ai-tools 1.3.0 → 1.4.0
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/lib/questions.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
section, tableRow, dim, yellow, green, cyan, bold, boldGreen, boldYellow,
|
|
7
7
|
boldCyan, white, gray, info,
|
|
8
8
|
} from './ui.mjs';
|
|
9
|
-
import { t, setLang } from './i18n.mjs';
|
|
9
|
+
import { t, setLang, getLang } from './i18n.mjs';
|
|
10
10
|
|
|
11
11
|
// ─── Skill → MCP/CLI dependencies ───
|
|
12
12
|
|
|
@@ -273,7 +273,8 @@ async function askPackPlaceholders(answers, allPacks) {
|
|
|
273
273
|
section(t('q.section.placeholders'));
|
|
274
274
|
|
|
275
275
|
for (const q of questions) {
|
|
276
|
-
|
|
276
|
+
const label = (getLang() === 'en' && q.question_en) ? q.question_en : q.question;
|
|
277
|
+
answers[placeholderToAnswerKey(q.key)] = await ask(label, q.default);
|
|
277
278
|
}
|
|
278
279
|
}
|
|
279
280
|
|
package/package.json
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
"description": "Docker Compose — komendy w kontenerze",
|
|
4
4
|
"default": false,
|
|
5
5
|
"placeholders": {
|
|
6
|
-
"DOCKER_CONTAINER": { "question": "Nazwa kontenera Docker", "default": "app" }
|
|
6
|
+
"DOCKER_CONTAINER": { "question": "Nazwa kontenera Docker", "question_en": "Docker container name", "default": "app" }
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Testy end-to-end z Page Object Model",
|
|
4
4
|
"default": false,
|
|
5
5
|
"placeholders": {
|
|
6
|
-
"PLAYWRIGHT_DIR": { "question": "Katalog testow Playwright", "default": "tests/e2e" },
|
|
7
|
-
"BASE_URL": { "question": "Base URL aplikacji", "default": "http://localhost:3000" }
|
|
6
|
+
"PLAYWRIGHT_DIR": { "question": "Katalog testow Playwright", "question_en": "Playwright tests directory", "default": "tests/e2e" },
|
|
7
|
+
"BASE_URL": { "question": "Base URL aplikacji", "question_en": "Application base URL", "default": "http://localhost:3000" }
|
|
8
8
|
}
|
|
9
9
|
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"description": "Composition API, Pinia, composables, forms, API",
|
|
4
4
|
"default": true,
|
|
5
5
|
"placeholders": {
|
|
6
|
-
"MODULE_PATH": { "question": "Sciezka do modulow", "default": "/src/modules/[feature]/" },
|
|
7
|
-
"COMPONENT_LIB_PATH": { "question": "Sciezka do komponentow UI", "default": "/src/components/" },
|
|
8
|
-
"COMPONENT_LIB_IMPORT": { "question": "Import komponentow", "default": "@/components" },
|
|
9
|
-
"API_BASE_URL": { "question": "Bazowy URL API", "default": "/api/v4" }
|
|
6
|
+
"MODULE_PATH": { "question": "Sciezka do modulow", "question_en": "Modules path", "default": "/src/modules/[feature]/" },
|
|
7
|
+
"COMPONENT_LIB_PATH": { "question": "Sciezka do komponentow UI", "question_en": "UI components path", "default": "/src/components/" },
|
|
8
|
+
"COMPONENT_LIB_IMPORT": { "question": "Import komponentow", "question_en": "Components import path", "default": "@/components" },
|
|
9
|
+
"API_BASE_URL": { "question": "Bazowy URL API", "question_en": "API base URL", "default": "/api/v4" }
|
|
10
10
|
}
|
|
11
11
|
}
|