@salesforce/webapp-template-feature-react-agentforce-conversation-client-experimental 1.71.1 → 1.71.3
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 +16 -0
- package/dist/force-app/main/default/webapplications/feature-react-agentforce-conversation-client/README.md +75 -0
- package/dist/force-app/main/default/webapplications/feature-react-agentforce-conversation-client/package.json +4 -4
- package/dist/package.json +1 -1
- package/package.json +2 -2
package/dist/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.3](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.71.2...v1.71.3) (2026-03-05)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.71.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.71.1...v1.71.2) (2026-03-05)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [1.71.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.71.0...v1.71.1) (2026-03-05)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# Base React App
|
|
2
|
+
|
|
3
|
+
Base React App is a template application that demonstrates how to build a React web app on the Salesforce platform with Vite, TypeScript, Tailwind, shadcn/ui, and the Salesforce Web App SDK. It provides a minimal shell (home, 404), routing, and GraphQL codegen support so feature apps can extend it via the patches pipeline.
|
|
4
|
+
|
|
5
|
+
This web application lives inside an SFDX project. The project root is the directory that contains `force-app/` and `sfdx-project.json`. Run the commands in the sections below from the paths indicated.
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
- [Run (development)](#run-development)
|
|
10
|
+
- [Build](#build)
|
|
11
|
+
- [Deploy](#deploy)
|
|
12
|
+
- [Test](#test)
|
|
13
|
+
|
|
14
|
+
## Run (development)
|
|
15
|
+
|
|
16
|
+
From the web app directory (`force-app/main/default/webapplications/base-react-app`):
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
npm install
|
|
20
|
+
npm run dev
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
This starts the Vite dev server (e.g. http://localhost:5173). Use `npm run dev:design` to run in design mode.
|
|
24
|
+
|
|
25
|
+
## Build
|
|
26
|
+
|
|
27
|
+
From the web app directory:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npm install
|
|
31
|
+
npm run build
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
The production build is written to `dist/` inside the web app folder. Deploy using the steps in [Deploy](#deploy).
|
|
35
|
+
|
|
36
|
+
## Deploy
|
|
37
|
+
|
|
38
|
+
From the **SFDX project root** (the directory that contains `force-app/`):
|
|
39
|
+
|
|
40
|
+
1. Build the web app:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
cd force-app/main/default/webapplications/base-react-app && npm install && npm run build && cd -
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
2. Deploy the web app only:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
sf project deploy start --source-dir force-app/main/default/webapplications --target-org <alias>
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Or deploy all metadata:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
sf project deploy start --source-dir force-app --target-org <alias>
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Replace `<alias>` with your target org alias.
|
|
59
|
+
|
|
60
|
+
## Test
|
|
61
|
+
|
|
62
|
+
From the web app directory:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
npm install
|
|
66
|
+
npm run test
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
This runs the unit test suite (Vitest). For end-to-end tests from the **base-react-app package root**:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
npm run test:e2e
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
This installs dependencies, builds with E2E asset rewrites, and runs Playwright. Ensure Chromium is installed (`npx playwright install chromium` if needed).
|
|
@@ -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.3",
|
|
19
|
+
"@salesforce/sdk-data": "^1.71.3",
|
|
20
|
+
"@salesforce/webapp-experimental": "^1.71.3",
|
|
21
21
|
"@tailwindcss/vite": "^4.1.17",
|
|
22
22
|
"class-variance-authority": "^0.7.1",
|
|
23
23
|
"clsx": "^2.1.1",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@graphql-eslint/eslint-plugin": "^4.1.0",
|
|
40
40
|
"@graphql-tools/utils": "^11.0.0",
|
|
41
41
|
"@playwright/test": "^1.49.0",
|
|
42
|
-
"@salesforce/vite-plugin-webapp-experimental": "^1.71.
|
|
42
|
+
"@salesforce/vite-plugin-webapp-experimental": "^1.71.3",
|
|
43
43
|
"@testing-library/jest-dom": "^6.6.3",
|
|
44
44
|
"@testing-library/react": "^16.1.0",
|
|
45
45
|
"@testing-library/user-event": "^14.5.2",
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/webapp-template-feature-react-agentforce-conversation-client-experimental",
|
|
3
|
-
"version": "1.71.
|
|
3
|
+
"version": "1.71.3",
|
|
4
4
|
"description": "Embedded Agentforce conversation client feature for web applications",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"clean": "rm -rf dist"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@salesforce/agentforce-conversation-client": "^1.71.
|
|
30
|
+
"@salesforce/agentforce-conversation-client": "^1.71.3"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/react": "^19.2.7",
|