@salesforce/ui-bundle-template-base-react-app 1.130.1 → 1.130.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/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/src/force-app/main/default/uiBundles/base-react-app/package.json +3 -3
- package/src/force-app/main/default/uiBundles/base-react-app/src/api/graphqlClient.ts +4 -1
- package/src/force-app/main/default/uiBundles/base-react-app/tsconfig.json +7 -1
- package/src/force-app/main/default/uiBundles/base-react-app/vite-env.d.ts +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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.130.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.130.1...v1.130.2) (2026-04-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-react-app
|
|
9
|
+
|
|
6
10
|
## [1.130.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.130.0...v1.130.1) (2026-04-24)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-react-app
|
package/package.json
CHANGED
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"graphql:schema": "node scripts/get-graphql-schema.mjs"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@salesforce/sdk-data": "^1.130.
|
|
22
|
-
"@salesforce/ui-bundle": "^1.130.
|
|
21
|
+
"@salesforce/sdk-data": "^1.130.2",
|
|
22
|
+
"@salesforce/ui-bundle": "^1.130.2",
|
|
23
23
|
"@tailwindcss/vite": "^4.1.17",
|
|
24
24
|
"class-variance-authority": "^0.7.1",
|
|
25
25
|
"clsx": "^2.1.1",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@graphql-eslint/eslint-plugin": "^4.1.0",
|
|
45
45
|
"@graphql-tools/utils": "^11.0.0",
|
|
46
46
|
"@playwright/test": "^1.49.0",
|
|
47
|
-
"@salesforce/vite-plugin-ui-bundle": "^1.130.
|
|
47
|
+
"@salesforce/vite-plugin-ui-bundle": "^1.130.2",
|
|
48
48
|
"@testing-library/jest-dom": "^6.6.3",
|
|
49
49
|
"@testing-library/react": "^16.1.0",
|
|
50
50
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -10,7 +10,10 @@ export async function executeGraphQL<TData, TVariables>(
|
|
|
10
10
|
): Promise<TData> {
|
|
11
11
|
const data = await createDataSDK();
|
|
12
12
|
// SDK types graphql() first param as string; at runtime it may accept gql DocumentNode too
|
|
13
|
-
const response = await data.graphql?.<TData, TVariables>(
|
|
13
|
+
const response = await data.graphql?.<TData, TVariables>({
|
|
14
|
+
query,
|
|
15
|
+
variables,
|
|
16
|
+
});
|
|
14
17
|
|
|
15
18
|
if (!response) {
|
|
16
19
|
throw new Error('GraphQL response is undefined');
|
|
@@ -28,7 +28,13 @@
|
|
|
28
28
|
"@components/*": ["./src/components/*"],
|
|
29
29
|
"@utils/*": ["./src/utils/*"],
|
|
30
30
|
"@styles/*": ["./src/styles/*"],
|
|
31
|
-
"@assets/*": ["./src/assets/*"]
|
|
31
|
+
"@assets/*": ["./src/assets/*"],
|
|
32
|
+
"@salesforce/sdk-core": [
|
|
33
|
+
"../../../../../../../../../../packages/sdk/sdk-core/src/index.ts"
|
|
34
|
+
],
|
|
35
|
+
"@salesforce/sdk-data": [
|
|
36
|
+
"../../../../../../../../../../packages/sdk/sdk-data/src/index.ts"
|
|
37
|
+
]
|
|
32
38
|
}
|
|
33
39
|
},
|
|
34
40
|
"include": [
|