1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/frontend
renovate[bot] e29b7d6738
chore(deps): update material-ui monorepo (#2432)
[![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.9` ->
`5.10.14`](https://renovatebot.com/diffs/npm/@mui%2ficons-material/5.10.9/5.10.14)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.14/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.14/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.14/compatibility-slim/5.10.9)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.14/confidence-slim/5.10.9)](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.107` ->
`5.0.0-alpha.108`](https://renovatebot.com/diffs/npm/@mui%2flab/5.0.0-alpha.107/5.0.0-alpha.108)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.108/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.108/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.108/compatibility-slim/5.0.0-alpha.107)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.108/confidence-slim/5.0.0-alpha.107)](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.13` ->
`5.10.14`](https://renovatebot.com/diffs/npm/@mui%2fmaterial/5.10.13/5.10.14)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.14/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.14/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.14/compatibility-slim/5.10.13)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.14/confidence-slim/5.10.13)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v5.10.14`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#v51014)

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

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

*Nov 14, 2022*

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

- 🚀 [@&#8203;siriwatknp](https://togithub.com/siriwatknp) added the
Autocomplete component to the Joy UI
([#&#8203;34315](https://togithub.com/mui/material-ui/issues/34315))
-  [@&#8203;sfavello](https://togithub.com/sfavello) improved the
accessibility of the Material UI's Autocomplete by adding support for
the Delete key
([#&#8203;33822](https://togithub.com/mui/material-ui/issues/33822))
- Many other 🐛 bug fixes, 📚 documentation, and ⚙️ infrastructure
improvements.

##### `@mui/material@5.10.14`

- \[Material UI] Add `palette.background.defaultChannel` token
([#&#8203;35061](https://togithub.com/mui/material-ui/issues/35061))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[Autocomplete] Remove tags with the Delete key
([#&#8203;33822](https://togithub.com/mui/material-ui/issues/33822))
[@&#8203;sfavello](https://togithub.com/sfavello)
- \[IconButton] custom color causes type error
([#&#8203;34521](https://togithub.com/mui/material-ui/issues/34521))
[@&#8203;kushagra010](https://togithub.com/kushagra010)

##### `@mui/system@5.10.14`

- \[Unstable_Gridv2] sorted responsize keys based on breakpoint value
([#&#8203;34987](https://togithub.com/mui/material-ui/issues/34987))
[@&#8203;sai6855](https://togithub.com/sai6855)

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

- \[Joy] Export `FormControl`, `LinearProgress` and `ListSubheader`
components from `@mui/joy`
([#&#8203;35003](https://togithub.com/mui/material-ui/issues/35003))
[@&#8203;Studio384](https://togithub.com/Studio384)
- \[Joy] Miscellaneous fixes
([#&#8203;35044](https://togithub.com/mui/material-ui/issues/35044))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[Joy] Add `Autocomplete` component
([#&#8203;34315](https://togithub.com/mui/material-ui/issues/34315))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[Joy] Saturate a bit the gray palette
([#&#8203;35148](https://togithub.com/mui/material-ui/issues/35148))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)
- \[Autocomplete]\[joy] Fix types
([#&#8203;35153](https://togithub.com/mui/material-ui/issues/35153))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)

##### Docs

- \[blog] Fix font size of code blocks on iOS
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Accessibility - increase default contrastThreshold for WCAG AA
compliance
([#&#8203;34901](https://togithub.com/mui/material-ui/issues/34901))
[@&#8203;kennethbigler](https://togithub.com/kennethbigler)
- \[docs] Correct the keepMounted section on the Drawer page
([#&#8203;35076](https://togithub.com/mui/material-ui/issues/35076))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- \[docs] Fix code editor styles mismatches
([#&#8203;35108](https://togithub.com/mui/material-ui/issues/35108))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Allows to access the next MUI-X
([#&#8203;34798](https://togithub.com/mui/material-ui/issues/34798))
[@&#8203;alexfauquette](https://togithub.com/alexfauquette)
- \[docs] Fix bugs with live edit demos
([#&#8203;35106](https://togithub.com/mui/material-ui/issues/35106))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Fix `MarkdownElement` regression from adding CSS variables
([#&#8203;35096](https://togithub.com/mui/material-ui/issues/35096))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[docs] Add a new gold sponsor
([#&#8203;35089](https://togithub.com/mui/material-ui/issues/35089))
[@&#8203;hbjORbj](https://togithub.com/hbjORbj)
- \[docs] Fix scroll issue on expanded live demos
([#&#8203;35064](https://togithub.com/mui/material-ui/issues/35064))
[@&#8203;bharatkashyap](https://togithub.com/bharatkashyap)
- \[docs] Improve alignment of the sponsors
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Improve code font family v2
([#&#8203;35053](https://togithub.com/mui/material-ui/issues/35053))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Upgrade to Next.js 13
([#&#8203;35001](https://togithub.com/mui/material-ui/issues/35001))
[@&#8203;mnajdova](https://togithub.com/mnajdova)
- \[docs] Fix typo in changelog
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Update Joy UI templates to use latest components
([#&#8203;35058](https://togithub.com/mui/material-ui/issues/35058))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[website] Fix design kits showcase throwing an error
([#&#8203;35093](https://togithub.com/mui/material-ui/issues/35093))
[@&#8203;cherniavskii](https://togithub.com/cherniavskii)
- \[website] Fix margin bug on CTA
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[website] Link respective repositories in product pages
([#&#8203;35046](https://togithub.com/mui/material-ui/issues/35046))
[@&#8203;sidtohan](https://togithub.com/sidtohan)
- \[website] Migrate blog pages to use CSS theme variables
([#&#8203;34976](https://togithub.com/mui/material-ui/issues/34976))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[website] Update DoiT International logo and links with new brand
([#&#8203;35030](https://togithub.com/mui/material-ui/issues/35030))
[@&#8203;ofir5300](https://togithub.com/ofir5300)
- \[website] Improve visual design app bar
([#&#8203;35111](https://togithub.com/mui/material-ui/issues/35111))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)

##### Core

- \[core] Convert scripts to ES modules
([#&#8203;35036](https://togithub.com/mui/material-ui/issues/35036))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- \[core] Show the whole version to make blame easier
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[core] Polish GitHub Action version
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[core] Ignore icons to speed up CodeQL
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[core] Feedback on branch protection
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[core] Revert CI
([#&#8203;35098](https://togithub.com/mui/material-ui/issues/35098))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[core] Fix job name to match the CI
([#&#8203;35097](https://togithub.com/mui/material-ui/issues/35097))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[core] ESLint fixes for tests
([#&#8203;34924](https://togithub.com/mui/material-ui/issues/34924))
[@&#8203;Janpot](https://togithub.com/Janpot)
- \[core] Ignore unrelated folders from github actions
([#&#8203;35028](https://togithub.com/mui/material-ui/issues/35028))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[core] Use pretty-quick instead of custom script
([#&#8203;34062](https://togithub.com/mui/material-ui/issues/34062))
[@&#8203;Janpot](https://togithub.com/Janpot)

All contributors of this release in alphabetical order:
[@&#8203;alexfauquette](https://togithub.com/alexfauquette),
[@&#8203;bharatkashyap](https://togithub.com/bharatkashyap),
[@&#8203;cherniavskii](https://togithub.com/cherniavskii),
[@&#8203;danilo-leal](https://togithub.com/danilo-leal),
[@&#8203;hbjORbj](https://togithub.com/hbjORbj),
[@&#8203;Janpot](https://togithub.com/Janpot),
[@&#8203;kennethbigler](https://togithub.com/kennethbigler),
[@&#8203;kushagra010](https://togithub.com/kushagra010),
[@&#8203;michaldudak](https://togithub.com/michaldudak),
[@&#8203;mnajdova](https://togithub.com/mnajdova),
[@&#8203;ofir5300](https://togithub.com/ofir5300),
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari),
[@&#8203;sai6855](https://togithub.com/sai6855),
[@&#8203;sfavello](https://togithub.com/sfavello),
[@&#8203;sidtohan](https://togithub.com/sidtohan),
[@&#8203;siriwatknp](https://togithub.com/siriwatknp),
[@&#8203;Studio384](https://togithub.com/Studio384)

</details>

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

###
[`v5.0.0-alpha.108`](2f4c2190d1...c2da6de1c5)

[Compare
Source](2f4c2190d1...c2da6de1c5)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4yNC4xIiwidXBkYXRlZEluVmVyIjoiMzQuMjQuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-16 02:07:58 +00:00
..
cypress
public
scripts
src fix: update text in environments (#2433) 2022-11-15 11:08:41 +00:00
.editorconfig
.gitignore
.nvmrc chore(deps): update node.js to v14.21.1 (#2385) 2022-11-10 15:58:42 +01:00
.prettierignore
.prettierrc
cypress.json
index.html
index.js
package.json chore(deps): update material-ui monorepo (#2432) 2022-11-16 02:07:58 +00:00
README.md
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 (#2432) 2022-11-16 02:07:58 +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.