Skip to content
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
13 changes: 0 additions & 13 deletions .changeset/dirty-suns-hunt.md

This file was deleted.

14 changes: 14 additions & 0 deletions packages/mocks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @web/mocks

## 0.1.0

### Minor Changes

- a2fb64aa: Adds support for node.js request mocking, as well as some breaking changes:

1. Add support for request mocking in node js via `@web/mocks/node.js`
2. rename `rest` to `http` -> not all requests/apis are RESTful, but all requests are http requests
3. `withMocks()` to `withMocks` (no function call)
4. move plugins from `node.js` to `plugins.js`
5. separate `registerMockRoutes` from loading storybook code; when using `registerMockRoutes` in tests, we dont need to import storybook code
6. remove `./msw.js`, moved into `browser.js` directly
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

## 0.0.13

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/mocks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web/mocks",
"version": "0.0.13",
"version": "0.1.0",
"publishConfig": {
"access": "public"
},
Expand Down