A Gulp plugin for deploying Salesforce metadata packages using JSforce's Metadata API, eliminating the need for the Force.com Migration Tool (Ant/Java). Version 1.1.2 is the latest stable release. It handles zip packaging and deployment with configurable login URL, poll timeout, and API version. Differentiators include pure Node.js implementation, seamless integration with Gulp build pipelines, and no external Java dependencies.
npm install gulp-jsforce-deployNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows complete Gulp task that zips a Salesforce metadata directory and deploys it using credentials from environment variables.
Always pipe .pipe(zip('pkg.zip')) before forceDeploy.Use return gulp.src(...).pipe(...).pipe(forceDeploy(...)) or use async/await with promise.
Explicitly set version to your Salesforce API version (e.g., '55.0').
Always check that SF_USERNAME and SF_PASSWORD are set before running.
Use JSforce directly for advanced operations like destructive deployments.
Add .pipe(zip('pkg.zip')) before forceDeploy.Provide valid username and password via environment variables or options.
Set version option to match your Salesforce API version.
Check package.xml and ensure zip structure is correct (base folder as root).