Loading tutorials
sfdx-project.json. The Salesforce CLI (sf) reads that file to learn where your source lives, which API version to use, and which packages the project define6 min readsf) installed, Git available, and a basic grasp of Salesforce metadata such as Apex classes and Lightning web components. You will generate a project, then look at each top-level file and folder to see what it does and which CLI commands read it.5 min readsf project generate, you know what a custom object, field, and Apex class are, and you can read XML. It explains why the files under force-app look the way they do and how they correspond to what the org stores.5 min readsf) installed, can read JSON, and know the basic Salesforce metadata types such as Apex classes and Lightning web components. You should also have generated a project once with sf project generate.5 min readsf CLI reads sfdx-project.json from the project root. It covers the packageDirectories array: what each entry means, how the default flag works, and the errors that come from getting it 5 min readsfdx-project.json that apply to the whole project rather than to one package directory. It assumes you have generated a project with sf project generate, you can read JSON, and you have authorized at least one org with the Salesforce CLI (sf).5 min readsfdx-project.json lives, and have run sf project deploy start and sf project retrieve start. It covers what .forceignore does, the pattern rules it follows, and the mistakes that cause confusing results.5 min readsfdx-project.json, and run basic sf commands against an authorized Dev Hub. It covers the scratch org definition file: what it controls, how the CLI finds it, and the errors you will meet most often.5 min readsf commands, have an authorized org, and have read the earlier chapters on the project layout, packageDirectories, project-level settings, and .forceignore. Here you will see how those pieces combine when you run sf project deploy start and `sf project retrie5 min readsfdx-project.json and know that packageDirectories is its main array. It also assumes you know the standard force-app/main/default layout and have deployed source with the sf CLI. Here you will split one project into several source folders and learn how the 5 min readsfdx-project.json, know what packageDirectories and the default flag do, and have the sf CLI authorized against a Dev Hub org. Later chapters cover packageAliases and depend5 min readsfdx-project.json, know what a package directory is, and have seen the package, versionName, and versionNumber fields. Here you will learn what the packageAliases section holds, who writes to it, and how the CLI uses it.4 min readsfdx-project.json, know what an entry in packageDirectories looks like, and have seen the package, versionNumber, and packageAliases fields from the earlier chapters. Here you will learn how one package declares that it needs another, and why the order of 4 min readsf commands, and already know the roles of sfdx-project.json, .forceignore, and the scratch org definition file from earlier chapters. It teaches a repeatable way to diagnose configuration problems, then walks through the errors you will meet most of7 min read