Skip to content

Commit

Permalink
Update ssrFunctionNodeVersion to Node 18 (#1521)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamraya authored Nov 3, 2023
1 parent a403f89 commit 104f610
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/pwa-kit-create-app/assets/pwa/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ module.exports = {
],
// Additional parameters that configure Express app behavior.
ssrParameters: {
ssrFunctionNodeVersion: '16.x',
ssrFunctionNodeVersion: '18.x',
proxyConfigs: [
{
host: '${commerceApi.shortCode}.api.commercecloud.salesforce.com',
Expand Down
2 changes: 1 addition & 1 deletion packages/pwa-kit-react-sdk/setup-jest.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jest.mock('pwa-kit-runtime/utils/ssr-config', () => {
'**/*.json'
],
ssrParameters: {
ssrFunctionNodeVersion: '16.x',
ssrFunctionNodeVersion: '18.x',
proxyConfigs: [
{
host: 'kv7kzm78.api.commercecloud.salesforce.com',
Expand Down
2 changes: 1 addition & 1 deletion packages/template-express-minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"mobify": {
"ssrEnabled": true,
"ssrParameters": {
"ssrFunctionNodeVersion": "16.x"
"ssrFunctionNodeVersion": "18.x"
},
"ssrOnly": [
"ssr.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/template-mrt-reference-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"mobify": {
"ssrEnabled": true,
"ssrParameters": {
"ssrFunctionNodeVersion": "16.x",
"ssrFunctionNodeVersion": "18.x",
"proxyConfigs": [
{
"host": "httpbin.org",
Expand Down
2 changes: 1 addition & 1 deletion packages/template-retail-react-app/config/mocks/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ module.exports = {
],
// Additional parameters that configure Express app behavior.
ssrParameters: {
ssrFunctionNodeVersion: '16.x',
ssrFunctionNodeVersion: '18.x',
proxyConfigs: [
{
host: 'localhost:8888',
Expand Down
2 changes: 1 addition & 1 deletion packages/template-typescript-minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"**/*.json"
],
"ssrParameters": {
"ssrFunctionNodeVersion": "16.x",
"ssrFunctionNodeVersion": "18.x",
"proxyConfigs": [
{
"host": "kv7kzm78.api.commercecloud.salesforce.com",
Expand Down
2 changes: 1 addition & 1 deletion packages/test-commerce-sdk-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"**/*.json"
],
"ssrParameters": {
"ssrFunctionNodeVersion": "16.x",
"ssrFunctionNodeVersion": "18.x",
"proxyConfigs": [
{
"host": "kv7kzm78.api.commercecloud.salesforce.com",
Expand Down

0 comments on commit 104f610

Please sign in to comment.