Merge pull request 'chore: address #219 review comments' (#220) from fix/219-review-followup into main
This commit is contained in:
@@ -45,6 +45,8 @@ function biomeJson(): string {
|
|||||||
{
|
{
|
||||||
$schema: "https://biomejs.dev/schemas/2.4.14/schema.json",
|
$schema: "https://biomejs.dev/schemas/2.4.14/schema.json",
|
||||||
files: {
|
files: {
|
||||||
|
// Exclude generated bundle script — it uses Bun globals and console that
|
||||||
|
// conflict with the workspace's Biome rules (noConsole, etc.).
|
||||||
includes: ["**", "!**/node_modules", "!**/dist", "!scripts/bundle.ts"],
|
includes: ["**", "!**/node_modules", "!**/dist", "!scripts/bundle.ts"],
|
||||||
},
|
},
|
||||||
formatter: {
|
formatter: {
|
||||||
|
|||||||
@@ -150,6 +150,8 @@ async function collectInteractiveSetup(): Promise<Result<SetupCliArgs, string>>
|
|||||||
if (baseUrl === "") {
|
if (baseUrl === "") {
|
||||||
return err("base URL must not be empty");
|
return err("base URL must not be empty");
|
||||||
}
|
}
|
||||||
|
// Note: readline does not support masked input; API key is visible during entry.
|
||||||
|
// Acceptable for a local dev CLI — not a production-facing prompt.
|
||||||
const apiKey = await promptLine(rl, "API key: ");
|
const apiKey = await promptLine(rl, "API key: ");
|
||||||
if (apiKey === "") {
|
if (apiKey === "") {
|
||||||
return err("API key must not be empty");
|
return err("API key must not be empty");
|
||||||
|
|||||||
Reference in New Issue
Block a user