create-rubrica 0.3.1 → 0.3.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/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1277,7 +1277,7 @@ Configure-as em: https://dashboard.convex.dev`
|
|
|
1277
1277
|
}
|
|
1278
1278
|
|
|
1279
1279
|
// src/commands/setup.ts
|
|
1280
|
-
import { outro as outro4, text as text2, password, spinner, isCancel as isCancel5, cancel as cancel5 } from "@clack/prompts";
|
|
1280
|
+
import { outro as outro4, text as text2, password, spinner, isCancel as isCancel5, cancel as cancel5, log as log3 } from "@clack/prompts";
|
|
1281
1281
|
import * as nodeFsPromises13 from "fs/promises";
|
|
1282
1282
|
import * as path8 from "path";
|
|
1283
1283
|
import * as nodeCrypto from "crypto";
|
|
@@ -1463,11 +1463,11 @@ async function runSetup(deps = {}) {
|
|
|
1463
1463
|
const e = err;
|
|
1464
1464
|
const output = e.stdout?.toString() ?? e.stderr?.toString() ?? e.message ?? "";
|
|
1465
1465
|
if (output.includes("Root user already exists")) {
|
|
1466
|
-
|
|
1466
|
+
log3.warn("Admin j\xE1 configurado \u2014 credenciais mantidas. Para redefinir, acesse o Convex Dashboard.");
|
|
1467
1467
|
} else {
|
|
1468
1468
|
cancel5(`Erro ao criar usu\xE1rio root: ${output || String(err)}`);
|
|
1469
|
+
return;
|
|
1469
1470
|
}
|
|
1470
|
-
return;
|
|
1471
1471
|
}
|
|
1472
1472
|
if (plugins["proposals"]) {
|
|
1473
1473
|
try {
|