From aac9bec0e11311bd6009f3fc650aa57c490ff5f8 Mon Sep 17 00:00:00 2001 From: David Snelling Date: Wed, 2 Jul 2025 10:26:15 -0700 Subject: [PATCH] **chore(scripts): add `prepare` script for pre-publish build steps** - Introduced a `prepare` script in `package.json` that runs `build` and `build:cli` before package deployment. - Ensures that necessary build artifacts are created automatically during the publish process. This change streamlines the deployment workflow by automating pre-publish preparation tasks. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 2a2f0b6c..73736ef5 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,7 @@ "format": "prettier --write \"src/**/*.{ts,js}\"", "check-format": "prettier --check \"src/**/*.{ts,js}\"", "check-style": "node scripts/check-code-style.js", + "prepare": "npm run build && npm run build:cli", "deploy": "npm run build && npm publish", "deploy:cloud:aws": "cd cloud-wrapper && npm run build && npm run deploy:aws", "deploy:cloud:gcp": "cd cloud-wrapper && npm run build && npm run deploy:gcp",