1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/frontend
renovate[bot] e9501d3f83
chore(deps): update dependency vite to v3.2.3 (#2364)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vite](https://togithub.com/vitejs/vite/tree/main/#readme)
([source](https://togithub.com/vitejs/vite)) | [`3.2.1` ->
`3.2.3`](https://renovatebot.com/diffs/npm/vite/3.2.1/3.2.3) |
[![age](https://badges.renovateapi.com/packages/npm/vite/3.2.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vite/3.2.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vite/3.2.3/compatibility-slim/3.2.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vite/3.2.3/confidence-slim/3.2.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitejs/vite</summary>

###
[`v3.2.3`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small323-2022-11-07-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v3.2.2...v3.2.3)

- refactor: change style.innerHTML to style.textContent
([#&#8203;10801](https://togithub.com/vitejs/vite/issues/10801))
([8ea71b4](https://togithub.com/vitejs/vite/commit/8ea71b4)), closes
[#&#8203;10801](https://togithub.com/vitejs/vite/issues/10801)
- fix: add `@types/node` as an optional peer dependency
([#&#8203;10757](https://togithub.com/vitejs/vite/issues/10757))
([57916a4](https://togithub.com/vitejs/vite/commit/57916a4)), closes
[#&#8203;10757](https://togithub.com/vitejs/vite/issues/10757)
- fix: transform import.meta.glob when scan JS/TS
[#&#8203;10634](https://togithub.com/vitejs/vite/issues/10634)
([#&#8203;10635](https://togithub.com/vitejs/vite/issues/10635))
([c53ffec](https://togithub.com/vitejs/vite/commit/c53ffec)), closes
[#&#8203;10634](https://togithub.com/vitejs/vite/issues/10634)
[#&#8203;10635](https://togithub.com/vitejs/vite/issues/10635)
- fix(css): url() with variable in sass/less (fixes
[#&#8203;3644](https://togithub.com/vitejs/vite/issues/3644),
[#&#8203;7651](https://togithub.com/vitejs/vite/issues/7651))
([#&#8203;10741](https://togithub.com/vitejs/vite/issues/10741))
([fa2e47f](https://togithub.com/vitejs/vite/commit/fa2e47f)), closes
[#&#8203;3644](https://togithub.com/vitejs/vite/issues/3644)
[#&#8203;7651](https://togithub.com/vitejs/vite/issues/7651)
[#&#8203;10741](https://togithub.com/vitejs/vite/issues/10741)
- feat: add `vite:afterUpdate` event
([#&#8203;9810](https://togithub.com/vitejs/vite/issues/9810))
([1f57f84](https://togithub.com/vitejs/vite/commit/1f57f84)), closes
[#&#8203;9810](https://togithub.com/vitejs/vite/issues/9810)
- perf: improve `multilineCommentsRE` regex (fix
[#&#8203;10689](https://togithub.com/vitejs/vite/issues/10689))
([#&#8203;10751](https://togithub.com/vitejs/vite/issues/10751))
([51ed059](https://togithub.com/vitejs/vite/commit/51ed059)), closes
[#&#8203;10689](https://togithub.com/vitejs/vite/issues/10689)
[#&#8203;10751](https://togithub.com/vitejs/vite/issues/10751)
- perf: Use only one ps exec to find a Chromium browser opened on Mac OS
([#&#8203;10588](https://togithub.com/vitejs/vite/issues/10588))
([f199e90](https://togithub.com/vitejs/vite/commit/f199e90)), closes
[#&#8203;10588](https://togithub.com/vitejs/vite/issues/10588)
- chore: fix dev build replacing undefined
([#&#8203;10740](https://togithub.com/vitejs/vite/issues/10740))
([1358a3c](https://togithub.com/vitejs/vite/commit/1358a3c)), closes
[#&#8203;10740](https://togithub.com/vitejs/vite/issues/10740)
- chore: remove non used type definitions
([#&#8203;10738](https://togithub.com/vitejs/vite/issues/10738))
([ee8c7a6](https://togithub.com/vitejs/vite/commit/ee8c7a6)), closes
[#&#8203;10738](https://togithub.com/vitejs/vite/issues/10738)
- chore(deps): update dependency
[@&#8203;rollup/plugin-commonjs](https://togithub.com/rollup/plugin-commonjs)
to v23 ([#&#8203;10611](https://togithub.com/vitejs/vite/issues/10611))
([cc4be70](https://togithub.com/vitejs/vite/commit/cc4be70)), closes
[#&#8203;10611](https://togithub.com/vitejs/vite/issues/10611)
- chore(deps): update dependency
[@&#8203;rollup/plugin-dynamic-import-vars](https://togithub.com/rollup/plugin-dynamic-import-vars)
to v2 ([#&#8203;10726](https://togithub.com/vitejs/vite/issues/10726))
([326f782](https://togithub.com/vitejs/vite/commit/326f782)), closes
[#&#8203;10726](https://togithub.com/vitejs/vite/issues/10726)

###
[`v3.2.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small322-2022-10-31-small)

[Compare
Source](47a78db497...v3.2.2)

- chore: remove src/client from package
([#&#8203;10703](https://togithub.com/vitejs/vite/issues/10703))
([816842e](https://togithub.com/vitejs/vite/commit/816842e)), closes
[#&#8203;10703](https://togithub.com/vitejs/vite/issues/10703)
- chore(deps): update all non-major dependencies
([#&#8203;10725](https://togithub.com/vitejs/vite/issues/10725))
([22cfad8](https://togithub.com/vitejs/vite/commit/22cfad8)), closes
[#&#8203;10725](https://togithub.com/vitejs/vite/issues/10725)
- fix: remove loaded input sourcemap (fixes
[#&#8203;8411](https://togithub.com/vitejs/vite/issues/8411))
([#&#8203;10705](https://togithub.com/vitejs/vite/issues/10705))
([eb50e3a](https://togithub.com/vitejs/vite/commit/eb50e3a)), closes
[#&#8203;8411](https://togithub.com/vitejs/vite/issues/8411)
[#&#8203;10705](https://togithub.com/vitejs/vite/issues/10705)
- fix: tsconfig `jsx` overrides esbuild options, reverts
[#&#8203;10374](https://togithub.com/vitejs/vite/issues/10374)
([#&#8203;10714](https://togithub.com/vitejs/vite/issues/10714))
([aacf6a4](https://togithub.com/vitejs/vite/commit/aacf6a4)), closes
[#&#8203;10374](https://togithub.com/vitejs/vite/issues/10374)
[#&#8203;10714](https://togithub.com/vitejs/vite/issues/10714)
- docs(changelog): fix broken url
([#&#8203;10692](https://togithub.com/vitejs/vite/issues/10692))
([f937ccc](https://togithub.com/vitejs/vite/commit/f937ccc)), closes
[#&#8203;10692](https://togithub.com/vitejs/vite/issues/10692)

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 22:30:23 +00:00
..
cypress
public
scripts feat: generate an OpenAPI client (2) (#875) 2022-04-26 10:53:46 +02:00
src fix: set suggested min value to 0 (#2363) 2022-11-09 21:43:13 +00:00
.editorconfig add editorconfig 2016-12-05 23:08:32 +01:00
.gitignore
.nvmrc chore(deps): update node.js to 14.20 (#1186) 2022-08-18 14:04:16 +00:00
.prettierignore
.prettierrc
cypress.json
index.html
index.js
package.json chore(deps): update dependency vite to v3.2.3 (#2364) 2022-11-09 22:30:23 +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
yarn.lock chore(deps): update dependency vite to v3.2.3 (#2364) 2022-11-09 22:30:23 +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.