@salesforce/ui-bundle-template-app-react-template-b2x 1.119.1 → 1.119.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 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.119.3](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.119.2...v1.119.3) (2026-03-31)
7
+
8
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.119.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.119.1...v1.119.2) (2026-03-31)
15
+
16
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
17
+
18
+
19
+
20
+
21
+
6
22
  ## [1.119.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.119.0...v1.119.1) (2026-03-31)
7
23
 
8
24
  **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
package/dist/README.md CHANGED
@@ -15,15 +15,38 @@ An external React starter template for customer-facing apps on the Salesforce pl
15
15
 
16
16
  ## Getting started
17
17
 
18
- Navigate to the UI Bundle and install dependencies:
18
+ Install project dependencies and start the local dev server:
19
19
 
20
20
  ```bash
21
- cd force-app/main/default/uiBundles/reactexternalapp
22
21
  npm install
23
- npm run dev
22
+ npm run sf-project-setup
24
23
  ```
25
24
 
26
- Opens at http://localhost:5173 by default. For build and test instructions, see the [UI Bundle README](force-app/main/default/uiBundles/reactexternalapp/README.md).
25
+ This installs the UI Bundle dependencies, builds the app, and opens the dev server at http://localhost:5173. For manual build and test instructions, see the [UI Bundle README](force-app/main/default/uiBundles/reactexternalapp/README.md).
26
+
27
+ ## Add features
28
+
29
+ Use the features CLI to install additional UI features into the UI Bundle.
30
+
31
+ List all available features:
32
+
33
+ ```bash
34
+ npx @salesforce/ui-bundle-features-experimental list
35
+ ```
36
+
37
+ Get details about a specific feature (description, dependencies, files, and integration examples):
38
+
39
+ ```bash
40
+ npx @salesforce/ui-bundle-features-experimental describe <feature-name>
41
+ ```
42
+
43
+ Install a feature:
44
+
45
+ ```bash
46
+ npx @salesforce/ui-bundle-features-experimental install <feature-name> --ui-bundle-dir reactexternalapp
47
+ ```
48
+
49
+ After installation, the CLI will list any `__example__` files that need manual integration. Read each example file to see the integration pattern, apply it to the target file, then delete the example file.
27
50
 
28
51
  ## Deploy
29
52
 
@@ -38,7 +61,7 @@ sf project deploy start --source-dir force-app --target-org <alias>
38
61
 
39
62
  ```bash
40
63
  cd force-app/main/default/uiBundles/reactexternalapp && npm install && npm run build && cd -
41
- sf project deploy start --source-dir force-app/main/default/ui-bundles --target-org <alias>
64
+ sf project deploy start --source-dir force-app/main/default/uiBundles --target-org <alias>
42
65
  ```
43
66
 
44
67
  ### Deploy Experience Cloud site only
@@ -60,6 +83,38 @@ sf project deploy start --source-dir force-app/main/default/classes --target-org
60
83
 
61
84
  Replace `<alias>` with your target org alias.
62
85
 
86
+ ## Setup scripts
87
+
88
+ Two npm scripts at the project root streamline getting started and deployment.
89
+
90
+ **`npm run sf-project-setup`** — installs the UI Bundle dependencies, builds the app, and starts the dev server (see [Getting started](#getting-started)).
91
+
92
+ **`npm run setup`** — runs the full deployment setup in one command: org login (if needed), UI Bundle build, deploy metadata, fetch GraphQL schema, run codegen, and optionally start the dev server:
93
+
94
+ ```bash
95
+ npm run setup -- --target-org <alias>
96
+ ```
97
+
98
+ Running without flags presents an interactive step picker. Pass `--yes` to skip it and run all steps immediately:
99
+
100
+ ```bash
101
+ npm run setup -- --target-org <alias> --yes
102
+ ```
103
+
104
+ Common options:
105
+
106
+ | Option | Description |
107
+ | ------------------------- | ---------------------------------------------- |
108
+ | `--skip-login` | Skip browser login (org already authenticated) |
109
+ | `--skip-deploy` | Do not deploy metadata |
110
+ | `--skip-graphql` | Skip GraphQL schema fetch and codegen |
111
+ | `--skip-ui-bundle-build` | Skip `npm install` and UI Bundle build |
112
+ | `--skip-dev` | Do not start the dev server at the end |
113
+ | `--ui-bundle-name <name>` | UI Bundle folder name when multiple exist |
114
+ | `-y, --yes` | Skip interactive step picker; run all steps |
115
+
116
+ For all options: `npm run setup -- --help`.
117
+
63
118
  ## Configure Your Salesforce DX Project
64
119
 
65
120
  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.
@@ -15,8 +15,8 @@
15
15
  "graphql:schema": "node scripts/get-graphql-schema.mjs"
16
16
  },
17
17
  "dependencies": {
18
- "@salesforce/sdk-data": "^1.119.1",
19
- "@salesforce/ui-bundle": "^1.119.1",
18
+ "@salesforce/sdk-data": "^1.119.3",
19
+ "@salesforce/ui-bundle": "^1.119.3",
20
20
  "@tailwindcss/vite": "^4.1.17",
21
21
  "class-variance-authority": "^0.7.1",
22
22
  "clsx": "^2.1.1",
@@ -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-ui-bundle": "^1.119.1",
46
+ "@salesforce/vite-plugin-ui-bundle": "^1.119.3",
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",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/webapp-template-base-sfdx-project-experimental",
3
- "version": "1.119.1",
3
+ "version": "1.119.3",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/webapp-template-base-sfdx-project-experimental",
9
- "version": "1.119.1",
9
+ "version": "1.119.3",
10
10
  "license": "SEE LICENSE IN LICENSE.txt",
11
11
  "devDependencies": {
12
12
  "@lwc/eslint-plugin-lwc": "^3.3.0",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/ui-bundle-template-base-sfdx-project",
3
- "version": "1.119.1",
3
+ "version": "1.119.3",
4
4
  "description": "Base SFDX project template",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "publishConfig": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/ui-bundle-template-app-react-template-b2x",
3
- "version": "1.119.1",
3
+ "version": "1.119.3",
4
4
  "description": "Salesforce React external app template",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "",