@salesforce/webapp-template-app-react-template-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,64 @@
1
- # Salesforce DX Project: Next Steps
1
+ # App React Template 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) React starter template for customer-facing apps on the Salesforce platform. Includes authentication, global search, and an Experience Cloud site container. 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/appreacttemplateb2x/` | React web app (source, config, tests) |
10
+ | `force-app/main/default/classes/` | Apex classes for authentication — `WebAppAuthUtils`, `WebAppChangePassword`, `WebAppForgotPassword`, `WebAppLogin`, `WebAppRegistration` |
11
+ | `force-app/main/default/digitalExperienceConfigs/` | Experience Cloud site configuration |
12
+ | `force-app/main/default/digitalExperiences/` | Experience Cloud site definition |
13
+ | `force-app/main/default/networks/` | Experience Cloud network |
14
+ | `force-app/main/default/sites/` | Salesforce site |
15
+
16
+ ## Getting started
17
+
18
+ Navigate to the web app and install dependencies:
19
+
20
+ ```bash
21
+ cd force-app/main/default/webapplications/appreacttemplateb2x
22
+ npm install
23
+ npm run dev
24
+ ```
25
+
26
+ Opens at http://localhost:5173 by default. For build and test instructions, see the [web app README](force-app/main/default/webapplications/appreacttemplateb2x/README.md).
27
+
28
+ ## Deploy
29
+
30
+ ### Deploy everything (metadata + Experience Cloud site + web app)
31
+
32
+ ```bash
33
+ cd force-app/main/default/webapplications/appreacttemplateb2x && npm install && npm run build && cd -
34
+ sf project deploy start --source-dir force-app --target-org <alias>
35
+ ```
36
+
37
+ ### Deploy the web app only
38
+
39
+ ```bash
40
+ cd force-app/main/default/webapplications/appreacttemplateb2x && npm install && npm run build && cd -
41
+ sf project deploy start --source-dir force-app/main/default/webapplications --target-org <alias>
42
+ ```
43
+
44
+ ### Deploy Experience Cloud site only
45
+
46
+ ```bash
47
+ sf project deploy start \
48
+ --source-dir force-app/main/default/digitalExperienceConfigs \
49
+ --source-dir force-app/main/default/digitalExperiences \
50
+ --source-dir force-app/main/default/networks \
51
+ --source-dir force-app/main/default/sites \
52
+ --target-org <alias>
53
+ ```
54
+
55
+ ### Deploy authentication classes only
56
+
57
+ ```bash
58
+ sf project deploy start --source-dir force-app/main/default/classes --target-org <alias>
59
+ ```
60
+
61
+ Replace `<alias>` with your target org alias.
8
62
 
9
63
  ## Configure Your Salesforce DX Project
10
64
 
@@ -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
  "class-variance-authority": "^0.7.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.1",
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
@@ -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-template-b2x-experimental",
3
- "version": "1.71.1",
3
+ "version": "1.71.2",
4
4
  "description": "Base reference app template",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "",
@@ -1,72 +0,0 @@
1
- # App React Template B2X
2
-
3
- A B2X (Business-to-Consumer) React starter template for customer-facing apps on the Salesforce platform. Includes authentication, global search, and an Experience Cloud site container. Built with React, Vite, TypeScript, and Tailwind/shadcn.
4
-
5
- ## What's included
6
-
7
- | Path | Description |
8
- | ------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
9
- | `force-app/main/default/webapplications/appreacttemplateb2x/` | React web app (source, config, tests) |
10
- | `force-app/main/default/classes/` | Apex classes for authentication — `WebAppAuthUtils`, `WebAppChangePassword`, `WebAppForgotPassword`, `WebAppLogin`, `WebAppRegistration` |
11
- | `force-app/main/default/digitalExperienceConfigs/` | Experience Cloud site configuration |
12
- | `force-app/main/default/digitalExperiences/` | Experience Cloud site definition |
13
- | `force-app/main/default/networks/` | Experience Cloud network |
14
- | `force-app/main/default/sites/` | Salesforce site |
15
-
16
- ## Getting started
17
-
18
- Navigate to the web app and install dependencies:
19
-
20
- ```bash
21
- cd force-app/main/default/webapplications/appreacttemplateb2x
22
- npm install
23
- npm run dev
24
- ```
25
-
26
- Opens at http://localhost:5173 by default. For build and test instructions, see the [web app README](force-app/main/default/webapplications/appreacttemplateb2x/README.md).
27
-
28
- ## Deploy
29
-
30
- ### Deploy everything (metadata + Experience Cloud site + web app)
31
-
32
- ```bash
33
- cd force-app/main/default/webapplications/appreacttemplateb2x && npm install && npm run build && cd -
34
- sf project deploy start --source-dir force-app --target-org <alias>
35
- ```
36
-
37
- ### Deploy the web app only
38
-
39
- ```bash
40
- cd force-app/main/default/webapplications/appreacttemplateb2x && npm install && npm run build && cd -
41
- sf project deploy start --source-dir force-app/main/default/webapplications --target-org <alias>
42
- ```
43
-
44
- ### Deploy Experience Cloud site only
45
-
46
- ```bash
47
- sf project deploy start \
48
- --source-dir force-app/main/default/digitalExperienceConfigs \
49
- --source-dir force-app/main/default/digitalExperiences \
50
- --source-dir force-app/main/default/networks \
51
- --source-dir force-app/main/default/sites \
52
- --target-org <alias>
53
- ```
54
-
55
- ### Deploy authentication classes only
56
-
57
- ```bash
58
- sf project deploy start --source-dir force-app/main/default/classes --target-org <alias>
59
- ```
60
-
61
- Replace `<alias>` with your target org alias.
62
-
63
- ## Configure Your Salesforce DX Project
64
-
65
- 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.
66
-
67
- ## Read All About It
68
-
69
- - [Salesforce Extensions Documentation](https://developer.salesforce.com/tools/vscode/)
70
- - [Salesforce CLI Setup Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm)
71
- - [Salesforce DX Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_intro.htm)
72
- - [Salesforce CLI Command Reference](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference.htm)