From cf9b258fb513f0654bdc221b110259de58d9cd2a Mon Sep 17 00:00:00 2001 From: Katie Redderson-Lear Date: Fri, 10 Jan 2025 14:46:19 -0800 Subject: [PATCH 1/2] remove browserify, replace with esbuild --- packages/cli/docs/cli.html | 2 +- packages/cli/docs/cli.md | 2 +- packages/cli/package.json | 2 +- packages/cli/src/oclif/commands/build.js | 2 +- packages/cli/src/tests/utils/build.js | 6 +- packages/cli/src/utils/build.js | 64 +- yarn.lock | 889 +++++------------------ 7 files changed, 201 insertions(+), 766 deletions(-) diff --git a/packages/cli/docs/cli.html b/packages/cli/docs/cli.html index d48bdd3d5..66557dd74 100644 --- a/packages/cli/docs/cli.html +++ b/packages/cli/docs/cli.html @@ -352,7 +352,7 @@

build

  • Copies all code into the temporary folder
  • Adds an entry point: zapierwrapper.js
  • Generates and validates app definition.
  • -
  • Detects dependencies via browserify (optional, on by default)
  • +
  • Detects dependencies via esbuild (optional, on by default)
  • Zips up all needed .js files. If you want to include more files, add a "includeInBuild" property (array with strings of regexp paths) to your .zapierapprc.
  • Moves the zip to build/build.zip and build/source.zip and deletes the temp folder
  • This command is typically followed by zapier upload.

    Flags