refacil-sdd-ai 2.1.0 → 2.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/bin/cli.js +4 -3
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -212,9 +212,10 @@ function checkUpdate() {
|
|
|
212
212
|
|
|
213
213
|
if (latest && latest !== localVersion) {
|
|
214
214
|
console.log(
|
|
215
|
-
`
|
|
216
|
-
|
|
217
|
-
`Si acepta, ejecuta: npm update -g refacil-sdd-ai && refacil-sdd-ai update
|
|
215
|
+
`IMPORTANTE — ANTES de responder cualquier pregunta del usuario, informa lo siguiente:\n` +
|
|
216
|
+
`"Hay una nueva version de la metodologia SDD-AI: v${localVersion} -> v${latest}. Deseas que la actualice ahora?"\n` +
|
|
217
|
+
`Si el usuario acepta, ejecuta: npm update -g refacil-sdd-ai && refacil-sdd-ai update\n` +
|
|
218
|
+
`Si el usuario rechaza o quiere continuar, responde su pregunta normalmente.`,
|
|
218
219
|
);
|
|
219
220
|
}
|
|
220
221
|
} catch (_) {
|
package/package.json
CHANGED