1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/frontend
renovate[bot] a67f85358c
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.19.1 (#2654)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@uiw/codemirror-theme-duotone](https://uiwjs.github.io/react-codemirror/#/theme/data/duotone/light)
([source](https://togithub.com/uiwjs/react-codemirror)) | [`4.15.1` ->
`4.19.1`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.15.1/4.19.1)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.1/compatibility-slim/4.15.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.1/confidence-slim/4.15.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>uiwjs/react-codemirror</summary>

###
[`v4.19.1`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.19.1)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.19.0...v4.19.1)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.19.1/file/README.md)

Documentation v4.19.1:
https://raw.githack.com/uiwjs/react-codemirror/a71c6e1/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.0...v4.19.1

```shell
npm i @&#8203;uiw/react-codemirror@4.19.1
```

- 🌟 feat(material): add materialLightInit/materialDarkInit/materialLight
method to material theme.
[`c488397`](https://togithub.com/uiwjs/react-codemirror/commit/c488397)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.19.0`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.19.0)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.18.2...v4.19.0)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.19.0/file/README.md)

Documentation v4.19.0:
https://raw.githack.com/uiwjs/react-codemirror/aa2b4d8/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.18.2...v4.19.0

```shell
npm i @&#8203;uiw/react-codemirror@4.19.0
```

- 🌟 feat(theme): add aura theme.
[`e7c7f0f`](https://togithub.com/uiwjs/react-codemirror/commit/e7c7f0f)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(theme): add TokyoNight theme.
[`4af4add`](https://togithub.com/uiwjs/react-codemirror/commit/4af4add)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(theme): add TokyoNightStorm theme.
[`e67f5ee`](https://togithub.com/uiwjs/react-codemirror/commit/e67f5ee)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(theme): add tokyoNightDay theme.
[`6f5a908`](https://togithub.com/uiwjs/react-codemirror/commit/6f5a908)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 💄 chore: update workflows config.
[`709fabb`](https://togithub.com/uiwjs/react-codemirror/commit/709fabb)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.18.2`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.18.2)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.18.1...v4.18.2)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.18.2/file/README.md)

Documentation v4.18.2:
https://raw.githack.com/uiwjs/react-codemirror/1fd4697/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.18.1...v4.18.2

```shell
npm i @&#8203;uiw/react-codemirror@4.18.2
```

- 🎨 style(themes): Modify the gutter border-right style.
[`64b5993`](https://togithub.com/uiwjs/react-codemirror/commit/64b5993)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.18.1`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.18.1)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.18.0...v4.18.1)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.18.1/file/README.md)

Documentation v4.18.1:
https://raw.githack.com/uiwjs/react-codemirror/545f986/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.18.0...v4.18.1

```shell
npm i @&#8203;uiw/react-codemirror@4.18.1
```

- 🌍 website: add themes home page.
[`fea984f`](https://togithub.com/uiwjs/react-codemirror/commit/fea984f)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(theme): add noctis-lilac theme.
[`f30c552`](https://togithub.com/uiwjs/react-codemirror/commit/f30c552)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.18.0`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.18.0)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.17.1...v4.18.0)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.18.0/file/README.md)

Documentation v4.18.0:
https://raw.githack.com/uiwjs/react-codemirror/1b62d39/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.17.1...v4.18.0

```shell
npm i @&#8203;uiw/react-codemirror@4.18.0
```

- 🌍 website: update website example.
[`a4411dc`](https://togithub.com/uiwjs/react-codemirror/commit/a4411dc)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(xcode): add xcodeLightInit/xcodeDarkInit method to xcode theme.
[`70d3db5`](https://togithub.com/uiwjs/react-codemirror/commit/70d3db5)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(sublime): add sublimeInit method to xcode theme.
[`a664aae`](https://togithub.com/uiwjs/react-codemirror/commit/a664aae)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(solarized): add solarizedLightInit/solarizedDarkInit method to
solarized theme.
[`26aee9f`](https://togithub.com/uiwjs/react-codemirror/commit/26aee9f)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌍 website: fix theme all type errors.
[`d45e5ee`](https://togithub.com/uiwjs/react-codemirror/commit/d45e5ee)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(okaidia): add okaidiaInit method to okaidia theme.
[`adf94e5`](https://togithub.com/uiwjs/react-codemirror/commit/adf94e5)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(nord): add nordInit method to nord theme.
[`14811ae`](https://togithub.com/uiwjs/react-codemirror/commit/14811ae)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(material): add materialInit method to material theme.
[`129d8e3`](https://togithub.com/uiwjs/react-codemirror/commit/129d8e3)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(gruvbox): add gruvboxDarkInit/gruvboxLightInit method to
gruvbox theme.
[`c5c0afe`](https://togithub.com/uiwjs/react-codemirror/commit/c5c0afe)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(github): add githubDarkInit/githubLightInit method to github
theme.
[`2aacb6f`](https://togithub.com/uiwjs/react-codemirror/commit/2aacb6f)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(eclipse): add eclipseInit method to eclipse theme.
[`3cd796d`](https://togithub.com/uiwjs/react-codemirror/commit/3cd796d)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(duotone): add duotoneLightInit/duotoneDarkInit method to
duotone theme.
[`4044b17`](https://togithub.com/uiwjs/react-codemirror/commit/4044b17)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(dracula): add draculaInit method to dracula theme.
[`8c4e397`](https://togithub.com/uiwjs/react-codemirror/commit/8c4e397)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(darcula): add darculaInit method to darcula theme.
[`23c896c`](https://togithub.com/uiwjs/react-codemirror/commit/23c896c)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(bespin): add bespinInit method to bespin theme.
[`0515402`](https://togithub.com/uiwjs/react-codemirror/commit/0515402)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(bbedit): add bbeditInit method to bbedit theme.
[`e6b66d0`](https://togithub.com/uiwjs/react-codemirror/commit/e6b66d0)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(atomone): add atomoneInit method to atomone theme.
[`82d86e5`](https://togithub.com/uiwjs/react-codemirror/commit/82d86e5)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(androidstudio): add androidstudioInit method to androidstudio
theme.
[`61f38d1`](https://togithub.com/uiwjs/react-codemirror/commit/61f38d1)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(abcdef): add abcdefInit method to abcdef theme.
[`b8cf12f`](https://togithub.com/uiwjs/react-codemirror/commit/b8cf12f)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.17.1`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.17.1)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.17.0...v4.17.1)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.17.1/file/README.md)

Documentation v4.17.1:
https://raw.githack.com/uiwjs/react-codemirror/0fcc2c9/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.17.0...v4.17.1

```shell
npm i @&#8203;uiw/react-codemirror@4.17.1
```

- 🎨 style(github): update github style.
[`0d483e8`](https://togithub.com/uiwjs/react-codemirror/commit/0d483e8)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.17.0`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.17.0)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.16.0...v4.17.0)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.17.0/file/README.md)

Documentation v4.17.0:
https://raw.githack.com/uiwjs/react-codemirror/d8e3be4/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.16.0...v4.17.0

```shell
npm i @&#8203;uiw/react-codemirror@4.17.0
```

- 🌟 feat: add workflows config.
[`43e76ac`](https://togithub.com/uiwjs/react-codemirror/commit/43e76ac)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 💄 chore: update workflows config.
[`0eb8053`](https://togithub.com/uiwjs/react-codemirror/commit/0eb8053)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(theme): add material theme.
[`a2fe1d8`](https://togithub.com/uiwjs/react-codemirror/commit/a2fe1d8)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 💄 chore(theme): update gruvbox theme.
[`18c1977`](https://togithub.com/uiwjs/react-codemirror/commit/18c1977)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(theme): add solarized theme.
[`d6899db`](https://togithub.com/uiwjs/react-codemirror/commit/d6899db)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 💄 chore: update workflows config.
[`a104c88`](https://togithub.com/uiwjs/react-codemirror/commit/a104c88)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.16.0`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.16.0)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.15.1...v4.16.0)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.16.0/file/README.md)

Documentation v4.16.0:
https://raw.githack.com/uiwjs/react-codemirror/cacf4ae/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.15.1...v4.16.0

```shell
npm i @&#8203;uiw/react-codemirror@4.16.0
```

- 📖 doc(vscode): update README.md
[`7bd0ed7`](https://togithub.com/uiwjs/react-codemirror/commit/7bd0ed7)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat: add zebra-stripes component.
[#&#8203;424](https://togithub.com/uiwjs/react-codemirror/issues/424)
[`bdb7e9a`](https://togithub.com/uiwjs/react-codemirror/commit/bdb7e9a)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix(deps): update codemirror
([#&#8203;417](https://togithub.com/uiwjs/react-codemirror/issues/417))
[`09ab14f`](https://togithub.com/uiwjs/react-codemirror/commit/09ab14f)
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- 💄 chore(deps): update dependency prettier to ~2.8.0
([#&#8203;420](https://togithub.com/uiwjs/react-codemirror/issues/420))
[`52822d8`](https://togithub.com/uiwjs/react-codemirror/commit/52822d8)
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- 💄 chore(deps): update dependency lint-staged to ~13.1.0
([#&#8203;425](https://togithub.com/uiwjs/react-codemirror/issues/425))
[`b9d6ef6`](https://togithub.com/uiwjs/react-codemirror/commit/b9d6ef6)
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- 🌟 feat(theme): add nord theme.
[`2717cdd`](https://togithub.com/uiwjs/react-codemirror/commit/2717cdd)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(theme): add gruvbox light theme.
[`2df3352`](https://togithub.com/uiwjs/react-codemirror/commit/2df3352)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

</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.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNC41MS4wIiwidXBkYXRlZEluVmVyIjoiMzQuNTEuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-10 01:56:58 +00:00
..
cypress fix: update package json and remove empty exports (#2625) 2022-12-07 14:08:59 +01:00
public
scripts
src Shaswat: Remove usage of useStyles from UserForm (#2619) 2022-12-09 12:10:30 +00:00
.editorconfig
.gitignore
.nvmrc
.prettierignore
.prettierrc
cypress.json
index.html ui flags replaced in index.html (#2617) 2022-12-07 14:31:27 +02:00
index.js
package.json chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.19.1 (#2654) 2022-12-10 01:56:58 +00:00
README.md
tsconfig.json
tsconfig.node.json
vercel.json fix: update vercel proxy paths (#2623) 2022-12-07 13:00:51 +01:00
vite.config.ts fix: allow import @server (#2601) 2022-12-05 16:21:59 +00:00
yarn
yarn.lock chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.19.1 (#2654) 2022-12-10 01:56: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.