@salesforce/webapp-template-feature-graphql-experimental 1.33.3 → 1.33.5

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.33.5](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.33.4...v1.33.5) (2026-02-18)
7
+
8
+ **Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.33.4](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.33.3...v1.33.4) (2026-02-17)
15
+
16
+ **Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
17
+
18
+
19
+
20
+
21
+
6
22
  ## [1.33.3](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.33.2...v1.33.3) (2026-02-17)
7
23
 
8
24
  **Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
@@ -7,6 +7,8 @@ import salesforce from '@salesforce/vite-plugin-webapp-experimental';
7
7
  export default defineConfig(function (_a) {
8
8
  var mode = _a.mode;
9
9
  return {
10
+ // Ensure root base for e2e/static serve; plugin may override when deployed under a path
11
+ base: '/',
10
12
  plugins: [tailwindcss(), react(), salesforce()],
11
13
  // Build configuration for MPA
12
14
  build: {
@@ -8,7 +8,7 @@
8
8
  "name": "base-react-app",
9
9
  "version": "1.0.0",
10
10
  "dependencies": {
11
- "@salesforce/sdk-data": "^1.33.2",
11
+ "@salesforce/sdk-data": "^1.33.4",
12
12
  "@salesforce/webapp-experimental": "*",
13
13
  "@tailwindcss/vite": "^4.1.17",
14
14
  "react": "^19.2.0",
@@ -3689,19 +3689,19 @@
3689
3689
  }
3690
3690
  },
3691
3691
  "node_modules/@salesforce/sdk-core": {
3692
- "version": "1.33.2",
3693
- "resolved": "https://registry.npmjs.org/@salesforce/sdk-core/-/sdk-core-1.33.2.tgz",
3694
- "integrity": "sha512-8749sztS6MjuJd5YGjfpDdUFRTkshLj2VebrSjcjUrtifjqhTybnhLWFGZirwPMnKB82V+0j4CyuCghzj3MiBA==",
3692
+ "version": "1.33.4",
3693
+ "resolved": "https://registry.npmjs.org/@salesforce/sdk-core/-/sdk-core-1.33.4.tgz",
3694
+ "integrity": "sha512-4Je2z6Jy69Xe4A2WyqRjylnefJe4RZxmU26siElvrGkBXKZdoGRMqsnY4W15ffx2MYDJR5rj+EzILuLgEsjXhQ==",
3695
3695
  "license": "SEE LICENSE IN LICENSE.txt"
3696
3696
  },
3697
3697
  "node_modules/@salesforce/sdk-data": {
3698
- "version": "1.33.2",
3699
- "resolved": "https://registry.npmjs.org/@salesforce/sdk-data/-/sdk-data-1.33.2.tgz",
3700
- "integrity": "sha512-U19NYhpzKRYQOmg8hPSMctzi7a6EW0GOb8amPEdVnO9V5ZAM+O72R6kWIHLMqz5ZSuspK/wF5zjokzhlGPKPVw==",
3698
+ "version": "1.33.4",
3699
+ "resolved": "https://registry.npmjs.org/@salesforce/sdk-data/-/sdk-data-1.33.4.tgz",
3700
+ "integrity": "sha512-tpPI9nL/CNHXuAs+af3CSSRSJ4w1X2Lk0Y/Q0XLirPKmm+BfHN6dgNfB//3HwaGPDtNAkA4bAkE5jA4qDA9GjQ==",
3701
3701
  "license": "SEE LICENSE IN LICENSE.txt",
3702
3702
  "dependencies": {
3703
3703
  "@conduit-client/salesforce-lightning-service-worker": "^3.7.0",
3704
- "@salesforce/sdk-core": "^1.33.2"
3704
+ "@salesforce/sdk-core": "^1.33.4"
3705
3705
  }
3706
3706
  },
3707
3707
  "node_modules/@salesforce/ts-types": {
@@ -12,7 +12,7 @@
12
12
  "test": "vitest"
13
13
  },
14
14
  "dependencies": {
15
- "@salesforce/sdk-data": "^1.33.2",
15
+ "@salesforce/sdk-data": "^1.33.4",
16
16
  "@salesforce/webapp-experimental": "*",
17
17
  "@tailwindcss/vite": "^4.1.17",
18
18
  "react": "^19.2.0",
@@ -4,7 +4,16 @@ import { StrictMode } from 'react';
4
4
  import { createRoot } from 'react-dom/client';
5
5
  import './styles/global.css';
6
6
 
7
- const router = createBrowserRouter(routes);
7
+ // Match Vite base so client-side routes work when deployed under a path (e.g. /lwr/application/ai/c-webapp2/).
8
+ // When served at root (e.g. e2e with static serve), use '/' so routes match.
9
+ const base = (import.meta.env.BASE_URL ?? '/').replace(/\/$/, '') || '/';
10
+ const basename =
11
+ typeof window !== 'undefined' &&
12
+ (window.location.pathname === '/' ||
13
+ !window.location.pathname.startsWith('/lwr/'))
14
+ ? '/'
15
+ : base;
16
+ const router = createBrowserRouter(routes, { basename });
8
17
 
9
18
  createRoot(document.getElementById('root')!).render(
10
19
  <StrictMode>
@@ -1,6 +1,6 @@
1
1
  import type { RouteObject } from 'react-router';
2
2
  import AppLayout from './appLayout';
3
- import Home from '@/pages/Home';
3
+ import Home from './pages/Home';
4
4
  import About from './pages/About';
5
5
  import NotFound from './pages/NotFound';
6
6
  import New from "./pages/new";
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/webapp-template-base-sfdx-project-experimental",
3
- "version": "1.33.3",
3
+ "version": "1.33.5",
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-feature-graphql-experimental",
3
- "version": "1.33.3",
3
+ "version": "1.33.5",
4
4
  "description": "GraphQL data access feature with executeGraphQL utilities, codegen tooling, agent skills, and rules",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "",
@@ -33,8 +33,8 @@
33
33
  "@graphql-codegen/cli": "^6.1.0",
34
34
  "@graphql-codegen/typescript": "^5.0.6",
35
35
  "@graphql-codegen/typescript-operations": "^5.0.6",
36
- "@salesforce/sdk-data": "^1.33.3",
37
- "@salesforce/webapp-experimental": "^1.33.3",
36
+ "@salesforce/sdk-data": "^1.33.5",
37
+ "@salesforce/webapp-experimental": "^1.33.5",
38
38
  "@types/react": "^19.2.7",
39
39
  "@types/react-dom": "^19.2.3",
40
40
  "graphql": "^16.11.0",
@@ -44,5 +44,5 @@
44
44
  "vite": "^7.3.1",
45
45
  "vite-plugin-graphql-codegen": "^3.6.3"
46
46
  },
47
- "gitHead": "478e8511c58c7e4f0b45f2f36dcdaa3fe40c8d40"
47
+ "gitHead": "d23795615e716c723701b285cf0f84a0c94ff6fe"
48
48
  }