Commit graph

16 commits

Author SHA1 Message Date
regexowl
086ac6c9ec devDeps: Manually bump msw from 2.7.0 to 2.7.3
This bumps msw from 2.7.0 to 2.7.3
2025-03-18 09:49:46 +01:00
regexowl
7da478791e devDeps: Manually bump msw from 2.6.6 to 2.7.0
This bumps msw from 2.6.6 to 2.7.0
2024-12-20 07:13:18 -06:00
regexowl
c268267146 devDeps: Manually bump msw from 2.6.0 to 2.6.6
This bumps msw from 2.6.0 to 2.6.6
2024-12-04 12:02:07 -06:00
regexowl
b83ee20541 devDeps: Manually bump msw from 2.4.10 to 2.6.0
This bumps bump msw from 2.4.10 to 2.6.0
2024-11-06 16:23:32 +01:00
regexowl
edc4a70c25 devDeps: Manual bump msw from 2.4.9 to 2.4.10
Bumps msw from 2.4.9 to 2.4.10.
2024-11-01 14:59:42 -05:00
regexowl
c30c499a2b devDeps: Manually bump msw from 2.4.4 to 2.4.9
This bumps msw from 2.4.4 to 2.4.9
2024-10-01 17:40:33 +03:00
regexowl
d8aab05928 devDeps: Manual bump msw from 2.4.1 to 2.4.4
Dependabot doesn't touch the `mockServiceWorker.js` file that gets automatically updated by `npm install` which causes problem with "manual changes". We'll need to bump this manually at least for the time being.
2024-09-10 17:36:44 +02:00
regexowl
c0a28b3620 devDeps: Manual bump msw from 2.3.5 to 2.4.1
This bumps msw from 2.3.5 to 2.4.1
2024-09-03 20:24:10 +02:00
regexowl
5e75c46b60 devDeps: Manual bump msw from 2.3.2 to 2.3.5
This bumps msw from 2.3.2 to 2.3.5.
2024-08-06 17:01:15 +03:00
regexowl
a8fea7c377 devDeps: Bump msw from 2.3.1 to 2.3.2
This manually bumps msw from 2.3.1 to 2.3.2
2024-07-19 15:28:31 +02:00
regexowl
501323b476 MSW: Bump msw from 1.2.3 to 2.3.1
This bumps Mock Service Worker and updates the handlers.
2024-07-18 17:26:38 +02:00
jkozol
cdce2618da package.json: pin all package versions
Dependabot and npm ci work best together when all package versions are pinned.
2023-11-09 13:39:02 +01:00
jkozol
a5b1b1f775 package.json: upgrade patternfly to version 5
This upgrade requires multiple package updates. There are many style
updates to reflect pf5's syntax and structure changes
2023-10-25 09:02:47 +02:00
regexowl
ffbfb3381e msw: Version bump in mockServiceWorker.js 1.2.2 -> 1.2.3
msw was bumped from 1.2.2 to 1.2.3 in https://github.com/RedHatInsights/image-builder-frontend/pull/1264

This changes the version in `mockServiceWorker.js` as done by `npm ci`.
2023-07-25 13:42:20 +02:00
regexowl
a40c15d51f msw: Version bump in mockServiceWorker.js
Recently msw was bumped from 1.2.1 to 1.2.2 (https://github.com/RedHatInsights/image-builder-frontend/pull/1245). The version gets updated in `mockServiceWorker.js` upon running `npm ci`.

This PR changes the version as it wasn't a part of the original bump PR, but appears after every clean install.
2023-07-19 14:12:20 +02:00
lucasgarfield
e2006b2ff7 MSW: Integrate MSW into browser
This commit integrates Mock Service Worker into the browser. This will
allow us to use MSW to mock network requests at the API level from a
browser using the same MSW fixtures that we are currently using for our
testing. This means we will be able to have the same environment for
debugging, development, and testing if desired.

To develop using MSW, the developer will now use `npm run
stage-beta:msw`. The dev server will start as normal, but now any
request made that has a corresponding fixture will be intercepted and
the fixture used to generate the response.

This adds an MSW=TRUE environment variable to the run script. When this
environment variable is present, the dev webpack config will copy
mockServiceWorker.js into the build directory (/dist) using CopyPlugin
and will add some necessary headers to the dev server's responses using
DefinePlugin.
2023-06-01 14:40:02 +02:00