Skip to content

Update MSW to 1.3.2, React-Redux to 2.0-beta.0, and log Playwright #3757

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
fail-fast: false
matrix:
node: ['16.x']
ts: ['4.7', '4.8', '4.9', '5.0']
ts: ['4.7', '4.8', '4.9', '5.0', '5.1', '5.2']
steps:
- name: Checkout repo
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions examples/publish-ci/cra4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"private": true,
"dependencies": {
"@reduxjs/toolkit": "^2.0.0-beta.2",
"msw": "^0.49.2",
"msw": "^1.3.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^9.0.0-alpha.1",
"react-redux": "^9.0.0-beta.0",
"react-scripts": "^4",
"web-vitals": "^2.1.4"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/publish-ci/cra4/public/mockServiceWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* tslint:disable */

/**
* Mock Service Worker (0.49.3).
* Mock Service Worker (1.3.2).
* @see https://github.com/mswjs/msw
* - Please do NOT modify this file.
* - Please do NOT serve this file on production.
Expand Down
1 change: 1 addition & 0 deletions examples/publish-ci/cra4/tests/playwright/rtkq.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { test, expect } from '@playwright/test'

test('RTK / RTKQ Interactions', async ({ page }) => {
page.on('console', (msg) => console.log('Console message: ', msg.text()))
await page.goto('http://localhost:3000')

const counterValue = page.getByTestId('counter-value')
Expand Down
87 changes: 42 additions & 45 deletions examples/publish-ci/cra4/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1959,19 +1959,19 @@ __metadata:
languageName: node
linkType: hard

"@mswjs/interceptors@npm:^0.17.5":
version: 0.17.9
resolution: "@mswjs/interceptors@npm:0.17.9"
"@mswjs/interceptors@npm:^0.17.10":
version: 0.17.10
resolution: "@mswjs/interceptors@npm:0.17.10"
dependencies:
"@open-draft/until": ^1.0.3
"@types/debug": ^4.1.7
"@xmldom/xmldom": ^0.8.3
debug: ^4.3.3
headers-polyfill: ^3.1.0
headers-polyfill: 3.2.5
outvariant: ^1.2.1
strict-event-emitter: ^0.2.4
web-encoding: ^1.1.5
checksum: 4df726cbee93d8baa54ead1ecb11e98124468659f51eb659ef8ead4aca7d6375198baf412ea17d4810fa5f1ee4fa53994702cb3b0b4f6f427a2f0fb890020192
checksum: 0e6d32f399144b5cefe6fd7620f2776c83adc9bbbbccf2eb4ea347332be059f585136c44168c09b544c41cd3d686f88e43432e10192227a24fbb0c98a2f52dc8
languageName: node
linkType: hard

Expand Down Expand Up @@ -4662,16 +4662,6 @@ __metadata:
languageName: node
linkType: hard

"chalk@npm:4.1.1":
version: 4.1.1
resolution: "chalk@npm:4.1.1"
dependencies:
ansi-styles: ^4.1.0
supports-color: ^7.1.0
checksum: 036e973e665ba1a32c975e291d5f3d549bceeb7b1b983320d4598fb75d70fe20c5db5d62971ec0fe76cdbce83985a00ee42372416abfc3a5584465005a7855ed
languageName: node
linkType: hard

"chalk@npm:5.0.1":
version: 5.0.1
resolution: "chalk@npm:5.0.1"
Expand Down Expand Up @@ -7877,10 +7867,10 @@ __metadata:
languageName: node
linkType: hard

"graphql@npm:^15.0.0 || ^16.0.0":
version: 16.6.0
resolution: "graphql@npm:16.6.0"
checksum: bf1d9e3c1938ce3c1a81e909bd3ead1ae4707c577f91cff1ca2eca474bfbc7873d5d7b942e1e9777ff5a8304421dba57a4b76d7a29eb19de8711cb70e3c2415e
"graphql@npm:^16.8.1":
version: 16.8.1
resolution: "graphql@npm:16.8.1"
checksum: 8d304b7b6f708c8c5cc164b06e92467dfe36aff6d4f2cf31dd19c4c2905a0e7b89edac4b7e225871131fd24e21460836b369de0c06532644d15b461d55b1ccc0
languageName: node
linkType: hard

Expand Down Expand Up @@ -8053,10 +8043,10 @@ __metadata:
languageName: node
linkType: hard

"headers-polyfill@npm:^3.1.0":
version: 3.1.2
resolution: "headers-polyfill@npm:3.1.2"
checksum: 510ca9637ef652404dbd432e680418f8d418ba18094ef2f64c3d8de955ebf6e68d553c7f0aeaa5fc937d130b139c1e2d7c2066cd4cf0f740a4627924eaaee9db
"headers-polyfill@npm:3.2.5":
version: 3.2.5
resolution: "headers-polyfill@npm:3.2.5"
checksum: a3c4bdd661584fd39e40c0f91412abc514616edfbd20d29a75567e591f90ef5c445c8e209b7f3c2b2375d27e95e4690f33417368a168d4832484a93861ab6a3c
languageName: node
linkType: hard

Expand Down Expand Up @@ -8921,10 +8911,10 @@ __metadata:
languageName: node
linkType: hard

"is-node-process@npm:^1.0.1":
version: 1.0.1
resolution: "is-node-process@npm:1.0.1"
checksum: 3ddb8a892a00f6eb9c2aea7e7e1426b8683512d9419933d95114f4f64b5455e26601c23a31c0682463890032136dd98a326988a770ab6b4eed54a43ade8bed50
"is-node-process@npm:^1.2.0":
version: 1.2.0
resolution: "is-node-process@npm:1.2.0"
checksum: 930765cdc6d81ab8f1bbecbea4a8d35c7c6d88a3ff61f3630e0fc7f22d624d7661c1df05c58547d0eb6a639dfa9304682c8e342c4113a6ed51472b704cee2928
languageName: node
linkType: hard

Expand Down Expand Up @@ -10879,37 +10869,37 @@ __metadata:
languageName: node
linkType: hard

"msw@npm:^0.49.2":
version: 0.49.3
resolution: "msw@npm:0.49.3"
"msw@npm:^1.3.2":
version: 1.3.2
resolution: "msw@npm:1.3.2"
dependencies:
"@mswjs/cookies": ^0.2.2
"@mswjs/interceptors": ^0.17.5
"@mswjs/interceptors": ^0.17.10
"@open-draft/until": ^1.0.3
"@types/cookie": ^0.4.1
"@types/js-levenshtein": ^1.1.1
chalk: 4.1.1
chalk: ^4.1.1
chokidar: ^3.4.2
cookie: ^0.4.2
graphql: ^15.0.0 || ^16.0.0
headers-polyfill: ^3.1.0
graphql: ^16.8.1
headers-polyfill: 3.2.5
inquirer: ^8.2.0
is-node-process: ^1.0.1
is-node-process: ^1.2.0
js-levenshtein: ^1.1.6
node-fetch: ^2.6.7
outvariant: ^1.3.0
outvariant: ^1.4.0
path-to-regexp: ^6.2.0
strict-event-emitter: ^0.4.3
type-fest: ^2.19.0
yargs: ^17.3.1
peerDependencies:
typescript: ">= 4.4.x <= 4.9.x"
typescript: ">= 4.4.x <= 5.2.x"
peerDependenciesMeta:
typescript:
optional: true
bin:
msw: cli/index.js
checksum: 8322cd42cd69f289c05517d02bde22fc2f10e86fc2d0d209d9df54bd03d10b8123723c5587a2654dcd2cd0f314a016f9eccac88cffa30fafd1f9fead16db639e
checksum: c2d4f7747f5806f0fd8d8cc3ca250ee1c2a7a6cd608de43f95bd072ba1fb13cdce0b52932ce9bf8f4a21b194d2815db535501e224ec8f7052593447fe1c0cb70
languageName: node
linkType: hard

Expand Down Expand Up @@ -11522,13 +11512,20 @@ __metadata:
languageName: node
linkType: hard

"outvariant@npm:^1.2.1, outvariant@npm:^1.3.0":
"outvariant@npm:^1.2.1":
version: 1.3.0
resolution: "outvariant@npm:1.3.0"
checksum: ac76ca375c1c642989e1c74f0e9ebac84c05bc9fdc8f28be949c16fae1658e9f1f2fb1133fe3cc1e98afabef78fe4298fe9360b5734baf8e6ad440c182680848
languageName: node
linkType: hard

"outvariant@npm:^1.4.0":
version: 1.4.0
resolution: "outvariant@npm:1.4.0"
checksum: ec32dfc315c464bb6e4906b2f450d259ce0b86caf70b70b249054359d9af21a7fccf53a8b6aa232f8d718449e31c1cfa594e6ebffaafe7bf908b502495256d7b
languageName: node
linkType: hard

"p-each-series@npm:^2.1.0":
version: 2.2.0
resolution: "p-each-series@npm:2.2.0"
Expand Down Expand Up @@ -13241,9 +13238,9 @@ __metadata:
languageName: node
linkType: hard

"react-redux@npm:^9.0.0-alpha.1":
version: 9.0.0-alpha.1
resolution: "react-redux@npm:9.0.0-alpha.1"
"react-redux@npm:^9.0.0-beta.0":
version: 9.0.0-beta.0
resolution: "react-redux@npm:9.0.0-beta.0"
dependencies:
"@types/use-sync-external-store": ^0.0.3
react-is: ^18.0.0
Expand All @@ -13266,7 +13263,7 @@ __metadata:
optional: true
redux:
optional: true
checksum: ee4edbf417d0f16297e8bc6d039129f915f4d9330ec160ab4135e859a8ec7f11f943cfc26a2d336ec2395c2549c7e8e6d7a4f341febd5404ed0221fb5cbfc17a
checksum: 4fc40fc4b2c03905f5d523b854516f4323d307c0ca33f2a14701f33315b53768d9e19f59511ebcad5448ccbd7c69a362edd0b68f0932669d4f9b2f517b7257b4
languageName: node
linkType: hard

Expand Down Expand Up @@ -13962,12 +13959,12 @@ __metadata:
"@types/node": ^17.0.45
"@types/react": ^18.0.26
"@types/react-dom": ^18.0.10
msw: ^0.49.2
msw: ^1.3.2
playwright: ^1.31.1
prettier: ^2.8.4
react: ^18.2.0
react-dom: ^18.2.0
react-redux: ^9.0.0-alpha.1
react-redux: ^9.0.0-beta.0
react-scripts: ^4
serve: ^14.2.0
typescript: ^4.9.4
Expand Down
4 changes: 2 additions & 2 deletions examples/publish-ci/cra5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"private": true,
"dependencies": {
"@reduxjs/toolkit": "^2.0.0-beta.2",
"msw": "^0.49.2",
"msw": "^1.3.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^9.0.0-alpha.1",
"react-redux": "^9.0.0-beta.0",
"react-scripts": "5",
"web-vitals": "^2.1.4"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/publish-ci/cra5/public/mockServiceWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* tslint:disable */

/**
* Mock Service Worker (0.49.3).
* Mock Service Worker (1.3.2).
* @see https://github.com/mswjs/msw
* - Please do NOT modify this file.
* - Please do NOT serve this file on production.
Expand Down
1 change: 1 addition & 0 deletions examples/publish-ci/cra5/tests/playwright/rtkq.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { test, expect } from '@playwright/test'

test('RTK / RTKQ Interactions', async ({ page }) => {
page.on('console', (msg) => console.log('Console message: ', msg.text()))
await page.goto('http://localhost:3000')

const counterValue = page.getByTestId('counter-value')
Expand Down
Loading