@salesforce/ui-bundle-template-app-react-template-b2e 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
|
@@ -8,19 +8,42 @@ This project ships the UI Bundle only. No additional Salesforce metadata (object
|
|
|
8
8
|
|
|
9
9
|
| Path | Description |
|
|
10
10
|
| ---------------------------------------------------- | --------------------------------------- |
|
|
11
|
-
| `force-app/main/default/
|
|
11
|
+
| `force-app/main/default/uibundles/reactinternalapp/` | React UI Bundle (source, config, tests) |
|
|
12
12
|
|
|
13
13
|
## Getting started
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Install project dependencies and start the local dev server:
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
cd force-app/main/default/uiBundles/reactinternalapp
|
|
19
18
|
npm install
|
|
20
|
-
npm run
|
|
19
|
+
npm run sf-project-setup
|
|
21
20
|
```
|
|
22
21
|
|
|
23
|
-
|
|
22
|
+
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/reactinternalapp/README.md).
|
|
23
|
+
|
|
24
|
+
## Add features
|
|
25
|
+
|
|
26
|
+
Use the features CLI to install additional UI features into the UI Bundle.
|
|
27
|
+
|
|
28
|
+
List all available features:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
npx @salesforce/ui-bundle-features-experimental list
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Get details about a specific feature (description, dependencies, files, and integration examples):
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npx @salesforce/ui-bundle-features-experimental describe <feature-name>
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Install a feature:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
npx @salesforce/ui-bundle-features-experimental install <feature-name> --ui-bundle-dir reactinternalapp
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
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.
|
|
24
47
|
|
|
25
48
|
## Deploy
|
|
26
49
|
|
|
@@ -35,11 +58,43 @@ sf project deploy start --source-dir force-app --target-org <alias>
|
|
|
35
58
|
|
|
36
59
|
```bash
|
|
37
60
|
cd force-app/main/default/uiBundles/reactinternalapp && npm install && npm run build && cd -
|
|
38
|
-
sf project deploy start --source-dir force-app/main/default/
|
|
61
|
+
sf project deploy start --source-dir force-app/main/default/uiBundles --target-org <alias>
|
|
39
62
|
```
|
|
40
63
|
|
|
41
64
|
Replace `<alias>` with your target org alias.
|
|
42
65
|
|
|
66
|
+
## Setup scripts
|
|
67
|
+
|
|
68
|
+
Two npm scripts at the project root streamline getting started and deployment.
|
|
69
|
+
|
|
70
|
+
**`npm run sf-project-setup`** — installs the UI Bundle dependencies, builds the app, and starts the dev server (see [Getting started](#getting-started)).
|
|
71
|
+
|
|
72
|
+
**`npm run setup`** — runs the full deployment setup in one command: org login (if needed), UI Bundle build, deploy the UI Bundle, fetch GraphQL schema, run codegen, and optionally start the dev server:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
npm run setup -- --target-org <alias>
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Running without flags presents an interactive step picker. Pass `--yes` to skip it and run all steps immediately:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
npm run setup -- --target-org <alias> --yes
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Common options:
|
|
85
|
+
|
|
86
|
+
| Option | Description |
|
|
87
|
+
| ------------------------- | ---------------------------------------------- |
|
|
88
|
+
| `--skip-login` | Skip browser login (org already authenticated) |
|
|
89
|
+
| `--skip-deploy` | Do not deploy metadata |
|
|
90
|
+
| `--skip-graphql` | Skip GraphQL schema fetch and codegen |
|
|
91
|
+
| `--skip-ui-bundle-build` | Skip `npm install` and UI Bundle build |
|
|
92
|
+
| `--skip-dev` | Do not start the dev server at the end |
|
|
93
|
+
| `--ui-bundle-name <name>` | UI Bundle folder name when multiple exist |
|
|
94
|
+
| `-y, --yes` | Skip interactive step picker; run all steps |
|
|
95
|
+
|
|
96
|
+
For all options: `npm run setup -- --help`.
|
|
97
|
+
|
|
43
98
|
## Configure Your Salesforce DX Project
|
|
44
99
|
|
|
45
100
|
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.
|
|
19
|
-
"@salesforce/ui-bundle": "^1.119.
|
|
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",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@graphql-eslint/eslint-plugin": "^4.1.0",
|
|
43
43
|
"@graphql-tools/utils": "^11.0.0",
|
|
44
44
|
"@playwright/test": "^1.49.0",
|
|
45
|
-
"@salesforce/vite-plugin-ui-bundle": "^1.119.
|
|
45
|
+
"@salesforce/vite-plugin-ui-bundle": "^1.119.3",
|
|
46
46
|
"@testing-library/jest-dom": "^6.6.3",
|
|
47
47
|
"@testing-library/react": "^16.1.0",
|
|
48
48
|
"@testing-library/user-event": "^14.5.2",
|
package/dist/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/webapp-template-base-sfdx-project-experimental",
|
|
3
|
-
"version": "1.119.
|
|
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.
|
|
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