@salesforce/webapp-template-app-react-sample-b2x-experimental 1.71.1 → 1.71.2

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.
package/dist/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.71.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.71.1...v1.71.2) (2026-03-05)
7
+
8
+ **Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
9
+
10
+
11
+
12
+
13
+
6
14
  ## [1.71.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.71.0...v1.71.1) (2026-03-05)
7
15
 
8
16
  **Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
package/dist/README.md CHANGED
@@ -1,10 +1,80 @@
1
- # Salesforce DX Project: Next Steps
1
+ # App React Sample B2X
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
+ A B2X (Business-to-Consumer) sample React web app for Salesforce Experience Cloud. Demonstrates property listings, maintenance requests, and a dashboard with an app shell designed for external-facing deployment. Built with React, Vite, TypeScript, and Tailwind/shadcn.
4
4
 
5
- ## How Do You Plan to Deploy Your Changes?
5
+ ## What's included
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
+ | Path | Description |
8
+ | ----------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
9
+ | `force-app/main/default/webapplications/appreactsampleb2x/` | React web app (source, config, tests) |
10
+ | `force-app/main/default/objects/` | 17 custom objects — Agent\_\_c, Application\_\_c, KPI_Snapshot\_\_c, Lease\_\_c, Maintenance_Request\_\_c, Maintenance_Worker\_\_c, Notification\_\_c, Payment\_\_c, Property\_\_c, Property_Cost\_\_c, Property_Feature\_\_c, Property_Image\_\_c, Property_Listing\_\_c, Property_Management_Company\_\_c, Property_Owner\_\_c, Property_Sale\_\_c, Tenant\_\_c |
11
+ | `force-app/main/default/layouts/` | Page layouts for each custom object |
12
+ | `force-app/main/default/permissionsets/` | `Property_Management_Access` permission set |
13
+ | `force-app/main/default/classes/` | Apex classes — `MaintenanceRequestListAction`, `MaintenanceRequestUpdatePriorityAction` |
14
+ | `force-app/main/default/cspTrustedSites/` | CSP trusted sites for external resources (Google Fonts, Pexels, Unsplash, GitHub Avatars) |
15
+ | `force-app/main/default/data/` | Sample data (JSON) for all objects, importable via `sf data import tree` |
16
+ | `force-app/main/default/digitalExperienceConfigs/` | Experience Cloud site configuration |
17
+ | `force-app/main/default/digitalExperiences/` | Experience Cloud site definition |
18
+ | `force-app/main/default/networks/` | Experience Cloud network |
19
+ | `force-app/main/default/sites/` | Salesforce site |
20
+
21
+ ## Getting started
22
+
23
+ Navigate to the web app and install dependencies:
24
+
25
+ ```bash
26
+ cd force-app/main/default/webapplications/appreactsampleb2x
27
+ npm install
28
+ npm run dev
29
+ ```
30
+
31
+ Opens at http://localhost:5173 by default. For build and test instructions, see the [web app README](force-app/main/default/webapplications/appreactsampleb2x/README.md).
32
+
33
+ ## Deploy
34
+
35
+ ### Deploy everything (metadata + Experience Cloud site + web app)
36
+
37
+ ```bash
38
+ cd force-app/main/default/webapplications/appreactsampleb2x && npm install && npm run build && cd -
39
+ sf project deploy start --source-dir force-app --target-org <alias>
40
+ ```
41
+
42
+ ### Deploy the web app only
43
+
44
+ ```bash
45
+ cd force-app/main/default/webapplications/appreactsampleb2x && npm install && npm run build && cd -
46
+ sf project deploy start --source-dir force-app/main/default/webapplications --target-org <alias>
47
+ ```
48
+
49
+ ### Deploy metadata only (objects, layouts, permission sets, Apex classes)
50
+
51
+ ```bash
52
+ sf project deploy start \
53
+ --source-dir force-app/main/default/objects \
54
+ --source-dir force-app/main/default/layouts \
55
+ --source-dir force-app/main/default/permissionsets \
56
+ --source-dir force-app/main/default/classes \
57
+ --target-org <alias>
58
+ ```
59
+
60
+ ### Deploy Experience Cloud site only
61
+
62
+ ```bash
63
+ sf project deploy start \
64
+ --source-dir force-app/main/default/digitalExperienceConfigs \
65
+ --source-dir force-app/main/default/digitalExperiences \
66
+ --source-dir force-app/main/default/networks \
67
+ --source-dir force-app/main/default/sites \
68
+ --target-org <alias>
69
+ ```
70
+
71
+ Replace `<alias>` with your target org alias.
72
+
73
+ ## Import sample data
74
+
75
+ ```bash
76
+ sf data import tree --plan force-app/main/default/data/data-plan.json --target-org <alias>
77
+ ```
8
78
 
9
79
  ## Configure Your Salesforce DX Project
10
80
 
@@ -15,8 +15,8 @@
15
15
  "graphql:schema": "node scripts/get-graphql-schema.mjs"
16
16
  },
