Skip to content

Commit 1f16c75

Browse files
vcua-mobifyhajinsuha1vmartaadamraya
authored
@W-17589798@ Release preview version 3.9.0-preview.4 (#2272)
* Update default.js.hbs and ssr.js.hbs templates to support new login flows (#2263) * update bootstrap default.js.hbs to include login options * update ssr.js templates * Revert/page meta data tags 3.9.x (#2259) * Revert page-meta-data changes * Update CHANGELOG.md * Fix changelog --------- Co-authored-by: Vincent Marta <vmarta@salesforce.com> * Bump to version 3.9.0-preview.2 * Fix lint errors in default.js templates (#2265) * fix lint errors * rerun ci jobs * Update app config templates (#2267) * lint default.js in templates folder (#2266) Co-authored-by: vcua-mobify <47404250+vcua-mobify@users.noreply.github.com> * Bump to version 3.9.0-preview.3 * Update CHANGELOG.md * Fix import error template retail react app (#2270) * revert babel.config.js workaround * move everything out of utils into ssr.js or default.js * update default.js templates * update ssr.js templates * rerun ci jobs * rerun ci jobs * Bump versions --------- Co-authored-by: Adam Raya Navarro <arayanavarro@salesforce.com> * Update CHANGELOG.md --------- Co-authored-by: Jinsu Ha <91205717+hajinsuha1@users.noreply.github.com> Co-authored-by: Vincent Marta <vmarta@salesforce.com> Co-authored-by: Adam Raya Navarro <arayanavarro@salesforce.com>
1 parent 5fc2978 commit 1f16c75

File tree

41 files changed

+685
-561
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+685
-561
lines changed

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "3.9.0-preview.3",
2+
"version": "3.9.0-preview.4",
33
"packages": [
44
"packages/*"
55
]

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pwa-kit",
3-
"version": "3.9.0-preview.3",
3+
"version": "3.9.0-preview.4",
44
"scripts": {
55
"bump-version": "node ./scripts/bump-version/index.js",
66
"bump-version:retail-react-app": "node ./scripts/bump-version/index.js --package=@salesforce/retail-react-app",

packages/commerce-sdk-react/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
## v3.2.0-preview.4 (Feb 14, 2025)
12
## v3.2.0-preview.3 (Feb 13, 2025)
23
## v3.2.0-preview.2 (Feb 13, 2025)
34
## v3.9.0-preview.3 (Feb 13, 2025)

packages/commerce-sdk-react/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/commerce-sdk-react/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@salesforce/commerce-sdk-react",
3-
"version": "3.2.0-preview.3",
3+
"version": "3.2.0-preview.4",
44
"description": "A library that provides react hooks for fetching data from Commerce Cloud",
55
"homepage": "https://github.com/SalesforceCommerceCloud/pwa-kit/tree/develop/packages/ecom-react-hooks#readme",
66
"bugs": {
@@ -45,7 +45,7 @@
4545
"jwt-decode": "^4.0.0"
4646
},
4747
"devDependencies": {
48-
"@salesforce/pwa-kit-dev": "3.9.0-preview.3",
48+
"@salesforce/pwa-kit-dev": "3.9.0-preview.4",
4949
"@tanstack/react-query": "^4.28.0",
5050
"@testing-library/jest-dom": "^5.16.5",
5151
"@testing-library/react": "^14.0.0",
@@ -60,7 +60,7 @@
6060
"@types/react-helmet": "~6.1.6",
6161
"@types/react-router-dom": "~5.3.3",
6262
"cross-env": "^5.2.1",
63-
"internal-lib-build": "3.9.0-preview.3",
63+
"internal-lib-build": "3.9.0-preview.4",
6464
"jsonwebtoken": "^9.0.0",
6565
"nock": "^13.3.0",
6666
"nodemon": "^2.0.22",

packages/internal-lib-build/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/internal-lib-build/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "internal-lib-build",
3-
"version": "3.9.0-preview.3",
3+
"version": "3.9.0-preview.4",
44
"private": true,
55
"description": "Build tools for *libraries* in the monorepo",
66
"bugs": {
@@ -60,7 +60,7 @@
6060
"shelljs": "^0.8.5"
6161
},
6262
"devDependencies": {
63-
"@salesforce/pwa-kit-dev": "3.9.0-preview.3",
63+
"@salesforce/pwa-kit-dev": "3.9.0-preview.4",
6464
"npm-packlist": "^4.0.0",
6565
"typescript": "4.9.5"
6666
},

packages/pwa-kit-create-app/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
## v3.2.0-preview.4 (Feb 14, 2025)
12
## v3.2.0-preview.3 (Feb 13, 2025)
23

34
## v3.9.0-dev (Oct 29, 2024)

packages/pwa-kit-create-app/assets/bootstrap/js/config/default.js.hbs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ module.exports = {
2525
// Required in 'callback' mode; if missing, passwordless login defaults to 'sms' mode, which requires Marketing Cloud configuration.
2626
// If the env var `PASSWORDLESS_LOGIN_CALLBACK_URI` is set, it will override the config value.
2727
callbackURI:
28-
process.env.PASSWORDLESS_LOGIN_CALLBACK_URI || '/passwordless-login-callback'
28+
process.env.PASSWORDLESS_LOGIN_CALLBACK_URI || '/passwordless-login-callback',
29+
// The landing path for passwordless login
30+
landingPath: '/passwordless-login-landing'
2931
},
3032
social: {
3133
// Enables or disables social login for the site. Defaults to: false
@@ -41,7 +43,9 @@ module.exports = {
4143
resetPassword: {
4244
// The callback URI, which can be an absolute URL (including third-party URIs) or a relative path set up by the developer.
4345
// If the env var `RESET_PASSWORD_CALLBACK_URI` is set, it will override the config value.
44-
callbackURI: process.env.RESET_PASSWORD_CALLBACK_URI || '/reset-password-callback'
46+
callbackURI: process.env.RESET_PASSWORD_CALLBACK_URI || '/reset-password-callback',
47+
// The landing path for reset password
48+
landingPath: '/reset-password-landing'
4549
}
4650
},
4751
// The default site for your app. This value will be used when a siteRef could not be determined from the url

0 commit comments

Comments
 (0)