[READ-ONLY] Mirror of https://github.com/bombshell-dev/tools. Internal CLI to standardize tooling across all Bombshell projects
0

Configure Feed

Select the types of activity you want to include in your feed.

[ci] format

authored by

Nate Moore and committed by
bombshell-bot
(Mar 31, 2025, 4:52 AM UTC) 74a596c8 4652f975

+5 -3
+1 -1
src/commands/format.ts
··· 5 5 // standardized `format` command, runs `@biomejs/biome` and fixes formatting 6 6 export async function format(ctx: CommandContext) { 7 7 console.log("Formatting with Biome"); 8 - const stdio = x(local('biome'), ["check", "--write", "./src"]); 8 + const stdio = x(local("biome"), ["check", "--write", "./src"]); 9 9 10 10 for await (const line of stdio) { 11 11 console.log(line);
+1 -1
src/commands/lint.ts
··· 5 5 // standardized `lint` command, runs `@biomejs/biome` and generates a lint report 6 6 export async function lint(ctx: CommandContext) { 7 7 console.log("Linting with Biome"); 8 - const stdio = x(local('biome'), ["lint", "./src"]); 8 + const stdio = x(local("biome"), ["lint", "./src"]); 9 9 10 10 for await (const line of stdio) { 11 11 console.log(line);
+3 -1
src/utils.ts
··· 2 2 import escalade from "escalade"; 3 3 4 4 export function local(file: string) { 5 - return fileURLToPath(new URL(`../node_modules/.bin/${file}`, import.meta.url)) 5 + return fileURLToPath( 6 + new URL(`../node_modules/.bin/${file}`, import.meta.url), 7 + ); 6 8 } 7 9 8 10 export async function getPackageJSON() {