1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/frontend
renovate[bot] 3f78bc93d8
chore(deps): update material-ui monorepo (#2269)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@mui/icons-material](https://mui.com/material-ui/material-icons/)
([source](https://togithub.com/mui/material-ui)) | [`5.10.3` ->
`5.10.9`](https://renovatebot.com/diffs/npm/@mui%2ficons-material/5.10.3/5.10.9)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.9/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.9/compatibility-slim/5.10.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.9/confidence-slim/5.10.3)](https://docs.renovatebot.com/merge-confidence/)
|
| [@mui/lab](https://mui.com/material-ui/about-the-lab/)
([source](https://togithub.com/mui/material-ui)) | [`5.0.0-alpha.97` ->
`5.0.0-alpha.107`](https://renovatebot.com/diffs/npm/@mui%2flab/5.0.0-alpha.97/5.0.0-alpha.107)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.107/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.107/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.107/compatibility-slim/5.0.0-alpha.97)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.107/confidence-slim/5.0.0-alpha.97)](https://docs.renovatebot.com/merge-confidence/)
|
| [@mui/material](https://mui.com/material-ui/getting-started/overview/)
([source](https://togithub.com/mui/material-ui)) | [`5.10.3` ->
`5.10.13`](https://renovatebot.com/diffs/npm/@mui%2fmaterial/5.10.3/5.10.13)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.13/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.13/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.13/compatibility-slim/5.10.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.13/confidence-slim/5.10.3)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>mui/material-ui (@&#8203;mui/icons-material)</summary>

###
[`v5.10.9`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#&#8203;5109)

[Compare
Source](https://togithub.com/mui/material-ui/compare/v5.10.6...v5.10.9)

<!-- generated comparing v5.10.8..master -->

*Oct 10, 2022*

A big thanks to the 7 contributors who made this release possible. Here
are some highlights :

- 🚀 \[Joy] Button loading functionality has been added by
[@&#8203;kushagra010](https://togithub.com/kushagra010)
([#&#8203;34658](https://togithub.com/mui/material-ui/issues/34658))
-   And more 🐛 bug fixes and 📚 documentation improvements.

##### `@mui/material@5.10.9`

- ​<!-- 16 -->\[Grid v2]\[system] Handle direction object prop for
responsive design
([#&#8203;34574](https://togithub.com/mui/material-ui/issues/34574))
[@&#8203;vanyaxk](https://togithub.com/vanyaxk)
- ​<!-- 03 -->\[Slider] Fix unnecessary accessibility attribute in root
element
([#&#8203;34610](https://togithub.com/mui/material-ui/issues/34610))
[@&#8203;vanyaxk](https://togithub.com/vanyaxk)

##### `@mui/system@5.10.9`

##### BREAKING CHANGE

- ​<!-- 17 -->\[system] Fix color-scheme implementation
([#&#8203;34639](https://togithub.com/mui/material-ui/issues/34639))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)

The `enableColorScheme` prop has been removed from `CssVarsProvider` and
`getInitColorScheme` (both Material UI and Joy UI).

    Migration:

- **Material UI**: you can enable the CSS color scheme via `<CssBaseline
enableColorScheme />`.
- **Joy UI**: it is enabled automatically if you use `<CssBaseline />`,
[see the docs](https://mui.com/joy-ui/react-css-baseline/).

##### Changes

- ​<!-- 02 -->\[system] Fix typo in createCssVarsProvider
([#&#8203;34661](https://togithub.com/mui/material-ui/issues/34661))
[@&#8203;HexM7](https://togithub.com/HexM7)

##### `@mui/base@5.0.0-alpha.101`

- ​<!-- 01 -->\[TrapFocus] Restore the previously exported type from
[@&#8203;mui/material](https://togithub.com/mui/material)
([#&#8203;34601](https://togithub.com/mui/material-ui/issues/34601))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

##### `@mui/joy@5.0.0-alpha.49`

- ​<!-- 04 -->\[Joy] Add button loading functionality
([#&#8203;34658](https://togithub.com/mui/material-ui/issues/34658))
[@&#8203;kushagra010](https://togithub.com/kushagra010)

##### Docs

- ​<!-- 18 -->\[docs] Revert
[#&#8203;34541](https://togithub.com/mui/material-ui/issues/34541)
([#&#8203;34700](https://togithub.com/mui/material-ui/issues/34700))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- ​<!-- 15 -->\[blog] Blog post for MUI X v6 alpha zero
([#&#8203;34424](https://togithub.com/mui/material-ui/issues/34424))
[@&#8203;joserodolfofreitas](https://togithub.com/joserodolfofreitas)
- ​<!-- 09 -->\[docs] Improve Joy UI tutorial demo
([#&#8203;34653](https://togithub.com/mui/material-ui/issues/34653))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 08 -->\[docs] Explain how SelectUnstyled renders a hidden input
([#&#8203;34638](https://togithub.com/mui/material-ui/issues/34638))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- ​<!-- 07 -->\[docs] Fix Taiwan description
([#&#8203;34611](https://togithub.com/mui/material-ui/issues/34611))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 06 -->\[docs] Fix codesandbox export with dayjs
([#&#8203;34619](https://togithub.com/mui/material-ui/issues/34619))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 05 -->\[docs] Explain the purpose of renderGroup prop
([#&#8203;34066](https://togithub.com/mui/material-ui/issues/34066))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

##### Core

- ​<!-- 14 -->\[core] Make useForkRef variadic
([#&#8203;27939](https://togithub.com/mui/material-ui/issues/27939))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- ​<!-- 13 -->\[core] Speedup of yarn install in the CI
([#&#8203;34632](https://togithub.com/mui/material-ui/issues/34632))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 12 -->\[core] Fix markdown loader on Windows
([#&#8203;34623](https://togithub.com/mui/material-ui/issues/34623))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- ​<!-- 11 -->\[core] Update changelog for version v5.10.8
([#&#8203;34593](https://togithub.com/mui/material-ui/issues/34593))
[@&#8203;mnajdova](https://togithub.com/mnajdova)
- ​<!-- 10 -->\[core] Update root package.json version
([#&#8203;34592](https://togithub.com/mui/material-ui/issues/34592))
[@&#8203;mnajdova](https://togithub.com/mnajdova)

All contributors of this release in alphabetical order:
[@&#8203;HexM7](https://togithub.com/HexM7),
[@&#8203;joserodolfofreitas](https://togithub.com/joserodolfofreitas),
[@&#8203;kushagra010](https://togithub.com/kushagra010),
[@&#8203;michaldudak](https://togithub.com/michaldudak),
[@&#8203;mnajdova](https://togithub.com/mnajdova),
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari),
[@&#8203;vanyaxk](https://togithub.com/vanyaxk)

###
[`v5.10.6`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#&#8203;5106)

[Compare
Source](https://togithub.com/mui/material-ui/compare/v5.10.3...v5.10.6)

<!-- generated comparing v5.10.5..master -->

*Sep 19, 2022*

A big thanks to the 11 contributors who made this release possible.
This release was mostly about 🐛 bug fixes and 📚 documentation
improvements.

##### `@mui/material@5.10.6`

- \[TextField] Fix conflict with `Bootstrap` even when label is not
defined
([#&#8203;34343](https://togithub.com/mui/material-ui/issues/34343))
[@&#8203;ZeeshanTamboli](https://togithub.com/ZeeshanTamboli)

##### `@mui/joy@5.0.0-alpha.46`

##### Breaking changes

- \[button]\[joy] Replace `start/endIcon` prop with `start/endDecorator`
([#&#8203;34288](https://togithub.com/mui/material-ui/issues/34288))
[@&#8203;hbjORbj](https://togithub.com/hbjORbj)

**BREAKING CHANGE**: replace `start/endIcon` with `start/endDecorator`.

    ```jsx
    // before
    <Button startIcon={...} endIcon={...} />

    // after
    <Button startDecorator={...} endDecorator={...} />
    ```

##### Changes

- \[Joy] Adjust the `Input` and `Textarea` styles
([#&#8203;34281](https://togithub.com/mui/material-ui/issues/34281))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[menu]\[joy] Set disablePortal default to false
([#&#8203;34283](https://togithub.com/mui/material-ui/issues/34283))
[@&#8203;tomasz-sodzawiczny](https://togithub.com/tomasz-sodzawiczny)

##### `@mui/base@5.0.0-alpha.98`

##### Breaking changes

- \[Select]\[base] Add event parameter to the onChange callback
([#&#8203;34158](https://togithub.com/mui/material-ui/issues/34158))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

The SelectUnstyled and MultiSelectUnstyled `onChange` callbacks did not
have event as the first parameter, leading to inconsistency with other
components and native HTML elements.
This PR adds the event parameter as the first one and moves the newly
selected value to the second position. Because of this, it's a breaking
change.
    This also affects Select from Joy UI.

    ```jsx
    // before
    <SelectUnstyled onChange={(newValue) => { /* ... */ }} />

    // after
    <SelectUnstyled onChange={(event, newValue) => { /* ... */ }} />
    ```

##### Docs

- \[blog] The Date Pickers gets a stable v5 release
([#&#8203;34152](https://togithub.com/mui/material-ui/issues/34152))
[@&#8203;alexfauquette](https://togithub.com/alexfauquette)
- \[blog] Improve image handling
([#&#8203;34222](https://togithub.com/mui/material-ui/issues/34222))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[blog] Correct 2021 survey data interpretation
([#&#8203;34291](https://togithub.com/mui/material-ui/issues/34291))
[@&#8203;samuelsycamore](https://togithub.com/samuelsycamore)
- \[docs] Remove expired AospExtended showcase
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Link the OpenSSF Best Practices card
([#&#8203;34331](https://togithub.com/mui/material-ui/issues/34331))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Fix 301 link to external projects
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Move 12 component names to Title Case
([#&#8203;34188](https://togithub.com/mui/material-ui/issues/34188))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Fix broken links
([#&#8203;34320](https://togithub.com/mui/material-ui/issues/34320))
[@&#8203;alexfauquette](https://togithub.com/alexfauquette)
- \[docs] Add notification for MUI Base announcement post
([#&#8203;34295](https://togithub.com/mui/material-ui/issues/34295))
[@&#8203;samuelsycamore](https://togithub.com/samuelsycamore)
- \[website] Fix MUI X subscribe email border style
([#&#8203;34330](https://togithub.com/mui/material-ui/issues/34330))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[website] Improve security header
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)

##### Core

- \[core] Lock file maintenance
([#&#8203;34161](https://togithub.com/mui/material-ui/issues/34161))
[@&#8203;renovate](https://togithub.com/renovate)\[bot]
- \[core] Issue template: move reproduction steps to the top
([#&#8203;34279](https://togithub.com/mui/material-ui/issues/34279))
[@&#8203;Janpot](https://togithub.com/Janpot)
- \[core] Create shared Next.js baseline config
([#&#8203;34259](https://togithub.com/mui/material-ui/issues/34259))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[core] In `typescript-to-proptypes`, respect the value pass to the
generic
([#&#8203;34311](https://togithub.com/mui/material-ui/issues/34311))
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle)

All contributors of this release in alphabetical order:
[@&#8203;alexfauquette](https://togithub.com/alexfauquette),
[@&#8203;flaviendelangle](https://togithub.com/flaviendelangle),
[@&#8203;hbjORbj](https://togithub.com/hbjORbj),
[@&#8203;Janpot](https://togithub.com/Janpot),
[@&#8203;michaldudak](https://togithub.com/michaldudak),
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari),
[@&#8203;renovate](https://togithub.com/renovate)\[bot],
[@&#8203;samuelsycamore](https://togithub.com/samuelsycamore),
[@&#8203;siriwatknp](https://togithub.com/siriwatknp),
[@&#8203;tomasz-sodzawiczny](https://togithub.com/tomasz-sodzawiczny),
[@&#8203;ZeeshanTamboli](https://togithub.com/ZeeshanTamboli)

</details>

<details>
<summary>mui/material-ui (@&#8203;mui/lab)</summary>

###
[`v5.0.0-alpha.107`](30cb27cff1...2f4c2190d1)

[Compare
Source](30cb27cff1...2f4c2190d1)

###
[`v5.0.0-alpha.106`](c80ff03398...30cb27cff1)

[Compare
Source](c80ff03398...30cb27cff1)

###
[`v5.0.0-alpha.105`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha105)

[Compare
Source](639224a3e3...c80ff03398)

- ​<!-- 26 -->\[base] Avoid calling setState during renders
([#&#8203;34916](https://togithub.com/mui/material-ui/issues/34916))
[@&#8203;Janpot](https://togithub.com/Janpot)

###
[`v5.0.0-alpha.104`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha104)

[Compare
Source](7bd7c219e2...639224a3e3)

- ​<!-- 38 -->\[ButtonUnstyled] Update to render as link when href or to
is provided
([#&#8203;34337](https://togithub.com/mui/material-ui/issues/34337))
[@&#8203;EduardoSCosta](https://togithub.com/EduardoSCosta)

###
[`v5.0.0-alpha.103`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha103)

[Compare
Source](d4a3216cdd...7bd7c219e2)

##### BREAKING CHANGE

- \[base] `components` -> `slots` API rename
([#&#8203;34693](https://togithub.com/mui/material-ui/issues/34693))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

- Change all occurrences of components and componentsProps props in Base
components to slots and slotProps, respectively.
    -   Change casing of slots' fields to camelCase

    ```diff
-<SwitchUnstyled components={{Root: CustomRoot}} componentsProps={{rail:
{ className: 'custom-rail' }}} />
+<SwitchUnstyled slots={{root: CustomRoot}} slotProps={{rail: {
className: 'custom-rail' }}} />
    ```

- \[base] Make CSS class prefixes consistent
([#&#8203;33411](https://togithub.com/mui/material-ui/issues/33411))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

**This is a breaking change for anyone who depends on the class names
applied to Base components.**
If you use the `<component>UnstyledClasses` objects, you won't notice a
difference. Only if you depend on the resulting class names (e.g. in CSS
stylesheets), you'll have to adjust your code.

    ```diff
    -.ButtonUnstyled-root { ... };
    +.MuiButton-root { ... };
    ```

##### Changes

- \[test] Test all Base components with describeConformanceUnstyled
([#&#8203;34825](https://togithub.com/mui/material-ui/issues/34825))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

###
[`v5.0.0-alpha.102`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha102)

[Compare
Source](d9ef6e788e...d4a3216cdd)

- \[MultiSelect]\[base] Prevent the renderValue prop from being
propagated to the DOM
([#&#8203;34698](https://togithub.com/mui/material-ui/issues/34698))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- \[NoSsr] Convert code to TypeScript
([#&#8203;34735](https://togithub.com/mui/material-ui/issues/34735))
[@&#8203;mbayucot](https://togithub.com/mbayucot)

###
[`v5.0.0-alpha.101`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha101)

[Compare
Source](0f75f3d78b...d9ef6e788e)

- ​<!-- 01 -->\[TrapFocus] Restore the previously exported type from
[@&#8203;mui/material](https://togithub.com/mui/material)
([#&#8203;34601](https://togithub.com/mui/material-ui/issues/34601))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

###
[`v5.0.0-alpha.100`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha100)

[Compare
Source](594d87dab0...0f75f3d78b)

- ​<!-- 04 -->\[SnackbarUnstyled] Create component and `useSnackbar`
hook
([#&#8203;33227](https://togithub.com/mui/material-ui/issues/33227))
[@&#8203;ZeeshanTamboli](https://togithub.com/ZeeshanTamboli)

###
[`v5.0.0-alpha.99`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha99)

[Compare
Source](95ba70ad1f...594d87dab0)

##### Breaking changes

- \[TrapFocus] Rename TrapFocus to FocusTrap
([#&#8203;34216](https://togithub.com/mui/material-ui/issues/34216))
[@&#8203;kabernardes](https://togithub.com/kabernardes)

    ```diff
    -import TrapFocus from '@&#8203;mui/base/TrapFocus';
    +import FocusTrap from '@&#8203;mui/base/FocusTrap';
    ```

##### Changes

- \[MultiSelect] Require a single tap to select an item on mobile Chrome
([#&#8203;33932](https://togithub.com/mui/material-ui/issues/33932))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

###
[`v5.0.0-alpha.98`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muibase500-alpha98)

[Compare
Source](992421d011...95ba70ad1f)

##### Breaking changes

- \[Select]\[base] Add event parameter to the onChange callback
([#&#8203;34158](https://togithub.com/mui/material-ui/issues/34158))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

The SelectUnstyled and MultiSelectUnstyled `onChange` callbacks did not
have event as the first parameter, leading to inconsistency with other
components and native HTML elements.
This PR adds the event parameter as the first one and moves the newly
selected value to the second position. Because of this, it's a breaking
change.
    This also affects Select from Joy UI.

    ```jsx
    // before
    <SelectUnstyled onChange={(newValue) => { /* ... */ }} />

    // after
    <SelectUnstyled onChange={(event, newValue) => { /* ... */ }} />
    ```

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xLjUiLCJ1cGRhdGVkSW5WZXIiOiIzNC4xOS4wIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 21:40:38 +00:00
..
cypress
public
scripts
src chore(deps): update material-ui monorepo (#2269) 2022-11-10 21:40:38 +00:00
.editorconfig add editorconfig 2016-12-05 23:08:32 +01:00
.gitignore
.nvmrc chore(deps): update node.js to v14.21.1 (#2385) 2022-11-10 15:58:42 +01:00
.prettierignore feat: generate an OpenAPI client (2) (#875) 2022-04-26 10:53:46 +02:00
.prettierrc
cypress.json
index.html
index.js
package.json chore(deps): update material-ui monorepo (#2269) 2022-11-10 21:40:38 +00:00
README.md docs: Remove/update references to Heroku (#2099) 2022-10-19 12:02:00 +00:00
tsconfig.json fix: limit total of PATs a user can have (#2301) 2022-11-02 08:11:35 +00:00
tsconfig.node.json
vercel.json
vite.config.ts
yarn
yarn.lock chore(deps): update material-ui monorepo (#2269) 2022-11-10 21:40:38 +00:00

frontend

This directory contains the Unleash Admin UI frontend app.

Run with a local instance of the unleash-api

First, start the unleash-api backend on port 4242. Then, start the frontend dev server:

cd ~/frontend
yarn install
yarn run start

Run with a sandbox instance of the Unleash API

Alternatively, instead of running unleash-api on localhost, you can use a remote instance:

cd ~/frontend
yarn install
yarn run start:sandbox

Running end-to-end tests

We have a set of Cypress tests that run on the build before a PR can be merged so it's important that you check these yourself before submitting a PR. On the server the tests will run against the deployed Heroku app so this is what you probably want to test against:

yarn run start:sandbox

In a different shell, you can run the tests themselves:

yarn run e2e:heroku

If you need to test against patches against a local server instance, you'll need to run that, and then run the end to end tests using:

yarn run e2e

You may also need to test that a feature works against the enterprise version of unleash. Assuming the Heroku instance is still running, this can be done by:

yarn run start:enterprise
yarn run e2e

Generating the OpenAPI client

The frontend uses an OpenAPI client generated from the backend's OpenAPI spec. Whenever there are changes to the backend API, the client should be regenerated:

./scripts/generate-openapi.sh

This script assumes that you have a running instance of the enterprise backend at http://localhost:4242. The new OpenAPI client will be generated from the runtime schema of this instance. The target URL can be changed by setting the UNLEASH_OPENAPI_URL env var.