Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jul 3, 2023

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

Releases

@web/mocks@0.1.0

Minor Changes

  • a2fb64a: 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

@thepassle thepassle merged commit 1c10757 into master Jul 3, 2023
@thepassle thepassle deleted the changeset-release/master branch July 3, 2023 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant