From b5bbee744b1e486bc228467b924a007b296c25f1 Mon Sep 17 00:00:00 2001 From: Tommy Duong Date: Wed, 17 Jun 2026 20:51:47 -0700 Subject: [PATCH] fix: move esbuild from devDependencies to dependencies esbuild is imported at runtime in src/services/extension/bundler.ts and transitively loaded on CLI startup via src/core/applications.ts. Because it was in devDependencies, it was not installed when users installed @godaddy/cli from npm, causing ERR_MODULE_NOT_FOUND errors on all commands including --version. The CLI only worked for users who happened to have esbuild installed in their project or globally, making this a silent packaging bug. This fix ensures esbuild is always available at runtime. Fixes versions: 0.5.1, 0.5.2, 0.5.3 Co-Authored-By: Claude Sonnet 4.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 53b5a37..4139d32 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,6 @@ "@types/semver": "^7.7.0", "@vitest/coverage-v8": "^3.2.2", "@vitest/ui": "^3.2.2", - "esbuild": "^0.25.12", "ms": "^2.1.3", "msw": "^2.4.0", "tsx": "^4.19.3", @@ -66,6 +65,7 @@ "arktype": "^2.1.9", "copy-to-clipboard": "^3.3.3", "effect": "^3.19.19", + "esbuild": "^0.25.12", "gql.tada": "^1.8.10", "graphql": "^16.10.0", "graphql-request": "^7.1.2",