17
17
  "dependencies": {
18
- "@salesforce/sdk-data": "^1.71.1",
19
- "@salesforce/webapp-experimental": "^1.71.1",
18
+ "@salesforce/sdk-data": "^1.71.2",
19
+ "@salesforce/webapp-experimental": "^1.71.2",
20
20
  "@tailwindcss/vite": "^4.1.17",
21
21
  "@tanstack/react-form": "^1.28.4",
22
22
  "@types/leaflet": "^1.9.21",
@@ -43,7 +43,7 @@
43
43
  "@graphql-eslint/eslint-plugin": "^4.1.0",
44
44
  "@graphql-tools/utils": "^11.0.0",
45
45
  "@playwright/test": "^1.49.0",
46
- "@salesforce/vite-plugin-webapp-experimental": "^1.71.1",
46
+ "@salesforce/vite-plugin-webapp-experimental": "^1.71.2",
47
47
  "@testing-library/jest-dom": "^6.6.3",
48
48
  "@testing-library/react": "^16.1.0",
49
49
  "@testing-library/user-event": "^14.5.2",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/webapp-template-base-sfdx-project-experimental",
3
- "version": "1.71.1",
3
+ "version": "1.71.2",
4
4
  "description": "Base SFDX project template",
5
5
  "private": true,
6
6
  "files": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/webapp-template-app-react-sample-b2x-experimental",
3
- "version": "1.71.1",
3
+ "version": "1.71.2",
4
4
  "description": "B2C sample app template with app shell",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "",
@@ -1,88 +0,0 @@
1
- # App React Sample B2X
2
-
3
- A B2X (Business-to-Consumer) sample React web app for Salesforce Experience Cloud. Demonstrates property listings, maintenance requests, and a dashboard with an app shell designed for external-facing deployment. Built with React, Vite, TypeScript, and Tailwind/shadcn.
4
-
5
- ## What's included
6
-
7
- | Path | Description |
8
- | ----------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
9
- | `force-app/main/default/webapplications/appreactsampleb2x/` | React web app (source, config, tests) |
10
- | `force-app/main/default/objects/` | 17 custom objects — Agent\_\_c, Application\_\_c, KPI_Snapshot\_\_c, Lease\_\_c, Maintenance_Request\_\_c, Maintenance_Worker\_\_c, Notification\_\_c, Payment\_\_c, Property\_\_c, Property_Cost\_\_c, Property_Feature\_\_c, Property_Image\_\_c, Property_Listing\_\_c, Property_Management_Company\_\_c, Property_Owner\_\_c, Property_Sale\_\_c, Tenant\_\_c |
11
- | `force-app/main/default/layouts/` | Page layouts for each custom object |
12
- | `force-app/main/default/permissionsets/` | `Property_Management_Access` permission set |
13
- | `force-app/main/default/classes/` | Apex classes — `MaintenanceRequestListAction`, `MaintenanceRequestUpdatePriorityAction` |
14
- | `force-app/main/default/cspTrustedSites/` | CSP trusted sites for external resources (Google Fonts, Pexels, Unsplash, GitHub Avatars) |
15
- | `force-app/main/default/data/` | Sample data (JSON) for all objects, importable via `sf data import tree` |
16
- | `force-app/main/default/digitalExperienceConfigs/` | Experience Cloud site configuration |
17
- | `force-app/main/default/digitalExperiences/` | Experience Cloud site definition |
18
- | `force-app/main/default/networks/` | Experience Cloud network |
19
- | `force-app/main/default/sites/` | Salesforce site |
20
-
21
- ## Getting started
22
-
23
- Navigate to the web app and install dependencies:
24
-
25
- ```bash
26
- cd force-app/main/default/webapplications/appreactsampleb2x
27
- npm install
28
- npm run dev
29
- ```
30
-
31
- Opens at http://localhost:5173 by default. For build and test instructions, see the [web app README](force-app/main/default/webapplications/appreactsampleb2x/README.md).
32
-
33
- ## Deploy
34
-
35
- ### Deploy everything (metadata + Experience Cloud site + web app)
36
-
37
- ```bash
38
- cd force-app/main/default/webapplications/appreactsampleb2x && npm install && npm run build && cd -
39
- sf project deploy start --source-dir force-app --target-org <alias>
40
- ```
41
-
42
- ### Deploy the web app only
43
-
44
- ```bash
45
- cd force-app/main/default/webapplications/appreactsampleb2x && npm install && npm run build && cd -
46
- sf project deploy start --source-dir force-app/main/default/webapplications --target-org <alias>
47
- ```
48
-
49
- ### Deploy metadata only (objects, layouts, permission sets, Apex classes)
50
-
51
- ```bash
52
- sf project deploy start \
53
- --source-dir force-app/main/default/objects \
54
- --source-dir force-app/main/default/layouts \
55
- --source-dir force-app/main/default/permissionsets \
56
- --source-dir force-app/main/default/classes \
57
- --target-org <alias>
58
- ```
59
-
60
- ### Deploy Experience Cloud site only
61
-
62
- ```bash
63
- sf project deploy start \
64
- --source-dir force-app/main/default/digitalExperienceConfigs \
65
- --source-dir force-app/main/default/digitalExperiences \
66
- --source-dir force-app/main/default/networks \
67
- --source-dir force-app/main/default/sites \
68
- --target-org <alias>
69
- ```
70
-
71
- Replace `<alias>` with your target org alias.
72
-
73
- ## Import sample data
74
-
75
- ```bash
76
- sf data import tree --plan force-app/main/default/data/data-plan.json --target-org <alias>
77
- ```
78
-
79
- ## Configure Your Salesforce DX Project
80
-
81
- 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.
82
-
83
- ## Read All About It
84
-
85
- - [Salesforce Extensions Documentation](https://developer.salesforce.com/tools/vscode/)
86
- - [Salesforce CLI Setup Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm)
87
- - [Salesforce DX Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_intro.htm)
88
- - [Salesforce CLI Command Reference](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference.htm)