1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/frontend
renovate[bot] f46be4439f
chore(deps): update dependency @uiw/react-codemirror to v4.15.0 (#2457)
[![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/react-codemirror](https://uiwjs.github.io/react-codemirror)
([source](https://togithub.com/uiwjs/react-codemirror)) | [`4.13.2` ->
`4.15.0`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.13.2/4.15.0)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.15.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.15.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.15.0/compatibility-slim/4.13.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.15.0/confidence-slim/4.13.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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


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

Documentation v4.15.0:
https://raw.githack.com/uiwjs/react-codemirror/21cd7a1/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.14.3...v4.15.0

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

- 🌟 feat(theme): add fontFamily option.
[#&#8203;409](https://togithub.com/uiwjs/react-codemirror/issues/409)
[`6fa5ad5`](https://togithub.com/uiwjs/react-codemirror/commit/6fa5ad5)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix(theme): Add font-family to VS Code dark theme
([#&#8203;413](https://togithub.com/uiwjs/react-codemirror/issues/413))
[`d1150da`](https://togithub.com/uiwjs/react-codemirror/commit/d1150da)
[@&#8203;karlhorky](https://togithub.com/karlhorky)
- 🎨 style(vscode): add vscodeDarkInit method.
[#&#8203;409](https://togithub.com/uiwjs/react-codemirror/issues/409)
[`82e931c`](https://togithub.com/uiwjs/react-codemirror/commit/82e931c)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 📖 doc(vscode): Update preview image
([#&#8203;414](https://togithub.com/uiwjs/react-codemirror/issues/414))
[`9d09fb0`](https://togithub.com/uiwjs/react-codemirror/commit/9d09fb0)
[@&#8203;karlhorky](https://togithub.com/karlhorky)
- 🐞 fix: Fix "cannot set properties of undefined"
([#&#8203;415](https://togithub.com/uiwjs/react-codemirror/issues/415))
[`3a566f2`](https://togithub.com/uiwjs/react-codemirror/commit/3a566f2)
[@&#8203;karlhorky](https://togithub.com/karlhorky)
- 🌍 website: fix type error.
[`15b2bee`](https://togithub.com/uiwjs/react-codemirror/commit/15b2bee)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.14.3:
https://raw.githack.com/uiwjs/react-codemirror/1310dcb/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.14.2...v4.14.3

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

- 🐞 fix(theme): Fix foreground and function name colors
([#&#8203;412](https://togithub.com/uiwjs/react-codemirror/issues/412))
[`aa703c6`](https://togithub.com/uiwjs/react-codemirror/commit/aa703c6)
[@&#8203;karlhorky](https://togithub.com/karlhorky)

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

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


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

Documentation v4.14.2:
https://raw.githack.com/uiwjs/react-codemirror/4df190b/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.14.1...v4.14.2

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

- 🐞 fix(codemirror-themes): fix theme selection style error.
[#&#8203;406](https://togithub.com/uiwjs/react-codemirror/issues/406)
[`a029a3e`](https://togithub.com/uiwjs/react-codemirror/commit/a029a3e)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix(deps): update codemirror to ~6.2.0
([#&#8203;407](https://togithub.com/uiwjs/react-codemirror/issues/407))
[`47d18e0`](https://togithub.com/uiwjs/react-codemirror/commit/47d18e0)
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- 💄 chore(deps): update dependency lerna to v6
([#&#8203;387](https://togithub.com/uiwjs/react-codemirror/issues/387))
[`7176370`](https://togithub.com/uiwjs/react-codemirror/commit/7176370)
[@&#8203;renovate-bot](https://togithub.com/renovate-bot)
- 📖 doc(vscode): update vscode theme document.
[`92a06fc`](https://togithub.com/uiwjs/react-codemirror/commit/92a06fc)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.14.1:
https://raw.githack.com/uiwjs/react-codemirror/6686da7/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.14.0...v4.14.1

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

- 📖 doc(theme): Update README.md
[`09521dd`](https://togithub.com/uiwjs/react-codemirror/commit/09521dd)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🎨 style(vscode): modify vscode theme backgournd color.
[#&#8203;409](https://togithub.com/uiwjs/react-codemirror/issues/409)
[`20b3978`](https://togithub.com/uiwjs/react-codemirror/commit/20b3978)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.14.0:
https://raw.githack.com/uiwjs/react-codemirror/73f21ee/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.13.2...v4.14.0

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

- 🌟 feat: add gutterActiveForeground option.
[`4566d71`](https://togithub.com/uiwjs/react-codemirror/commit/4566d71)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat: add `vscode` theme.
[#&#8203;409](https://togithub.com/uiwjs/react-codemirror/issues/409)
[`c1be57a`](https://togithub.com/uiwjs/react-codemirror/commit/c1be57a)
[@&#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:eyJjcmVhdGVkSW5WZXIiOiIzNC4yNi4yIiwidXBkYXRlZEluVmVyIjoiMzQuMjYuNCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-17 21:22:36 +00:00
..
cypress Merge e2e tests into matrix (#2007) 2022-08-30 13:23:09 +00:00
public
scripts
src conditional message for change request strategy form (#2465) 2022-11-17 15:40:45 +01: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 dependency @uiw/react-codemirror to v4.15.0 (#2457) 2022-11-17 21:22:36 +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 Feat/invite user (#2061) 2022-09-30 13:01:32 +02:00
yarn fix: auto add stratgy when enabling empty env. (#2137) 2022-10-05 23:33:36 +02:00
yarn.lock chore(deps): update dependency @uiw/react-codemirror to v4.15.0 (#2457) 2022-11-17 21:22:36 +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.