@salesforce/webapp-template-feature-react-agentforce-conversation-client-experimental 1.27.0 → 1.28.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 +16 -0
- package/dist/force-app/main/default/webapplications/feature-react-agentforce-conversation-client/build/vite.config.js +64 -64
- package/dist/force-app/main/default/webapplications/feature-react-agentforce-conversation-client/package-lock.json +4 -4
- package/dist/force-app/main/default/webapplications/feature-react-agentforce-conversation-client/package.json +1 -1
- package/dist/package.json +1 -1
- package/package.json +3 -2
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.28.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.27.1...v1.28.0) (2026-02-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.27.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.27.0...v1.27.1) (2026-02-12)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [1.27.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.26.0...v1.27.0) (2026-02-12)
|
|
7
23
|
|
|
8
24
|
|
|
@@ -5,69 +5,69 @@ import { resolve } from 'path';
|
|
|
5
5
|
import tailwindcss from '@tailwindcss/vite';
|
|
6
6
|
import salesforce from '@salesforce/vite-plugin-webapp-experimental';
|
|
7
7
|
export default defineConfig(function (_a) {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
},
|
|
17
|
-
// Resolve aliases (shared between build and test)
|
|
18
|
-
resolve: {
|
|
19
|
-
alias: {
|
|
20
|
-
'@': path.resolve(__dirname, './src'),
|
|
21
|
-
'@api': path.resolve(__dirname, './src/api'),
|
|
22
|
-
'@components': path.resolve(__dirname, './src/components'),
|
|
23
|
-
'@utils': path.resolve(__dirname, './src/utils'),
|
|
24
|
-
'@styles': path.resolve(__dirname, './src/styles'),
|
|
25
|
-
'@assets': path.resolve(__dirname, './src/assets'),
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
// Vitest configuration
|
|
29
|
-
test: {
|
|
30
|
-
// Override root for tests (build uses src/pages as root)
|
|
31
|
-
root: resolve(__dirname),
|
|
32
|
-
// Use jsdom environment for React component testing
|
|
33
|
-
environment: 'jsdom',
|
|
34
|
-
// Setup files to run before each test
|
|
35
|
-
setupFiles: ['./src/test/setup.ts'],
|
|
36
|
-
// Global test patterns
|
|
37
|
-
include: [
|
|
38
|
-
'src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}',
|
|
39
|
-
'src/**/__tests__/**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}',
|
|
40
|
-
],
|
|
41
|
-
// Coverage configuration
|
|
42
|
-
coverage: {
|
|
43
|
-
provider: 'v8',
|
|
44
|
-
reporter: ['text', 'html', 'clover', 'json'],
|
|
45
|
-
exclude: [
|
|
46
|
-
'node_modules/',
|
|
47
|
-
'src/test/',
|
|
48
|
-
'src/**/*.d.ts',
|
|
49
|
-
'src/main.tsx',
|
|
50
|
-
'src/vite-env.d.ts',
|
|
51
|
-
'src/components/**/index.ts',
|
|
52
|
-
'**/*.config.ts',
|
|
53
|
-
'build/',
|
|
54
|
-
'dist/',
|
|
55
|
-
'coverage/',
|
|
56
|
-
'eslint.config.js',
|
|
57
|
-
],
|
|
58
|
-
thresholds: {
|
|
59
|
-
global: {
|
|
60
|
-
branches: 85,
|
|
61
|
-
functions: 85,
|
|
62
|
-
lines: 85,
|
|
63
|
-
statements: 85,
|
|
64
|
-
},
|
|
8
|
+
var mode = _a.mode;
|
|
9
|
+
return {
|
|
10
|
+
plugins: [tailwindcss(), react(), salesforce()],
|
|
11
|
+
// Build configuration for MPA
|
|
12
|
+
build: {
|
|
13
|
+
outDir: resolve(__dirname, 'dist'),
|
|
14
|
+
assetsDir: 'assets',
|
|
15
|
+
sourcemap: false,
|
|
65
16
|
},
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
17
|
+
// Resolve aliases (shared between build and test)
|
|
18
|
+
resolve: {
|
|
19
|
+
alias: {
|
|
20
|
+
'@': path.resolve(__dirname, './src'),
|
|
21
|
+
'@api': path.resolve(__dirname, './src/api'),
|
|
22
|
+
'@components': path.resolve(__dirname, './src/components'),
|
|
23
|
+
'@utils': path.resolve(__dirname, './src/utils'),
|
|
24
|
+
'@styles': path.resolve(__dirname, './src/styles'),
|
|
25
|
+
'@assets': path.resolve(__dirname, './src/assets'),
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
// Vitest configuration
|
|
29
|
+
test: {
|
|
30
|
+
// Override root for tests (build uses src/pages as root)
|
|
31
|
+
root: resolve(__dirname),
|
|
32
|
+
// Use jsdom environment for React component testing
|
|
33
|
+
environment: 'jsdom',
|
|
34
|
+
// Setup files to run before each test
|
|
35
|
+
setupFiles: ['./src/test/setup.ts'],
|
|
36
|
+
// Global test patterns
|
|
37
|
+
include: [
|
|
38
|
+
'src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}',
|
|
39
|
+
'src/**/__tests__/**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}',
|
|
40
|
+
],
|
|
41
|
+
// Coverage configuration
|
|
42
|
+
coverage: {
|
|
43
|
+
provider: 'v8',
|
|
44
|
+
reporter: ['text', 'html', 'clover', 'json'],
|
|
45
|
+
exclude: [
|
|
46
|
+
'node_modules/',
|
|
47
|
+
'src/test/',
|
|
48
|
+
'src/**/*.d.ts',
|
|
49
|
+
'src/main.tsx',
|
|
50
|
+
'src/vite-env.d.ts',
|
|
51
|
+
'src/components/**/index.ts',
|
|
52
|
+
'**/*.config.ts',
|
|
53
|
+
'build/',
|
|
54
|
+
'dist/',
|
|
55
|
+
'coverage/',
|
|
56
|
+
'eslint.config.js',
|
|
57
|
+
],
|
|
58
|
+
thresholds: {
|
|
59
|
+
global: {
|
|
60
|
+
branches: 85,
|
|
61
|
+
functions: 85,
|
|
62
|
+
lines: 85,
|
|
63
|
+
statements: 85,
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
// Test timeout
|
|
68
|
+
testTimeout: 10000,
|
|
69
|
+
// Globals for easier testing
|
|
70
|
+
globals: true,
|
|
71
|
+
},
|
|
72
|
+
};
|
|
73
73
|
});
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"name": "base-react-app",
|
|
9
9
|
"version": "1.0.0",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@salesforce/agentforce-conversation-client": "^1.
|
|
11
|
+
"@salesforce/agentforce-conversation-client": "^1.27.1",
|
|
12
12
|
"@salesforce/webapp-experimental": "*",
|
|
13
13
|
"@tailwindcss/vite": "^4.1.17",
|
|
14
14
|
"react": "^19.2.0",
|
|
@@ -1863,9 +1863,9 @@
|
|
|
1863
1863
|
]
|
|
1864
1864
|
},
|
|
1865
1865
|
"node_modules/@salesforce/agentforce-conversation-client": {
|
|
1866
|
-
"version": "1.
|
|
1867
|
-
"resolved": "https://registry.npmjs.org/@salesforce/agentforce-conversation-client/-/agentforce-conversation-client-1.
|
|
1868
|
-
"integrity": "sha512-
|
|
1866
|
+
"version": "1.27.1",
|
|
1867
|
+
"resolved": "https://registry.npmjs.org/@salesforce/agentforce-conversation-client/-/agentforce-conversation-client-1.27.1.tgz",
|
|
1868
|
+
"integrity": "sha512-HlY9kqUzxvVTor7r2Y8ony9eAS/ekTFeT2VMlangSD1G3xvnnsIdJDz44X0OiOrn2YiVmHyBsYlALDxKKWZpgA==",
|
|
1869
1869
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
1870
1870
|
"dependencies": {
|
|
1871
1871
|
"@lightning-out/application": "2.1.1-rc.2"
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"test": "vitest"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@salesforce/agentforce-conversation-client": "^1.
|
|
15
|
+
"@salesforce/agentforce-conversation-client": "^1.27.1",
|
|
16
16
|
"@salesforce/webapp-experimental": "*",
|
|
17
17
|
"@tailwindcss/vite": "^4.1.17",
|
|
18
18
|
"react": "^19.2.0",
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/webapp-template-feature-react-agentforce-conversation-client-experimental",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.28.0",
|
|
4
4
|
"description": "Embedded Agentforce conversation client feature for web applications",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"scripts": {
|
|
25
25
|
"build": "npx tsx ../../cli/src/index.ts apply-patches packages/template/feature/feature-react-agentforce-conversation-client packages/template/base-app/base-react-app packages/template/feature/feature-react-agentforce-conversation-client/dist --reset",
|
|
26
26
|
"clean": "rm -rf dist",
|
|
27
|
+
"test": "npm run build && cd dist/force-app/main/default/webapplications/feature-react-agentforce-conversation-client && npm ci && npm run build",
|
|
27
28
|
"dev": "cd dist/force-app/main/default/webapplications/feature-react-agentforce-conversation-client && npm install && npm run dev",
|
|
28
29
|
"watch": "npx tsx ../../cli/src/index.ts watch-patches packages/template/feature/feature-react-agentforce-conversation-client packages/template/base-app/base-react-app packages/template/feature/feature-react-agentforce-conversation-client/dist"
|
|
29
30
|
},
|
|
@@ -34,5 +35,5 @@
|
|
|
34
35
|
"react-dom": "^19.2.1",
|
|
35
36
|
"react-router": "^7.10.1"
|
|
36
37
|
},
|
|
37
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "7812639a9d3e6a9d4600c6897926f9a0f00c292f"
|
|
38
39
|
}
|