@salesforce/source-deploy-retrieve

JavaScript library to run Salesforce metadata deploys and retrieves

Usage no npm install needed!

<script type="module">
  import salesforceSourceDeployRetrieve from 'https://cdn.skypack.dev/@salesforce/source-deploy-retrieve';
</script>

README

Salesforce source-deploy-retrieve

CircleCI License npm (scoped) Commitizen friendly

Introduction

A JavaScript toolkit for working with Salesforce metadata. Built to support the SFDX deploy and retrieve experience in the Salesforce VS Code Extensions, CLI plugins, and other tools working with metadata.

Features

  • Resolve Salesforce metadata files into JavaScript objects
  • Parse and generate manifest files
  • Convert source files between SFDX File Formats
  • Generate metadata packages with the option to automatically create a zip file
  • Deploy and retrieve metadata with an org
  • An index to reference available metadata types.
  • Utilize promises with async/await syntax

Usage

Install the package:

npm install @salesforce/source-deploy-retrieve

See HANDBOOK.md for usage and examples.

Contributing

See CONTRIBUTING.md for details on how to contribute to the library.

See developing.md for details on building and testing the library locally.

Publishing

SDR publishes when changes are merged into main. The version is bumped per the rules of the release orb and standard-version.