@salesforce/webapp-template-app-react-sample-b2e-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,62 @@
|
|
|
1
|
-
#
|
|
1
|
+
# App React Sample B2E
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A B2E (Business-to-Employee) sample React web app for the Salesforce platform. Demonstrates property management, maintenance requests, tenant applications, a dashboard, and an Agentforce conversation client. Built with React, Vite, TypeScript, and Tailwind/shadcn.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## What's included
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
| Path | Description |
|
|
8
|
+
| ----------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
9
|
+
| `force-app/main/default/webapplications/appreactsampleb2e/` | 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/data/` | Sample data (JSON) for all objects, importable via `sf data import tree` |
|
|
14
|
+
|
|
15
|
+
## Getting started
|
|
16
|
+
|
|
17
|
+
Navigate to the web app and install dependencies:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
cd force-app/main/default/webapplications/appreactsampleb2e
|
|
21
|
+
npm install
|
|
22
|
+
npm run dev
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Opens at http://localhost:5173 by default. For build and test instructions, see the [web app README](force-app/main/default/webapplications/appreactsampleb2e/README.md).
|
|
26
|
+
|
|
27
|
+
## Deploy
|
|
28
|
+
|
|
29
|
+
### Deploy everything (metadata + web app)
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
cd force-app/main/default/webapplications/appreactsampleb2e && npm install && npm run build && cd -
|
|
33
|
+
sf project deploy start --source-dir force-app --target-org <alias>
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Deploy the web app only
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
cd force-app/main/default/webapplications/appreactsampleb2e && npm install && npm run build && cd -
|
|
40
|
+
sf project deploy start --source-dir force-app/main/default/webapplications --target-org <alias>
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Deploy metadata only (objects, layouts, permission sets)
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
sf project deploy start \
|
|
47
|
+
--source-dir force-app/main/default/objects \
|
|
48
|
+
--source-dir force-app/main/default/layouts \
|
|
49
|
+
--source-dir force-app/main/default/permissionsets \
|
|
50
|
+
--target-org <alias>
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Replace `<alias>` with your target org alias.
|
|
54
|
+
|
|
55
|
+
## Import sample data
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
sf data import tree --plan force-app/main/default/data/data-plan.json --target-org <alias>
|
|
59
|
+
```
|
|
8
60
|
|
|
9
61
|
## Configure Your Salesforce DX Project
|
|
10
62
|
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"graphql:schema": "node scripts/get-graphql-schema.mjs"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@salesforce/agentforce-conversation-client": "^1.71.
|
|
19
|
-
"@salesforce/sdk-data": "^1.71.
|
|
20
|
-
"@salesforce/webapp-experimental": "^1.71.
|
|
18
|
+
"@salesforce/agentforce-conversation-client": "^1.71.2",
|
|
19
|
+
"@salesforce/sdk-data": "^1.71.2",
|
|
20
|
+
"@salesforce/webapp-experimental": "^1.71.2",
|
|
21
21
|
"@tailwindcss/vite": "^4.1.17",
|
|
22
22
|
"class-variance-authority": "^0.7.1",
|
|
23
23
|
"clsx": "^2.1.1",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@graphql-eslint/eslint-plugin": "^4.1.0",
|
|
41
41
|
"@graphql-tools/utils": "^11.0.0",
|
|
42
42
|
"@playwright/test": "^1.49.0",
|
|
43
|
-
"@salesforce/vite-plugin-webapp-experimental": "^1.71.
|
|
43
|
+
"@salesforce/vite-plugin-webapp-experimental": "^1.71.2",
|
|
44
44
|
"@testing-library/jest-dom": "^6.6.3",
|
|
45
45
|
"@testing-library/react": "^16.1.0",
|
|
46
46
|
"@testing-library/user-event": "^14.5.2",
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
# App React Sample B2E
|
|
2
|
-
|
|
3
|
-
A B2E (Business-to-Employee) sample React web app for the Salesforce platform. Demonstrates property management, maintenance requests, tenant applications, a dashboard, and an Agentforce conversation client. Built with React, Vite, TypeScript, and Tailwind/shadcn.
|
|
4
|
-
|
|
5
|
-
## What's included
|
|
6
|
-
|
|
7
|
-
| Path | Description |
|
|
8
|
-
| ----------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
9
|
-
| `force-app/main/default/webapplications/appreactsampleb2e/` | 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/data/` | Sample data (JSON) for all objects, importable via `sf data import tree` |
|
|
14
|
-
|
|
15
|
-
## Getting started
|
|
16
|
-
|
|
17
|
-
Navigate to the web app and install dependencies:
|
|
18
|
-
|
|
19
|
-
```bash
|
|
20
|
-
cd force-app/main/default/webapplications/appreactsampleb2e
|
|
21
|
-
npm install
|
|
22
|
-
npm run dev
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Opens at http://localhost:5173 by default. For build and test instructions, see the [web app README](force-app/main/default/webapplications/appreactsampleb2e/README.md).
|
|
26
|
-
|
|
27
|
-
## Deploy
|
|
28
|
-
|
|
29
|
-
### Deploy everything (metadata + web app)
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
cd force-app/main/default/webapplications/appreactsampleb2e && npm install && npm run build && cd -
|
|
33
|
-
sf project deploy start --source-dir force-app --target-org <alias>
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
### Deploy the web app only
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
cd force-app/main/default/webapplications/appreactsampleb2e && npm install && npm run build && cd -
|
|
40
|
-
sf project deploy start --source-dir force-app/main/default/webapplications --target-org <alias>
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
### Deploy metadata only (objects, layouts, permission sets)
|
|
44
|
-
|
|
45
|
-
```bash
|
|
46
|
-
sf project deploy start \
|
|
47
|
-
--source-dir force-app/main/default/objects \
|
|
48
|
-
--source-dir force-app/main/default/layouts \
|
|
49
|
-
--source-dir force-app/main/default/permissionsets \
|
|
50
|
-
--target-org <alias>
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
Replace `<alias>` with your target org alias.
|
|
54
|
-
|
|
55
|
-
## Import sample data
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
sf data import tree --plan force-app/main/default/data/data-plan.json --target-org <alias>
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
## Configure Your Salesforce DX Project
|
|
62
|
-
|
|
63
|
-
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.
|
|
64
|
-
|
|
65
|
-
## Read All About It
|
|
66
|
-
|
|
67
|
-
- [Salesforce Extensions Documentation](https://developer.salesforce.com/tools/vscode/)
|
|
68
|
-
- [Salesforce CLI Setup Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm)
|
|
69
|
-
- [Salesforce DX Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_intro.htm)
|
|
70
|
-
- [Salesforce CLI Command Reference](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference.htm)
|