Skip to content

Commit 1c10757

Browse files
authored
Merge pull request #2347 from modernweb-dev/changeset-release/master
Version Packages
2 parents 15e83c0 + 1a22684 commit 1c10757

File tree

3 files changed

+15
-14
lines changed

3 files changed

+15
-14
lines changed

.changeset/dirty-suns-hunt.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

packages/mocks/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# @web/mocks
22

3+
## 0.1.0
4+
5+
### Minor Changes
6+
7+
- a2fb64aa: Adds support for node.js request mocking, as well as some breaking changes:
8+
9+
1. Add support for request mocking in node js via `@web/mocks/node.js`
10+
2. rename `rest` to `http` -> not all requests/apis are RESTful, but all requests are http requests
11+
3. `withMocks()` to `withMocks` (no function call)
12+
4. move plugins from `node.js` to `plugins.js`
13+
5. separate `registerMockRoutes` from loading storybook code; when using `registerMockRoutes` in tests, we dont need to import storybook code
14+
6. remove `./msw.js`, moved into `browser.js` directly
15+
7. moved `storybook-decorator.js` to `@web/mocks/storybook/decorator.js`, this also leaves some space for the storybook UI addon (`@web/mocks/storybook/addon.js`), and if we decide to move the `storyFixture` (`@web/mocks/storybook/fixture.js`) in here as well
16+
317
## 0.0.13
418

519
### Patch Changes

packages/mocks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web/mocks",
3-
"version": "0.0.13",
3+
"version": "0.1.0",
44
"publishConfig": {
55
"access": "public"
66
},

0 commit comments

Comments
 (0)