maestro-bundle 1.2.0 → 1.2.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.
- package/package.json +1 -1
- package/src/cli.mjs +8 -4
package/package.json
CHANGED
package/src/cli.mjs
CHANGED
|
@@ -343,19 +343,23 @@ async function main() {
|
|
|
343
343
|
spinner4.info("specify-cli não encontrado");
|
|
344
344
|
const spinner4b = ora("Instalando specify-cli...").start();
|
|
345
345
|
try {
|
|
346
|
-
|
|
346
|
+
const SPECKIT_VERSION = "v0.4.3";
|
|
347
|
+
execSync(`uv tool install specify-cli --from git+https://github.com/github/spec-kit.git@${SPECKIT_VERSION}`, {
|
|
347
348
|
stdio: "ignore", timeout: 120000,
|
|
348
349
|
});
|
|
349
350
|
specifyInstalled = true;
|
|
350
|
-
spinner4b.succeed(
|
|
351
|
+
spinner4b.succeed(`specify-cli ${SPECKIT_VERSION} instalado`);
|
|
351
352
|
} catch {
|
|
352
353
|
try {
|
|
353
|
-
|
|
354
|
+
const SPECKIT_VERSION = "v0.4.3";
|
|
355
|
+
execSync(`pip install specify-cli --src git+https://github.com/github/spec-kit.git@${SPECKIT_VERSION}`, {
|
|
356
|
+
stdio: "ignore", timeout: 60000,
|
|
357
|
+
});
|
|
354
358
|
specifyInstalled = true;
|
|
355
359
|
spinner4b.succeed("specify-cli instalado via pip");
|
|
356
360
|
} catch {
|
|
357
361
|
spinner4b.warn("Não foi possível instalar. Instale manualmente:");
|
|
358
|
-
console.log(chalk.dim(" uv tool install specify-cli --from git+https://github.com/github/spec-kit.git"));
|
|
362
|
+
console.log(chalk.dim(" uv tool install specify-cli --from git+https://github.com/github/spec-kit.git@v0.4.3"));
|
|
359
363
|
}
|
|
360
364
|
}
|
|
361
365
|
}
|