@salesforce/pwa-kit-create-app 3.1.0-preview.1 → 3.1.0-preview.3
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/bootstrap/js/config/default.js.hbs +1 -1
- package/assets/bootstrap/js/overrides/app/pages/home/index.jsx.hbs +1 -1
- package/assets/bootstrap/js/overrides/app/routes.jsx.hbs +1 -1
- package/assets/bootstrap/js/overrides/app/ssr.js +2 -1
- package/assets/templates/@salesforce/retail-react-app/config/default.js.hbs +1 -1
- 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
|
@@ -66,7 +66,7 @@ module.exports = {
|
|
|
66
66
|
],
|
|
67
67
|
// Additional parameters that configure Express app behavior.
|
|
68
68
|
ssrParameters: {
|
|
69
|
-
ssrFunctionNodeVersion: '
|
|
69
|
+
ssrFunctionNodeVersion: '18.x',
|
|
70
70
|
proxyConfigs: [
|
|
71
71
|
{
|
|
72
72
|
host: '{{answers.project.commerce.shortCode}}.api.commercecloud.salesforce.com',
|
|
@@ -9,7 +9,7 @@ import {useIntl, FormattedMessage} from 'react-intl'
|
|
|
9
9
|
import {useLocation} from 'react-router-dom'
|
|
10
10
|
|
|
11
11
|
// Components
|
|
12
|
-
import {Box, Button, Stack, Link} from '
|
|
12
|
+
import {Box, Button, Stack, Link} from '{{preset.templateSource.id}}/app/components/shared/ui'
|
|
13
13
|
|
|
14
14
|
// Project Components
|
|
15
15
|
import Hero from '{{preset.templateSource.id}}/app/components/hero'
|
|
@@ -10,7 +10,7 @@ import loadable from '@loadable/component'
|
|
|
10
10
|
import {getConfig} from '@salesforce/pwa-kit-runtime/utils/ssr-config'
|
|
11
11
|
|
|
12
12
|
// Components
|
|
13
|
-
import {Skeleton} from '
|
|
13
|
+
import {Skeleton} from '{{preset.templateSource.id}}/app/components/shared/ui'
|
|
14
14
|
import {configureRoutes} from '{{preset.templateSource.id}}/app/utils/routes-utils'
|
|
15
15
|
import {routes as _routes} from '{{preset.templateSource.id}}/app/routes'
|
|
16
16
|
|
|
@@ -27,7 +27,8 @@ const options = {
|
|
|
27
27
|
port: 3000,
|
|
28
28
|
|
|
29
29
|
// The protocol on which the development Express app listens.
|
|
30
|
-
// Note that http://localhost is treated as a secure context for development
|
|
30
|
+
// Note that http://localhost is treated as a secure context for development,
|
|
31
|
+
// except by Safari.
|
|
31
32
|
protocol: 'http'
|
|
32
33
|
}
|
|
33
34
|
|
|
@@ -66,7 +66,7 @@ module.exports = {
|
|
|
66
66
|
],
|
|
67
67
|
// Additional parameters that configure Express app behavior.
|
|
68
68
|
ssrParameters: {
|
|
69
|
-
ssrFunctionNodeVersion: '
|
|
69
|
+
ssrFunctionNodeVersion: '18.x',
|
|
70
70
|
proxyConfigs: [
|
|
71
71
|
{
|
|
72
72
|
host: '{{answers.project.commerce.shortCode}}.api.commercecloud.salesforce.com',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/pwa-kit-create-app",
|
|
3
|
-
"version": "3.1.0-preview.
|
|
3
|
+
"version": "3.1.0-preview.3",
|
|
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.1.13"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@salesforce/pwa-kit-dev": "3.1.0-preview.
|
|
42
|
-
"internal-lib-build": "3.1.0-preview.
|
|
41
|
+
"@salesforce/pwa-kit-dev": "3.1.0-preview.3",
|
|
42
|
+
"internal-lib-build": "3.1.0-preview.3",
|
|
43
43
|
"verdaccio": "^5.22.1"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
|
46
46
|
"node": "^16.11.0 || ^18.0.0",
|
|
47
47
|
"npm": "^8.0.0 || ^9.0.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "3840c85ad3a5526ff6a54eb0bf65327d3aa72797"
|
|
50
50
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|