Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/pwa-kit-create-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

## v3.15.0-preview.0 (Dec 12, 2025)
- Add new Google Cloud API configuration and Bonus Product configuration [#3523](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3523)

## v3.14.0 (Nov 04, 2025)
- Prompt text for Site ID should match actual validation: Site ID may contain uppercase or lowercase letters, numbers, hyphens, or underscores. - Updated Site ID validator regex to allow both uppercase and lowercase letters for improved compatibility, clarity. [#3410] (https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3410)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,16 @@ module.exports = {
dataCloudAPI: {
appSourceId: '{{answers.project.dataCloud.appSourceId}}',
tenantId: '{{answers.project.dataCloud.tenantId}}'
},
// Bonus product config
pages: {
cart: {
groupBonusProductsWithQualifyingProduct: true
}
},
// Google Cloud api config
googleCloudAPI: {
apiKey: process.env.GOOGLE_CLOUD_API_KEY
}
},
// Experimental: The base path for the app. This is the path that will be prepended to all /mobify routes,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,13 +349,19 @@ const {handler} = runtime.createHandler(options, (app) => {
],
'script-src': [
// Used by the service worker in /worker/main.js
'storage.googleapis.com'
'storage.googleapis.com',
// Connect to Google Cloud APIs
'maps.googleapis.com',
'places.googleapis.com'
],
'connect-src': [
// Connect to Einstein APIs
'api.cquotient.com',
// Connect to DataCloud APIs
'*.c360a.salesforce.com',
// Connect to Google Cloud APIs
'maps.googleapis.com',
'places.googleapis.com',
// Connect to SCRT2 URLs
'*.salesforce-scrt.com'
],
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -349,13 +349,19 @@ const {handler} = runtime.createHandler(options, (app) => {
],
'script-src': [
// Used by the service worker in /worker/main.js
'storage.googleapis.com'
'storage.googleapis.com',
// Connect to Google Cloud APIs
'maps.googleapis.com',
'places.googleapis.com'
],
'connect-src': [
// Connect to Einstein APIs
'api.cquotient.com',
// Connect to DataCloud APIs
'*.c360a.salesforce.com',
// Connect to Google Cloud APIs
'maps.googleapis.com',
'places.googleapis.com',
// Connect to SCRT2 URLs
'*.salesforce-scrt.com'
],
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,16 @@ module.exports = {
dataCloudAPI: {
appSourceId: '{{answers.project.dataCloud.appSourceId}}',
tenantId: '{{answers.project.dataCloud.tenantId}}'
},
// Bonus product config
pages: {
cart: {
groupBonusProductsWithQualifyingProduct: true
}
},
// Google Cloud api config
googleCloudAPI: {
apiKey: process.env.GOOGLE_CLOUD_API_KEY
}
},
// This list contains server-side only libraries that you don't want to be compiled by webpack
Expand Down
Loading