@salesforce/webapp-template-app-react-sample-b2x-experimental 1.95.0 → 1.96.0
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 +8 -0
- package/dist/force-app/main/default/webapplications/appreactsampleb2x/index.html +2 -2
- package/dist/force-app/main/default/webapplications/appreactsampleb2x/package.json +3 -3
- package/dist/force-app/main/default/webapplications/appreactsampleb2x/src/app.tsx +2 -2
- package/dist/force-app/main/default/webapplications/appreactsampleb2x/vite.config.ts +1 -2
- package/dist/package.json +1 -1
- package/package.json +1 -1
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.96.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.95.0...v1.96.0) (2026-03-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [1.95.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.94.1...v1.95.0) (2026-03-12)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
|
-
<link rel="icon" type="image/svg+xml" href="
|
|
5
|
+
<link rel="icon" type="image/svg+xml" href="vite.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
8
8
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
</head>
|
|
15
15
|
<body>
|
|
16
16
|
<div id="root"><p style="padding: 1rem; font-family: system-ui">Loading…</p></div>
|
|
17
|
-
<script type="module" src="
|
|
17
|
+
<script type="module" src="src/app.tsx"></script>
|
|
18
18
|
</body>
|
|
19
19
|
</html>
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"graphql:schema": "node scripts/get-graphql-schema.mjs"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@salesforce/sdk-data": "^1.
|
|
19
|
-
"@salesforce/webapp-experimental": "^1.
|
|
18
|
+
"@salesforce/sdk-data": "^1.96.0",
|
|
19
|
+
"@salesforce/webapp-experimental": "^1.96.0",
|
|
20
20
|
"@tailwindcss/vite": "^4.1.17",
|
|
21
21
|
"@tanstack/react-form": "^1.28.5",
|
|
22
22
|
"@types/leaflet": "^1.9.21",
|
|
@@ -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-webapp-experimental": "^1.
|
|
46
|
+
"@salesforce/vite-plugin-webapp-experimental": "^1.96.0",
|
|
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",
|
|
@@ -28,8 +28,8 @@ class ErrorBoundary extends Component<
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
const
|
|
32
|
-
const router = createBrowserRouter(routes, { basename
|
|
31
|
+
const basename = (globalThis as any).SFDC_ENV?.basePath;
|
|
32
|
+
const router = createBrowserRouter(routes, { basename });
|
|
33
33
|
const rootEl = document.getElementById("root");
|
|
34
34
|
if (rootEl) {
|
|
35
35
|
createRoot(rootEl).render(
|
|
@@ -8,8 +8,7 @@ import codegen from 'vite-plugin-graphql-codegen';
|
|
|
8
8
|
|
|
9
9
|
export default defineConfig(({ mode }) => {
|
|
10
10
|
return {
|
|
11
|
-
|
|
12
|
-
base: '/',
|
|
11
|
+
base: './',
|
|
13
12
|
// Type assertion avoids Plugin type mismatch when dist has its own node_modules (vite/rollup)
|
|
14
13
|
plugins: [
|
|
15
14
|
tailwindcss(),
|
package/dist/package.json
CHANGED
package/package.json
CHANGED