Loading tutorials
sf) reads to know what to deploy, retrieve, and package. This chapter gives the working model. Later chapters cover each file in detail.2 min readsf) installed, know basic Salesforce concepts (orgs, metadata, Apex, Lightning web components), and are comfortable with a terminal and Git. You will generate a project and learn what each top-level file and folder does.2 min readsf) installed, can read JSON, and have generated a project with sf project generate. You should also know what metadata is and what an org is.3 min readsf project deploy start. You should also know that source format places metadata under force-app/main/default.2 min readsfdx-project.json that sit beside packageDirectories. It assumes you can read JSON, have the sf CLI installed, and have already generated a project. These keys apply to the whole project, not to one package directory.2 min readsfdx-project.json file and know what a package directory is. It also assumes you have run sf project deploy start and sf project retrieve start at least once.2 min readsfdx-project.json, and have the Salesforce CLI (sf) installed with a Dev Hub org authorized. A Dev Hub is the org that creates and tracks scratch orgs.2 min readsfdx-project.json lives, and you have an authorized org or a scratch org. It shows how the project file decides what sf project deploy start and sf project retrieve start send and receive.3 min readsfdx-project.json, and run sf project deploy start. It builds on the packageDirectories array and the default directory.2 min readsfdx-project.json, know what packageDirectories and the default directory are, and have a Dev Hub org enabled for packaging. You will turn a plain package directory into an unlocked package by adding three fields.2 min readpackageDirectories and the package field do, and have the Salesforce CLI (sf) installed. It covers the packageAliases section of sfdx-project.json. That section connects human-readable names to Salesforce package IDs.2 min readsfdx-project.json, know what a package directory is, and have seen the package, versionName, and versionNumber fields. Here you will see how one package declares that it needs another, and why the order of entries in packageDirectories matters.2 min readsf) installed. It also assumes you know what packageDirectories, .forceignore, and packageAliases do. Most project errors come from a small set of mistakes in sfdx-project.json. Learn to match e3 min read