Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
7967d42
Install commerce-sdk-react to v2
shethj May 12, 2025
4f109ae
Get basic auth working with commerce-sdk
shethj May 13, 2025
7f42365
integrate auth and commerce api contexts from react sdk
shethj May 13, 2025
2510e33
Bump to react 18
shethj May 13, 2025
7949a05
Fix login and get customer
shethj May 13, 2025
5a5b749
Remove console.log
shethj May 13, 2025
5ff3d47
Update logout and updateCustomer from react-sdk
shethj May 13, 2025
4d09edc
Implement shopper registration from commerce-sdk
shethj May 13, 2025
bd6e13d
Implement create and update address using commerce-sdk-react
shethj May 13, 2025
e265a77
Integrate payment instruments with commerce-sdk-react
shethj May 13, 2025
6dfbacf
Added dwsid to SCAPI requests
shethj May 14, 2025
77c8a70
Remove auth.js
shethj May 14, 2025
32d7a0f
Revert ShopperCustoemers hook and sdk to v2
shethj May 19, 2025
fbbf694
Cleanup app-config and useCustomer
shethj May 20, 2025
c4bf09c
Update packages/template-retail-react-app/app/commerce-api/contexts.js
shethj May 27, 2025
3e6110e
Move commerce-sdk-react to devDeps
shethj May 27, 2025
e77abd6
Remove shopper login init from commerce API - redundant
shethj May 29, 2025
450fb9a
Add userId and cookieId to einstein requests
shethj May 29, 2025
83bfd75
Fix enc_user_id key in einstein
shethj May 29, 2025
380cc43
Wire CommerceApiProvider from commerce-sdk-react
shethj Jun 4, 2025
6f1d038
Refactor willSendRequest to use paramInjector
shethj Jun 4, 2025
aacff62
Fix auth sync
shethj Jun 4, 2025
4b6a31f
Revert commerce-sdk-react example
shethj Jun 4, 2025
869dbdf
`commerce-sdk-react` is also compatible with older React 17 (@W-18568…
vmarta Jun 5, 2025
904986a
Integrate commerce-sdk-react
shethj Jun 10, 2025
a3631a4
Lazy load baskets
shethj Jun 15, 2025
c08eba7
Update mocks for token
shethj Jun 16, 2025
faeb989
Test fixes
shethj Jun 16, 2025
1562c92
Fix confirmation modal tests
shethj Jun 16, 2025
a057300
Fix commerce-api tests
shethj Jun 16, 2025
03ec335
Fix einstein tests
shethj Jun 16, 2025
f353ebc
Fix tests
shethj Jun 16, 2025
5fbc9e3
Fix nav tests
shethj Jun 16, 2025
4d9e149
Fix tests
shethj Jun 16, 2025
6533dac
Fix tests
shethj Jun 16, 2025
bb42854
Fix tests
shethj Jun 16, 2025
a66b145
Fix wishlist tests
shethj Jun 16, 2025
6b82f2b
Fix test
shethj Jun 16, 2025
d3bf569
Fix tests
shethj Jun 16, 2025
05acd19
Fix tests
shethj Jun 17, 2025
b202e89
Fix tests
shethj Jun 17, 2025
f9dac0b
Update skeleton condition for baskets
shethj Jun 17, 2025
f827aad
Fix test
shethj Jun 17, 2025
5d28575
FIx tests
shethj Jun 17, 2025
5d92167
Fix tests
shethj Jun 17, 2025
4de4f60
Handle new basket management
shethj Jun 18, 2025
9c87d62
Update basket state validation in checkout
shethj Jun 18, 2025
bbaf2cb
Fix tests
shethj Jun 18, 2025
0a2cff8
Fix tests
shethj Jun 18, 2025
3bef94d
Fix test
shethj Jun 18, 2025
40b25af
Update mocks
shethj Jun 18, 2025
64b50df
Fix tests
shethj Jun 18, 2025
d1e4b2e
Fix tests
shethj Jun 18, 2025
4b4ac1c
Fix tests
shethj Jun 18, 2025
8de97d2
fix tests
shethj Jun 18, 2025
55aff9e
Update tests
shethj Jun 18, 2025
daeb36a
Fix tests
shethj Jun 18, 2025
876f834
Remove unused mocks
shethj Jun 18, 2025
1ce53e1
Fix linting
shethj Jun 18, 2025
8da37ed
Point commerce-sdk-react to nightly
shethj Jun 23, 2025
b0e6df8
Remove redundant screen.debug
shethj Jun 23, 2025
033da07
Fix tests
shethj Jun 24, 2025
7cd6184
Fix tests
shethj Jun 24, 2025
3dab11a
Update package-lock files
shethj Jun 24, 2025
4dc7521
Merge branch 'feature/commerce-sdk-for-v2' into feature/refactor-sdk-…
shethj Jun 24, 2025
c2373a1
bump vendor js bundle size limit
shethj Jun 24, 2025
7fb01d6
Rename commerce-sdk-react provider
shethj Jun 24, 2025
54f61c3
Revert basket defer changes
shethj Jun 26, 2025
4de105b
Revert test script change
shethj Jun 26, 2025
829e96d
Move query client init out of CommerceAPIProvider
shethj Jun 26, 2025
4c54587
Update comment to explain transfromSDKClient
shethj Jun 26, 2025
8c8de9f
Remove additional mocks
shethj Jun 26, 2025
be46b3f
Remove phased-launch domain form CSP headers
shethj Jun 26, 2025
ccce38e
Remove query client mock
shethj Jun 26, 2025
e52d9aa
Added comment to skipped test
shethj Jun 26, 2025
55dbd4a
Revert package-lock files
shethj Jun 26, 2025
b6c42cf
Revert package-lock
shethj Jun 26, 2025
e0da8b9
Revert package-lock
shethj Jun 26, 2025
0503cd3
Update commerce-sdk-react nightly
shethj Jun 26, 2025
844abbc
Temp test fix
shethj Jun 26, 2025
fe44dd9
Update coverage
shethj Jun 26, 2025
98dc88c
Update node matrix for tests
shethj Jun 26, 2025
4f7d595
Update node matrix for tests
shethj Jun 26, 2025
a2191fa
Update node matrix
shethj Jun 26, 2025
50a5bca
Update default node
shethj Jun 26, 2025
dff7d4c
Update node matrix
shethj Jun 26, 2025
2df6588
Await user actions in logout test
shethj Jun 26, 2025
94ed269
fix test
shethj Jun 26, 2025
ee4cbef
Replace instances of pendingToken with auth.ready()
shethj Jun 27, 2025
fabe8f9
Fix test
shethj Jun 27, 2025
4c41089
Fix test
shethj Jun 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 6 additions & 28 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,13 @@ jobs:
pwa-kit:
strategy:
matrix:
node: [14, 16, 18, 20]
npm: [6, 7, 8, 9, 10]
exclude:
- node: 14
npm: 9
- node: 14
npm: 10
- node: 16
npm: 6
- node: 16
npm: 10
- node: 18
npm: 6
node: [18, 20]
npm: [9, 10]
runs-on: ubuntu-latest
env:
# The "default" npm is the one that ships with a given version of node.
# For more: https://nodejs.org/en/download/releases/
IS_DEFAULT_NPM: ${{ matrix.node == 14 && matrix.npm == 6 || matrix.node == 16 && matrix.npm == 8 || matrix.node == 18 && matrix.npm == 9 || matrix.node == 20 && matrix.npm == 10 }}
IS_DEFAULT_NPM: ${{ matrix.node == 18 && matrix.npm == 9 || matrix.node == 20 && matrix.npm == 10 }}
IS_LATEST_NPM: ${{ matrix.node == 20 && matrix.npm == 10 }}
steps:
- name: Checkout
Expand Down Expand Up @@ -124,23 +113,12 @@ jobs:
pwa-kit-windows:
strategy:
matrix:
node: [14, 16, 18, 20]
npm: [6, 7, 8, 9, 10]
exclude:
- node: 14
npm: 9
- node: 14
npm: 10
- node: 16
npm: 6
- node: 16
npm: 10
- node: 18
npm: 6
node: [18, 20]
npm: [9, 10]
env:
# The "default" npm is the one that ships with a given version of node.
# For more: https://nodejs.org/en/download/releases/
IS_DEFAULT_NPM: ${{ matrix.node == 14 && matrix.npm == 6 || matrix.node == 16 && matrix.npm == 8 || matrix.node == 18 && matrix.npm == 9 || matrix.node == 20 && matrix.npm == 10 }}
IS_DEFAULT_NPM: ${{ matrix.node == 18 && matrix.npm == 9 || matrix.node == 20 && matrix.npm == 10 }}
runs-on: windows-latest
steps:
- name: Checkout
Expand Down
Loading
Loading