@salesforce/templates 66.9.2 → 66.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,18 +1,58 @@
1
- # Salesforce DX Project: Next Steps
1
+ # Salesforce DX Project
2
2
 
3
- Now that you’ve created a Salesforce DX project, what’s next? Here are some documentation resources to get you started.
3
+ Salesforce DX is a development approach that brings source-driven development, team collaboration, and continuous integration to the Salesforce Platform. Instead of working directly in an org through a web browser, you work with metadata as source files in a local DX project, track changes in version control, and deploy through automated processes.
4
4
 
5
- ## How Do You Plan to Deploy Your Changes?
5
+ This project template gets you started with the tools and structure you need to build Salesforce applications using source control, scratch orgs, and the Salesforce CLI.
6
6
 
7
- Do you want to deploy a set of changes, or create a self-contained application? Choose a [development model](https://developer.salesforce.com/tools/vscode/en/user-guide/development-models).
7
+ ## Prerequisites
8
8
 
9
- ## Configure Your Salesforce DX Project
9
+ Before you start, make sure you have:
10
10
 
11
- The `sfdx-project.json` file contains useful configuration information for your project. See [Salesforce DX Project Configuration](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_ws_config.htm) in the _Salesforce DX Developer Guide_ for details about this file.
11
+ - **Salesforce CLI** - Download from [developer.salesforce.com/tools/salesforcecli](https://developer.salesforce.com/tools/salesforcecli). See [Install Salesforce CLI](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm) for details.
12
+ - **VS Code with Salesforce Extension Pack** - See [Installation Instructions](https://developer.salesforce.com/docs/platform/sfvscode-extensions/guide/install.html) for details. Includes the Agentforce Vibes extension.
13
+ - **A development org** - Sign up for a free Developer Edition org [here](https://developer.salesforce.com/signup).
14
+ - **Dev Hub enabled** (optional, required to create scratch orgs) - You can enable Dev Hub in your development org under Setup > Dev Hub. See [Provide Developers Access to Salesforce DX Tools](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_setup_dx_tools.htm).
12
15
 
13
- ## Read All About It
16
+ ## Project Structure
17
+
18
+ Your DX project follows this structure:
19
+
20
+ - **`force-app/main/default/`** - Your metadata source files live in this default package directory. You can configure additional package directories in the `sfdx-project.json` file.
21
+ - **`config/`** - Scratch org definitions and project settings
22
+ - **`scripts/`** - Automation scripts for common tasks
23
+ - **`sfdx-project.json`** - Project manifest that defines package directories, namespace, API version, and other project-level settings
24
+
25
+ See [Salesforce DX Project Configuration](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_ws_config.htm).
26
+
27
+ ## Get Started
28
+
29
+ Ready to start developing? The [Get Started with Salesforce DX](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_get_started_dx.htm) guide walks you through your first project, from creating a scratch org to creating a simple Apex class or LWC to deploying your code to a sandbox.
30
+
31
+ ## Common Salesforce CLI Commands
32
+
33
+ Here are common CLI commands that you'll use the most:
34
+
35
+ - `sf org login web`: Authorize an org
36
+ - `sf org open`: Open your org in a browser
37
+ - `sf org create scratch`: Create a scratch org
38
+ - `sf project deploy start`: Deploy metadata to your org
39
+ - `sf project retrieve start`: Retrieve metadata from your org
40
+ - `sf template generate <artifact>`: Scaffold new components, such as Apex classes and triggers, LWC components, Lightning apps, and more
41
+ - `sf apex <command>`: Run Apex tests, run anonymous Apex blocks, and view logs
42
+ - `sf data <command>`: Work with test data
43
+ - `sf alias <command>`: Manage org aliases
44
+ - `sf config <command>`: Configure CLI settings
45
+
46
+ ## Use Agentforce Vibes to Build Lightning Apps
47
+
48
+ Transform your ideas into custom Lightning apps that extend CRM workflows directly in Lightning Experience. Through natural conversations with Agentforce Vibes, implement custom objects and fields, complex business logic, and dynamic UI components. See [Build a Lightning App Using Agentforce Vibes](https://developer.salesforce.com/docs/platform/einstein-for-devs/guide/lexapp-overview.html).
49
+
50
+ ## Additional Resources
51
+
52
+ - [Agentforce Vibes Developer Guide](https://developer.salesforce.com/docs/platform/einstein-for-devs/guide/einstein-overview.html)
53
+ - [Salesforce CLI Installation Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm)
54
+ - [Salesforce DX Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/)
55
+ - [Salesforce CLI Command Reference](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/)
56
+ - [Salesforce CLI Plugin Development Guide](https://developer.salesforce.com/docs/platform/salesforce-cli-plugin/guide/conceptual-overview.html)
57
+ - [Salesforce VS Code Extensions Documentation](https://developer.salesforce.com/tools/vscode/)
14
58
 
15
- - [Salesforce Extensions Documentation](https://developer.salesforce.com/tools/vscode/)
16
- - [Salesforce CLI Setup Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm)
17
- - [Salesforce DX Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_intro.htm)
18
- - [Salesforce CLI Command Reference](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference.htm)