Skip to content

Commit 7dafb99

Browse files
committedMay 23, 2023
Merge branch 'develop' into feature/template-extensibility
* develop: (37 commits) [Phased Launch] Call Session bridge after login (#1220) [v3] Add multi-site suffix to auth token keys (#1208) Footer: fix hydration error with the locale dropdown (#1210) remove unused peerDependency @chakra-ui/system (#1212) @W-12582733: Expose env vars endpoint for E2E smoke tests (#1207) Upgrade to React 18 (#1166) Remove v3 branch name related actions (#1206) add test to reach test coverage threshold remove commerce-api folder Feature: Extract einstein RefArch-specific values to constant (#1200) Bump version number to 2.7.1 and update changelogs (#1197) store usid in cookies (#1193) make sure static files are copied on dev environment (#1196) [WIP] PWA Kit 2.7.1 release (#1181) [V2] Internal lib build typescript dev dependency (#1194) [V2] Re-generate lock files and fix hook lib tests (#1186) [v3] Add Convenience Components (#1183) Update commerce-sdk-react README (#1176) Add additional properties to ShopperLogin test types (#1185) Fix missing commerce-sdk-react logout call (#1180) ... # Conflicts: # package-lock.json # packages/commerce-sdk-react/CHANGELOG.md # packages/commerce-sdk-react/package-lock.json # packages/internal-lib-build/package-lock.json # packages/pwa-kit-create-app/package-lock.json # packages/pwa-kit-dev/package-lock.json # packages/pwa-kit-react-sdk/package-lock.json # packages/pwa-kit-runtime/package-lock.json # packages/template-mrt-reference-app/package-lock.json # packages/template-retail-react-app/package-lock.json # packages/template-typescript-minimal/package-lock.json # packages/test-commerce-sdk-react/package-lock.json

File tree

158 files changed

+2008
-1412
lines changed

Some content is hidden

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

158 files changed

+2008
-1412
lines changed
 

‎.github/workflows/test.yml

+5-14
Original file line numberDiff line numberDiff line change
@@ -19,30 +19,28 @@ on:
1919
- develop
2020
# TODO: Should we run on all pushes to release branches, or should we run on GitHub releases?
2121
- 'release-*'
22-
- 'v3'
2322
schedule:
2423
# Run every day at 12pm (PST) - cron uses UTC times
2524
- cron: '0 8 * * *'
2625
env:
2726
IS_NOT_FORK: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository }}
2827
DEVELOP: ${{ (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && (github.head_ref || github.ref_name) == 'develop' }}
2928
RELEASE: ${{ (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && startsWith(github.head_ref || github.ref_name, 'release-') }}
30-
V3: ${{ (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && (github.head_ref || github.ref_name) == 'v3' }}
3129

3230
jobs:
3331
pwa-kit:
3432
strategy:
3533
fail-fast: false
3634
matrix:
3735
node: [16, 18]
38-
npm: [7, 8, 9]
36+
npm: [8, 9]
3937
runs-on: ubuntu-latest
4038
env:
4139
# The "default" npm is the one that ships with a given version of node.
4240
# For more: https://nodejs.org/en/download/releases/
4341
# (We also use this env var for making sure a step runs once for the current node version)
4442
IS_DEFAULT_NPM: ${{ (matrix.node == 16 && matrix.npm == 8) || (matrix.node == 18 && matrix.npm == 9) }}
45-
# The current recommended version for Managed Runtime:
43+
# The current recommended version for Managed Runtime:
4644
# https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/upgrade-node-version.html
4745
IS_MRT_NODE: ${{ matrix.node == 16 && matrix.npm == 8 }}
4846
steps:
@@ -74,7 +72,7 @@ jobs:
7472
uses: "./.github/actions/smoke_tests"
7573

7674
- name: Create MRT credentials file
77-
if: env.IS_NOT_FORK == 'true' && env.IS_MRT_NODE == 'true' && ( env.DEVELOP == 'true' || env.RELEASE == 'true' || env.V3 == 'true' )
75+
if: env.IS_NOT_FORK == 'true' && env.IS_MRT_NODE == 'true' && ( env.DEVELOP == 'true' || env.RELEASE == 'true' )
7876
uses: "./.github/actions/create_mrt"
7977
with:
8078
mobify_user: ${{ secrets.MOBIFY_CLIENT_USER }}
@@ -86,13 +84,6 @@ jobs:
8684
with:
8785
CWD: "./packages/template-retail-react-app"
8886
TARGET: staging
89-
90-
- name: Push Bundle to MRT (v3)
91-
if: env.IS_NOT_FORK == 'true' && env.IS_MRT_NODE == 'true' && env.V3 == 'true'
92-
uses: "./.github/actions/push_to_mrt"
93-
with:
94-
CWD: "./packages/template-retail-react-app"
95-
TARGET: staging-v3
9687

9788
- name: Push Bundle to MRT (Production)
9889
if: env.IS_NOT_FORK == 'true' && env.IS_MRT_NODE == 'true' && env.RELEASE == 'true'
@@ -134,13 +125,13 @@ jobs:
134125
fail-fast: false
135126
matrix:
136127
node: [16, 18]
137-
npm: [7, 8, 9]
128+
npm: [8, 9]
138129
env:
139130
# The "default" npm is the one that ships with a given version of node.
140131
# For more: https://nodejs.org/en/download/releases/
141132
# (We also use this env var for making sure a step runs once for the current node version)
142133
IS_DEFAULT_NPM: ${{ (matrix.node == 16 && matrix.npm == 8) || (matrix.node == 18 && matrix.npm == 9) }}
143-
# The current recommended version for Managed Runtime:
134+
# The current recommended version for Managed Runtime:
144135
# https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/upgrade-node-version.html
145136
IS_MRT_NODE: ${{ matrix.node == 16 && matrix.npm == 8 }}
146137
runs-on: windows-latest

‎.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ packages/*/out
99
packages/*/docs/www
1010
lerna-debug.log
1111
.idea/
12-
.vscode/
12+
.vscode/
13+
*.orig

0 commit comments

Comments
 (0)
Please sign in to comment.