1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +01:00
unleash.unleash/frontend
renovate[bot] bf65861640
chore(deps): update dependency @tanstack/react-table to v8.11.4 (#5958)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@tanstack/react-table](https://togithub.com/tanstack/table) |
[`8.11.3` ->
`8.11.4`](https://renovatebot.com/diffs/npm/@tanstack%2freact-table/8.11.3/8.11.4)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@tanstack%2freact-table/8.11.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@tanstack%2freact-table/8.11.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@tanstack%2freact-table/8.11.3/8.11.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@tanstack%2freact-table/8.11.3/8.11.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>tanstack/table (@&#8203;tanstack/react-table)</summary>

###
[`v8.11.4`](https://togithub.com/TanStack/table/releases/tag/v8.11.4)

[Compare
Source](https://togithub.com/tanstack/table/compare/v8.11.3...v8.11.4)

Version 8.11.4 - 1/11/2024, 5:30 PM

#### Changes

##### Fix

- add optional document context for resize listeners prettier
([`9aba3c0`](https://togithub.com/tanstack/table/commit/9aba3c08)) by
Kevin Vandy
- add optional document context for resize listeners
([#&#8203;5003](https://togithub.com/tanstack/table/issues/5003))
([`8e106a9`](https://togithub.com/tanstack/table/commit/8e106a99)) by
Jareth
- Correctly exit publish script
([#&#8203;5262](https://togithub.com/tanstack/table/issues/5262))
([`57336fc`](https://togithub.com/tanstack/table/commit/57336fc7)) by
Lachlan Collins

##### Chore

- Fix incorrect npm tag for previous version release
([#&#8203;5265](https://togithub.com/tanstack/table/issues/5265))
([`0899c33`](https://togithub.com/tanstack/table/commit/0899c335)) by
Lachlan Collins
- Stricter tsconfig options
([#&#8203;5264](https://togithub.com/tanstack/table/issues/5264))
([`86d6447`](https://togithub.com/tanstack/table/commit/86d64470)) by
Lachlan Collins
- Update to Rollup v4, Vite v5
([#&#8203;5260](https://togithub.com/tanstack/table/issues/5260))
([`fefe74f`](https://togithub.com/tanstack/table/commit/fefe74f4)) by
Lachlan Collins
- Update examples to use Vite v4
([#&#8203;5259](https://togithub.com/tanstack/table/issues/5259))
([`5d615ab`](https://togithub.com/tanstack/table/commit/5d615ab5)) by
Lachlan Collins
- Update select workspace dependencies
([#&#8203;5258](https://togithub.com/tanstack/table/issues/5258))
([`a990435`](https://togithub.com/tanstack/table/commit/a990435f)) by
Lachlan Collins

##### Docs

- fix meta data example
([#&#8203;5256](https://togithub.com/tanstack/table/issues/5256))
([`6561267`](https://togithub.com/tanstack/table/commit/65612676)) by
Nathan Isaac
- fix feature guide links
([`8a14fa6`](https://togithub.com/tanstack/table/commit/8a14fa66)) by
Kevin Vandy
- refactor guides section and new table instance guide
([#&#8203;5254](https://togithub.com/tanstack/table/issues/5254))
([`b327934`](https://togithub.com/tanstack/table/commit/b3279343)) by
Kevin Van Cott
- add solid filters example
([#&#8203;5252](https://togithub.com/tanstack/table/issues/5252))
([`80d92d6`](https://togithub.com/tanstack/table/commit/80d92d6f)) by
Hephaestian

##### Ci

- Use publish function from `@tanstack/config`
([#&#8203;5257](https://togithub.com/tanstack/table/issues/5257))
([`43989f2`](https://togithub.com/tanstack/table/commit/43989f26)) by
Lachlan Collins

#### Packages

-
[@&#8203;tanstack/table-core](https://togithub.com/tanstack/table-core)[@&#8203;8](https://togithub.com/8).11.4
-
[@&#8203;tanstack/react-table](https://togithub.com/tanstack/react-table)[@&#8203;8](https://togithub.com/8).11.4
-
[@&#8203;tanstack/solid-table](https://togithub.com/tanstack/solid-table)[@&#8203;8](https://togithub.com/8).11.4
-
[@&#8203;tanstack/vue-table](https://togithub.com/tanstack/vue-table)[@&#8203;8](https://togithub.com/8).11.4
-
[@&#8203;tanstack/svelte-table](https://togithub.com/tanstack/svelte-table)[@&#8203;8](https://togithub.com/8).11.4
-
[@&#8203;tanstack/react-table-devtools](https://togithub.com/tanstack/react-table-devtools)[@&#8203;8](https://togithub.com/8).11.4

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 18:14:57 +00:00
..
cypress chore: wait for post to finish instead of waiting a fixed time (#5851) 2024-01-11 11:03:01 +01:00
public
scripts
src fix: prevent jumping columns in search view (#5950) 2024-01-18 14:37:57 +01:00
.editorconfig
.gitignore Test npm publish (#3554) 2023-04-18 15:44:19 +02:00
.nvmrc
cypress.config.ts chore: upgrading vite to newer version (#5703) 2023-12-20 14:48:18 +01:00
cypress.d.ts
index.html
index.js
orval.config.js
package.json chore : upgrade jsdom to 23 (#5934) 2024-01-17 16:20:27 +02:00
README.md
tsconfig.json
tsconfig.node.json chore: upgrading vite to newer version (#5703) 2023-12-20 14:48:18 +01:00
vercel.json
vite.config.mts fix: fix assets not showing up (#5757) 2024-01-04 12:11:42 +02:00
yarn.lock chore(deps): update dependency @tanstack/react-table to v8.11.4 (#5958) 2024-01-18 18:14:57 +00:00

frontend

This directory contains the Unleash Admin UI frontend app.

Run with a local instance of the unleash-api

Refer to the Contributing to Unleash guide for instructions. The frontend dev server runs (in port 3000) simultaneously with the backend dev server (in port 4242):

yarn install
yarn dev

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:

For now we only use generated types (src/openapi/models). We will use methods (src/openapi/apis) for new features soon.

yarn gen:api
rm -rf src/openapi/apis

clean up src/openapi/index.ts imports, only keep first line export * from './models';

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.

Analyzing bundle size

npx vite-bundle-visualizer in the root of the frontend directory