Skip to content
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

Storybook source proxy #533

Merged
merged 3 commits into from
Nov 28, 2023
Merged

Storybook source proxy #533

merged 3 commits into from
Nov 28, 2023

Conversation

DavieReid
Copy link
Contributor

  1. Adds a noProxy regex to http source.
  2. createHttpSource also accepts configuredRequests which allows users full control of the Request instance. When provided, endpoints should not be used. Endpoints will take precedence over configuredRequests

@DavieReid DavieReid requested a review from a team as a code owner November 27, 2023 12:17
Copy link

changeset-bot bot commented Nov 27, 2023

🦋 Changeset detected

Latest commit: f0e0617

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 25 packages
Name Type
@jpmorganchase/mosaic-source-http Patch
@jpmorganchase/mosaic-source-storybook Patch
@jpmorganchase/mosaic-cli Patch
@jpmorganchase/mosaic-labs-components Patch
@jpmorganchase/mosaic-components Patch
@jpmorganchase/mosaic-content-editor-plugin Patch
@jpmorganchase/mosaic-core Patch
@jpmorganchase/mosaic-create-site Patch
@jpmorganchase/mosaic-from-http-request Patch
@jpmorganchase/mosaic-layouts Patch
@jpmorganchase/mosaic-open-api-component Patch
@jpmorganchase/mosaic-plugins Patch
@jpmorganchase/mosaic-schemas Patch
@jpmorganchase/mosaic-serialisers Patch
@jpmorganchase/mosaic-site-components Patch
@jpmorganchase/mosaic-site-middleware Patch
@jpmorganchase/mosaic-site-preset-styles Patch
@jpmorganchase/mosaic-site Patch
@jpmorganchase/mosaic-source-git-repo Patch
@jpmorganchase/mosaic-source-local-folder Patch
@jpmorganchase/mosaic-standard-generator Patch
@jpmorganchase/mosaic-store Patch
@jpmorganchase/mosaic-theme Patch
@jpmorganchase/mosaic-types Patch
@jpmorganchase/mosaic-workflows Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Nov 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mosaic ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 28, 2023 0:14am

- add `noProxy` regex option to allow some endpoints to use the proxy and some to not.

- add `configuredRequests` option to `createHttpSource`.  It is a collection of `Request` instances. Using this means `endpoints` is not used.
@DavieReid DavieReid force-pushed the storybook-source-proxy branch from 80a72f7 to f0e0617 Compare November 28, 2023 12:10
@DavieReid DavieReid merged commit c8db46d into main Nov 28, 2023
8 checks passed
@DavieReid DavieReid deleted the storybook-source-proxy branch November 28, 2023 13:03
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.

3 participants