@salesforce/pwa-kit-create-app 3.9.0-preview.0 → 3.9.0-preview.1
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/assets/templates/@salesforce/retail-react-app/config/default.js.hbs +27 -0
- package/package.json +4 -4
- package/templates/express-minimal.tar.gz +0 -0
- package/templates/mrt-reference-app.tar.gz +0 -0
- package/templates/retail-react-app.tar.gz +0 -0
- package/templates/typescript-minimal.tar.gz +0 -0
|
@@ -19,6 +19,33 @@ module.exports = {
|
|
|
19
19
|
// This boolean value dictates whether the plus sign (+) is interpreted as space for query param string. Defaults to: false
|
|
20
20
|
interpretPlusSignAsSpace: false
|
|
21
21
|
},
|
|
22
|
+
login: {
|
|
23
|
+
passwordless: {
|
|
24
|
+
// Enables or disables passwordless login for the site. Defaults to: false
|
|
25
|
+
enabled: false,
|
|
26
|
+
// The callback URI, which can be an absolute URL (including third-party URIs) or a relative path set up by the developer.
|
|
27
|
+
// Required in 'callback' mode; if missing, passwordless login defaults to 'sms' mode, which requires Marketing Cloud configuration.
|
|
28
|
+
// If the env var `PASSWORDLESS_LOGIN_CALLBACK_URI` is set, it will override the config value.
|
|
29
|
+
callbackURI:
|
|
30
|
+
process.env.PASSWORDLESS_LOGIN_CALLBACK_URI || '/passwordless-login-callback'
|
|
31
|
+
},
|
|
32
|
+
social: {
|
|
33
|
+
// Enables or disables social login for the site. Defaults to: false
|
|
34
|
+
enabled: false,
|
|
35
|
+
// The third-party identity providers supported by your app. The PWA Kit supports Google and Apple by default.
|
|
36
|
+
// Additional IDPs will also need to be added to the IDP_CONFIG in the SocialLogin component.
|
|
37
|
+
idps: ['google', 'apple'],
|
|
38
|
+
// The redirect URI used after a successful social login authentication.
|
|
39
|
+
// This should be a relative path set up by the developer.
|
|
40
|
+
// If the env var `SOCIAL_LOGIN_REDIRECT_URI` is set, it will override the config value.
|
|
41
|
+
redirectURI: process.env.SOCIAL_LOGIN_REDIRECT_URI || '/social-callback'
|
|
42
|
+
},
|
|
43
|
+
resetPassword: {
|
|
44
|
+
// The callback URI, which can be an absolute URL (including third-party URIs) or a relative path set up by the developer.
|
|
45
|
+
// If the env var `RESET_PASSWORD_CALLBACK_URI` is set, it will override the config value.
|
|
46
|
+
callbackURI: process.env.RESET_PASSWORD_CALLBACK_URI || '/reset-password-callback'
|
|
47
|
+
}
|
|
48
|
+
},
|
|
22
49
|
// The default site for your app. This value will be used when a siteRef could not be determined from the url
|
|
23
50
|
defaultSite: '{{answers.project.commerce.siteId}}',
|
|
24
51
|
// Provide aliases for your sites. These will be used in place of your site id when generating paths throughout the application.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/pwa-kit-create-app",
|
|
3
|
-
"version": "3.9.0-preview.
|
|
3
|
+
"version": "3.9.0-preview.1",
|
|
4
4
|
"description": "Salesforce's project generator tool",
|
|
5
5
|
"homepage": "https://github.com/SalesforceCommerceCloud/pwa-kit/tree/develop/packages/pwa-kit-create-app#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"tar": "^6.2.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@salesforce/pwa-kit-dev": "3.9.0-preview.
|
|
42
|
-
"internal-lib-build": "3.9.0-preview.
|
|
41
|
+
"@salesforce/pwa-kit-dev": "3.9.0-preview.1",
|
|
42
|
+
"internal-lib-build": "3.9.0-preview.1",
|
|
43
43
|
"verdaccio": "^5.22.1"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
|
46
46
|
"node": "^16.11.0 || ^18.0.0 || ^20.0.0 || ^22.0.0",
|
|
47
47
|
"npm": "^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "a4afa2da67a0c99f51ac1dfd9f63cd414f342dec"
|
|
50
50
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|