[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.

fix(build): empty dependencies

Nate Moore (Apr 26, 2025, 9:11 PM -0500) fe016ca4 60e62d4e

+6 -1
+5
.changeset/violet-rabbits-fold.md
··· 1 + --- 2 + "@bomb.sh/tools": patch 3 + --- 4 + 5 + Fixes an issue when a package.json doesn't have any dependencies
+1 -1
src/commands/build.ts
··· 4 4 import { getPackageJSON } from "../utils.ts"; 5 5 6 6 export async function build(ctx: CommandContext) { 7 - const { dependencies } = await getPackageJSON(); 7 + const { dependencies = {} } = await getPackageJSON(); 8 8 await rm("dist", { recursive: true, force: true }); 9 9 await esbuild({ 10 10 entryPoints: ["src/*", "src/**/*"],