2016-11-10 14:26:24 +01:00
{
2022-08-26 09:25:31 +02:00
"name" : "unleash-frontend-local" ,
"version" : "0.0.0" ,
"private" : true ,
2023-10-02 14:25:46 +02:00
"files" : [ "index.js" , "build" ] ,
2016-11-10 14:26:24 +01:00
"engines" : {
2023-04-18 14:42:49 +02:00
"node" : ">=18"
2016-11-10 14:26:24 +01:00
} ,
"scripts" : {
2022-08-30 10:52:30 +02:00
"build" : "vite build" ,
chore: simplify package scripts (#3736)
# Simplify package scripts
This PR's purpose is to raise a discussion surrounding our current
package scripts.
It includes some suggestions that aim to simplify the scripts and
hopefully bring a much more straightforward approach to developing and
contributing to Unleash.
Building (prod) should only happen **explicitly** and when needed.
## Before PR (current behavior)
- Clone the project;
- Open 2 terminals: One for `unleash` and another for
`unleash/frontend`;
- On `unleash`:
- Run `yarn` (which will also build, for some reason?);
- Run `yarn start:dev` to start backend in dev mode (`tsc-watch`);
- On `unleash/frontend`:
- Run `yarn` (which will also build, for some reason?);
- Run `yarn start` to start frontend in dev mode (`vite`);
So it seems to me like we build unnecessarily every time we install
dependencies. Neither dev scripts need to build the project, as backend
uses `tsc-watch` and frontend uses `vite`. I'm unsure why this is the
case, as building can take a very long time.
![image](https://github.com/Unleash/unleash/assets/14320932/5ecb7df1-e5b4-4d70-ba7e-97119f5d1116)
There's also some complexity in the way we need to split the terminal to
`cd` into `frontend` and treat it as a different project. The fact that
we have different script names is also confusing (`yarn start`, `yarn
start:dev`, etc).
## After PR
- Clone the project;
- Run `yarn` to install all dependencies;
- Run `yarn dev` to get started developing Unleash;
Running `yarn` should take care of everything needed to start
developing. This includes installing dependencies for frontend as well.
It should not build projects if we are not being explicit about it,
especially since we don't need to build them at this stage.
![image](https://github.com/Unleash/unleash/assets/14320932/614e42fc-3467-432f-91fc-624b1b35c7c1)
Running `yarn dev` should start the project in dev mode. This means
running both projects in `dev` mode, which for `backend` means running
`tsc-watch` and for `frontend` means running `vite`.
Here this PR attempts to provide a better DX by using
[concurrently](https://www.npmjs.com/package/concurrently) and
[wait-on](https://www.npmjs.com/package/wait-on) - This means both tasks
are ran simultaneously, stdout is labeled accordingly, and are stopped
together. It also means that `frontend` waits for `backend` to be
serving at `4242` before starting, since `frontend` starts pretty much
immediately with `vite` and `backend` takes a bit longer. Of course,
when the `backend` is hot-reloading you may still find some
`ECONNREFUSED`s on `frontend` stdout while it recompiles.
![image](https://github.com/Unleash/unleash/assets/14320932/8bde8ee2-3cad-4e3f-a0db-9eed60cfb04d)
No more splitting your terminal and treating `frontend` as a separate
project.
## Discussion points
Maybe there's a better alternative to `tsc-watch`? I briefly explored
some alternatives and while they had a much faster starting speed,
hot-reload was sometimes slower. IMO we should aspire to run
`src/server-dev.ts` directly and only compile when needed.
Running `dev:backend` still serves a version of the frontend (at 4242).
**Why? Can we remove that behavior?**
I can't imagine a scenario in dev where we wouldn't want to run the
latest version of the frontend with `vite`.
~~**Note:** This PR removes all other out-of-scope scripts to focus on
this revamp. If we decide to merge it, we should evaluate what other
existing scripts we still want to include. May be a good opportunity to
clean up unused ones and only include the ones we really use. This
includes scripts that our GH actions rely on.~~
**Update:** In an effort to minimize impact surface of this PR and make
it a bit more ready for merging:
- It updates some docs in
https://github.com/Unleash/unleash/pull/3736/commits/2a4ff805e87b65d9c1256effaa189ddcccba15fb
and
https://github.com/Unleash/unleash/pull/3736/commits/1bbc4882519b5a82e3116f0be255ad24a6f3ce53
to reflect our new simplified flow;
- It includes the old package scripts for now in
https://github.com/Unleash/unleash/pull/3736/commits/039bc04699ac880e491fd3ce01f9bcd6f97a94b9;
- It updates some of our GH actions to reflect the new scripts in
https://github.com/Unleash/unleash/pull/3736/commits/7782cb9b12e37ee844507e41ef2b7137eaf55666;
Given its current status I'll promote the PR to "ready for review".
I still think we should have a second look at our existing scripts and
GH actions to see what we really need and/or should adapt, but it should
be a team effort so we have a broader context. Maybe on a follow-up PR.
Does this require any changes to related projects (e.g. Enterprise)?
---------
Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-05-12 12:23:22 +02:00
"dev" : "vite" ,
2022-05-05 17:15:22 +02:00
"start" : "vite" ,
2022-12-16 19:09:24 +01:00
"start:prod" : "vite build && vite preview" ,
2022-10-19 14:02:00 +02:00
"start:sandbox" : "UNLEASH_API=https://sandbox.getunleash.io/ospro yarn run start" ,
2023-01-17 13:33:52 +01:00
"start:demo2" : "UNLEASH_API=https://sandbox.getunleash.io/ UNLEASH_BASE_PATH=/demo2/ yarn run start" ,
"start:enterprise" : "UNLEASH_API=https://unleash.herokuapp.com VITE_TEST_REDIRECT=true yarn run start" ,
2023-02-17 12:15:50 +01:00
"start:demo" : "UNLEASH_BASE_PATH=/demo/ UNLEASH_API=https://app.unleash-hosted.com/ yarn run start" ,
2023-04-18 10:35:32 +02:00
"test" : "tsc && NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" vitest run" ,
"test:snapshot" : "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" yarn test -u" ,
2023-09-27 09:20:03 +02:00
"test:watch" : "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" vitest watch" ,
2023-10-02 14:25:46 +02:00
"lint" : "biome lint src --apply" ,
2023-10-06 10:46:38 +02:00
"lint:check" : "biome check src" ,
2023-10-02 14:25:46 +02:00
"fmt" : "biome format src --write" ,
2023-10-06 10:46:38 +02:00
"fmt:check" : "biome check src" ,
2022-09-30 13:01:32 +02:00
"ts:check" : "tsc" ,
2023-04-18 10:35:32 +02:00
"e2e" : "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" yarn run cypress open --config baseUrl='http://localhost:3000' --env AUTH_USER=admin,AUTH_PASSWORD=unleash4all" ,
"e2e:heroku" : "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" yarn run cypress open --config baseUrl='https://unleash.herokuapp.com' --env AUTH_USER=admin,AUTH_PASSWORD=unleash4all" ,
"gen:api" : "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" orval --config orval.config.js" ,
"gen:api:demo" : "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" UNLEASH_OPENAPI_URL=https://app.unleash-hosted.com/demo/docs/openapi.json yarn run gen:api" ,
chore: simplify package scripts (#3736)
# Simplify package scripts
This PR's purpose is to raise a discussion surrounding our current
package scripts.
It includes some suggestions that aim to simplify the scripts and
hopefully bring a much more straightforward approach to developing and
contributing to Unleash.
Building (prod) should only happen **explicitly** and when needed.
## Before PR (current behavior)
- Clone the project;
- Open 2 terminals: One for `unleash` and another for
`unleash/frontend`;
- On `unleash`:
- Run `yarn` (which will also build, for some reason?);
- Run `yarn start:dev` to start backend in dev mode (`tsc-watch`);
- On `unleash/frontend`:
- Run `yarn` (which will also build, for some reason?);
- Run `yarn start` to start frontend in dev mode (`vite`);
So it seems to me like we build unnecessarily every time we install
dependencies. Neither dev scripts need to build the project, as backend
uses `tsc-watch` and frontend uses `vite`. I'm unsure why this is the
case, as building can take a very long time.
![image](https://github.com/Unleash/unleash/assets/14320932/5ecb7df1-e5b4-4d70-ba7e-97119f5d1116)
There's also some complexity in the way we need to split the terminal to
`cd` into `frontend` and treat it as a different project. The fact that
we have different script names is also confusing (`yarn start`, `yarn
start:dev`, etc).
## After PR
- Clone the project;
- Run `yarn` to install all dependencies;
- Run `yarn dev` to get started developing Unleash;
Running `yarn` should take care of everything needed to start
developing. This includes installing dependencies for frontend as well.
It should not build projects if we are not being explicit about it,
especially since we don't need to build them at this stage.
![image](https://github.com/Unleash/unleash/assets/14320932/614e42fc-3467-432f-91fc-624b1b35c7c1)
Running `yarn dev` should start the project in dev mode. This means
running both projects in `dev` mode, which for `backend` means running
`tsc-watch` and for `frontend` means running `vite`.
Here this PR attempts to provide a better DX by using
[concurrently](https://www.npmjs.com/package/concurrently) and
[wait-on](https://www.npmjs.com/package/wait-on) - This means both tasks
are ran simultaneously, stdout is labeled accordingly, and are stopped
together. It also means that `frontend` waits for `backend` to be
serving at `4242` before starting, since `frontend` starts pretty much
immediately with `vite` and `backend` takes a bit longer. Of course,
when the `backend` is hot-reloading you may still find some
`ECONNREFUSED`s on `frontend` stdout while it recompiles.
![image](https://github.com/Unleash/unleash/assets/14320932/8bde8ee2-3cad-4e3f-a0db-9eed60cfb04d)
No more splitting your terminal and treating `frontend` as a separate
project.
## Discussion points
Maybe there's a better alternative to `tsc-watch`? I briefly explored
some alternatives and while they had a much faster starting speed,
hot-reload was sometimes slower. IMO we should aspire to run
`src/server-dev.ts` directly and only compile when needed.
Running `dev:backend` still serves a version of the frontend (at 4242).
**Why? Can we remove that behavior?**
I can't imagine a scenario in dev where we wouldn't want to run the
latest version of the frontend with `vite`.
~~**Note:** This PR removes all other out-of-scope scripts to focus on
this revamp. If we decide to merge it, we should evaluate what other
existing scripts we still want to include. May be a good opportunity to
clean up unused ones and only include the ones we really use. This
includes scripts that our GH actions rely on.~~
**Update:** In an effort to minimize impact surface of this PR and make
it a bit more ready for merging:
- It updates some docs in
https://github.com/Unleash/unleash/pull/3736/commits/2a4ff805e87b65d9c1256effaa189ddcccba15fb
and
https://github.com/Unleash/unleash/pull/3736/commits/1bbc4882519b5a82e3116f0be255ad24a6f3ce53
to reflect our new simplified flow;
- It includes the old package scripts for now in
https://github.com/Unleash/unleash/pull/3736/commits/039bc04699ac880e491fd3ce01f9bcd6f97a94b9;
- It updates some of our GH actions to reflect the new scripts in
https://github.com/Unleash/unleash/pull/3736/commits/7782cb9b12e37ee844507e41ef2b7137eaf55666;
Given its current status I'll promote the PR to "ready for review".
I still think we should have a second look at our existing scripts and
GH actions to see what we really need and/or should adapt, but it should
be a team effort so we have a broader context. Maybe on a follow-up PR.
Does this require any changes to related projects (e.g. Enterprise)?
---------
Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-05-12 12:23:22 +02:00
"gen:api:sandbox" : "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" UNLEASH_OPENAPI_URL=https://sandbox.getunleash.io/demo2/docs/openapi.json yarn run gen:api"
2016-11-10 14:26:24 +01:00
} ,
2021-04-09 13:38:30 +02:00
"devDependencies" : {
2023-10-02 14:25:46 +02:00
"@biomejs/biome" : "^1.2.2" ,
2022-10-26 22:13:52 +02:00
"@codemirror/lang-json" : "6.0.1" ,
2023-06-21 13:39:25 +02:00
"@emotion/react" : "11.11.1" ,
2023-05-25 02:50:38 +02:00
"@emotion/styled" : "11.11.0" ,
chore(deps): update material-ui monorepo (#3174)
[![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.11.0` ->
`5.11.9`](https://renovatebot.com/diffs/npm/@mui%2ficons-material/5.11.0/5.11.9)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.11.9/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.11.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.11.9/compatibility-slim/5.11.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.11.9/confidence-slim/5.11.0)](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.119` ->
`5.0.0-alpha.120`](https://renovatebot.com/diffs/npm/@mui%2flab/5.0.0-alpha.119/5.0.0-alpha.120)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.120/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.120/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.120/compatibility-slim/5.0.0-alpha.119)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.120/confidence-slim/5.0.0-alpha.119)](https://docs.renovatebot.com/merge-confidence/)
|
| [@mui/material](https://mui.com/material-ui/getting-started/overview/)
([source](https://togithub.com/mui/material-ui)) | [`5.11.8` ->
`5.11.9`](https://renovatebot.com/diffs/npm/@mui%2fmaterial/5.11.8/5.11.9)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.9/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.9/compatibility-slim/5.11.8)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.9/confidence-slim/5.11.8)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>mui/material-ui</summary>
###
[`v5.11.9`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#​5119)
[Compare
Source](https://togithub.com/mui/material-ui/compare/v5.11.0...v5.11.9)
<!-- generated comparing v5.11.8..master -->
*Feb 14, 2023*
A big thanks to the 17 contributors who made this release possible. Here
are some highlights ✨:
- 🐛 [@​rangoo94](https://togithub.com/rangoo94),
[@​sai6855](https://togithub.com/sai6855), and
[@​michaldudak](https://togithub.com/michaldudak) fixed a couple
of bugs in the Autocomplete component
([#​36116](https://togithub.com/mui/material-ui/issues/36116),
[#​35640](https://togithub.com/mui/material-ui/issues/35640),
[#​36076](https://togithub.com/mui/material-ui/issues/36076),
[#​36088](https://togithub.com/mui/material-ui/issues/36088))
- many other 🐛 bug fixes and 📚 documentation improvements
##### `@mui/material@5.11.9`
- \[AppBar] Fix joinVars() not handling undefined
([#​36128](https://togithub.com/mui/material-ui/issues/36128))
[@​donaldnevermore](https://togithub.com/donaldnevermore)
- \[Autocomplete] Fix tag removal regression
([#​36116](https://togithub.com/mui/material-ui/issues/36116))
[@​michaldudak](https://togithub.com/michaldudak)
- \[Autocomplete] Correct padding of filled Autocomplete
([#​35640](https://togithub.com/mui/material-ui/issues/35640))
[@​michaldudak](https://togithub.com/michaldudak)
- \[Grid]\[Stack] classNames prefixed with Mui
([#​36167](https://togithub.com/mui/material-ui/issues/36167))
[@​sai6855](https://togithub.com/sai6855)
##### `@mui/styled-engine@5.11.9`
- \[StyledEngineProvider] Fix issue with cache not being defined
([#​36162](https://togithub.com/mui/material-ui/issues/36162))
[@​mnajdova](https://togithub.com/mnajdova)
##### `@mui/joy@5.0.0-alpha.67`
- \[Joy] Add order dashboard template
([#​36081](https://togithub.com/mui/material-ui/issues/36081))
[@​siriwatknp](https://togithub.com/siriwatknp)
- \[Joy] Remove classes prop from the components that have it
([#​36159](https://togithub.com/mui/material-ui/issues/36159))
[@​hbjORbj](https://togithub.com/hbjORbj)
- \[Joy] Miscellaneous fixes
([#​36163](https://togithub.com/mui/material-ui/issues/36163))
[@​siriwatknp](https://togithub.com/siriwatknp)
##### `@mui/base@5.0.0-alpha.118`
- \[base] Override the types of `slotProps` per slot
([#​35964](https://togithub.com/mui/material-ui/issues/35964))
[@​hbjORbj](https://togithub.com/hbjORbj)
- \[Select]\[base] Prevent unnecessary rerendering of Select options
([#​35946](https://togithub.com/mui/material-ui/issues/35946))
[@​michaldudak](https://togithub.com/michaldudak)
- \[Select]\[base] Update the generated docs
([#​36183](https://togithub.com/mui/material-ui/issues/36183))
[@​michaldudak](https://togithub.com/michaldudak)
- \[useAutocomplete] Pass only valid values for the getOptionLabel prop
([#​36088](https://togithub.com/mui/material-ui/issues/36088))
[@​rangoo94](https://togithub.com/rangoo94)
- \[useAutocomplete] Fix `useAutocomplete` disabled prop not disabling
the input
([#​36076](https://togithub.com/mui/material-ui/issues/36076))
[@​sai6855](https://togithub.com/sai6855)
- \[useInput] Add return value interface
([#​36036](https://togithub.com/mui/material-ui/issues/36036))
[@​Shorifpatwary](https://togithub.com/Shorifpatwary)
- \[UseTabPanel] Add explicit return type
([#​36053](https://togithub.com/mui/material-ui/issues/36053))
[@​Shorifpatwary](https://togithub.com/Shorifpatwary)
- \[useTabsList] Add explicit return type
([#​36048](https://togithub.com/mui/material-ui/issues/36048))
[@​sai6855](https://togithub.com/sai6855)
- \[Tab] Add explicit return type to useTab
([#​36046](https://togithub.com/mui/material-ui/issues/36046))
[@​sai6855](https://togithub.com/sai6855)
##### `@mui/material-next@6.0.0-alpha.75`
- \[Material You] Use `md` as a CSS var prefix
([#​36177](https://togithub.com/mui/material-ui/issues/36177))
[@​siriwatknp](https://togithub.com/siriwatknp)
##### Docs
- \[docs] Fix the prop type regression on the API pages
([#​36168](https://togithub.com/mui/material-ui/issues/36168))
[@​mnajdova](https://togithub.com/mnajdova)
- \[docs] Fix virtualized table column resizing
([#​36066](https://togithub.com/mui/material-ui/issues/36066))
[@​petyosi](https://togithub.com/petyosi)
- \[docs] Fix react-spring demos
([#​36023](https://togithub.com/mui/material-ui/issues/36023))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Fix classname mismatch on Joy docs
([#​36127](https://togithub.com/mui/material-ui/issues/36127))
[@​siriwatknp](https://togithub.com/siriwatknp)
- \[docs] Fix typo in the released version of
[@​mui/styled-engine](https://togithub.com/mui/styled-engine)
([#​36121](https://togithub.com/mui/material-ui/issues/36121))
[@​m4theushw](https://togithub.com/m4theushw)
- \[docs] Fix demos showing TypeScript instead of JavaScript
([#​35850](https://togithub.com/mui/material-ui/issues/35850))
[@​mj12albert](https://togithub.com/mj12albert)
- \[docs] Update release instructions
([#​36113](https://togithub.com/mui/material-ui/issues/36113))
[@​mj12albert](https://togithub.com/mj12albert)
- \[docs] Rename `v6-alpha` to `v6-next` in navigation
([#​36102](https://togithub.com/mui/material-ui/issues/36102))
[@​LukasTy](https://togithub.com/LukasTy)
- \[docs] Revise Joy UI "Input" page
([#​35970](https://togithub.com/mui/material-ui/issues/35970))
[@​LadyBluenotes](https://togithub.com/LadyBluenotes)
- \[docs] Revise Joy UI "Typography" page
([#​35868](https://togithub.com/mui/material-ui/issues/35868))
[@​LadyBluenotes](https://togithub.com/LadyBluenotes)
##### Examples
- \[examples]\[vitejs] Load Roboto font
([#​35678](https://togithub.com/mui/material-ui/issues/35678))
[@​oliv37](https://togithub.com/oliv37)
##### Core
- \[blog] Fix the look and feel of the media description
([#​36069](https://togithub.com/mui/material-ui/issues/36069))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- \[core] Add default preview url
([#​36118](https://togithub.com/mui/material-ui/issues/36118))
[@​siriwatknp](https://togithub.com/siriwatknp)
- \[core] Migrate all the internals exported by `tests/utils/index.js`
to TypeScript
([#​35382](https://togithub.com/mui/material-ui/issues/35382))
[@​flaviendelangle](https://togithub.com/flaviendelangle)
- \[core] Convert the waterfall module to an internal package
([#​35323](https://togithub.com/mui/material-ui/issues/35323))
[@​michaldudak](https://togithub.com/michaldudak)
- \[website] Fix homepage MD theme demo
([#​36027](https://togithub.com/mui/material-ui/issues/36027))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- \[website] Revise the Lead Designer role job ad
([#​35912](https://togithub.com/mui/material-ui/issues/35912))
[@​danilo-leal](https://togithub.com/danilo-leal)
- \[POC] Add deploy preview to PR body
([#​35995](https://togithub.com/mui/material-ui/issues/35995))
[@​siriwatknp](https://togithub.com/siriwatknp)
All contributors of this release in alphabetical order:
[@​danilo-leal](https://togithub.com/danilo-leal),
[@​donaldnevermore](https://togithub.com/donaldnevermore),
[@​flaviendelangle](https://togithub.com/flaviendelangle),
[@​hbjORbj](https://togithub.com/hbjORbj),
[@​LadyBluenotes](https://togithub.com/LadyBluenotes),
[@​LukasTy](https://togithub.com/LukasTy),
[@​m4theushw](https://togithub.com/m4theushw),
[@​michaldudak](https://togithub.com/michaldudak),
[@​mj12albert](https://togithub.com/mj12albert),
[@​mnajdova](https://togithub.com/mnajdova),
[@​oliv37](https://togithub.com/oliv37),
[@​oliviertassinari](https://togithub.com/oliviertassinari),
[@​petyosi](https://togithub.com/petyosi),
[@​rangoo94](https://togithub.com/rangoo94),
[@​sai6855](https://togithub.com/sai6855),
[@​Shorifpatwary](https://togithub.com/Shorifpatwary),
[@​siriwatknp](https://togithub.com/siriwatknp)
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNDguMCIsInVwZGF0ZWRJblZlciI6IjM0LjE0OC4wIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-22 00:53:48 +01:00
"@mui/icons-material" : "5.11.9" ,
"@mui/lab" : "5.0.0-alpha.120" ,
chore(deps): update dependency @mui/material to v5.11.10 (#3207)
[![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/material](https://mui.com/material-ui/getting-started/overview/)
([source](https://togithub.com/mui/material-ui)) | [`5.11.9` ->
`5.11.10`](https://renovatebot.com/diffs/npm/@mui%2fmaterial/5.11.9/5.11.10)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.10/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.10/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.10/compatibility-slim/5.11.9)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.11.10/confidence-slim/5.11.9)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>mui/material-ui</summary>
###
[`v5.11.10`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#​51110)
[Compare
Source](https://togithub.com/mui/material-ui/compare/v5.11.9...v5.11.10)
<!-- generated comparing v5.11.9..master -->
*Feb 20, 2023*
A big thanks to the 11 contributors who made this release possible.
This release was mostly about 🐛 bug fixes and 📚 documentation
improvements.
##### `@mui/material@5.11.10`
- <!-- 22 -->\[Avatar] Fix ownerState usage with styleOverrides when
fallback is used
([#​36228](https://togithub.com/mui/material-ui/issues/36228))
[@​sai6855](https://togithub.com/sai6855)
- <!-- 21 -->\[Badge]\[material] Replace `BadgeUnstyled` with
`useBadge` hook
([#​36158](https://togithub.com/mui/material-ui/issues/36158))
[@​hbjORbj](https://togithub.com/hbjORbj)
- <!-- 03 -->\[Switch] Fix DOM warning when `type` isn't `checkbox` or
`radio`
([#​36170](https://togithub.com/mui/material-ui/issues/36170))
[@​dani-mp](https://togithub.com/dani-mp)
- <!-- 02 -->\[TextareaAutosize] Convert code to TypeScript
([#​35862](https://togithub.com/mui/material-ui/issues/35862))
[@​sai6855](https://togithub.com/sai6855)
- <!-- 01 -->\[useMediaQuery] Fix behavior of noSsr with React 18
([#​36056](https://togithub.com/mui/material-ui/issues/36056))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
##### `@mui/joy@5.0.0-alpha.68`
- <!-- 05 -->\[Joy] Add `zIndex` to theme
([#​36236](https://togithub.com/mui/material-ui/issues/36236))
[@​siriwatknp](https://togithub.com/siriwatknp)
- <!-- 04 -->\[Joy] Remove transition from all components
([#​35952](https://togithub.com/mui/material-ui/issues/35952))
[@​hbjORbj](https://togithub.com/hbjORbj)
##### Docs
- <!-- 20 -->\[docs]\[base] Fix base Input demos for Safari
([#​36213](https://togithub.com/mui/material-ui/issues/36213))
[@​mj12albert](https://togithub.com/mj12albert)
- <!-- 16 -->\[docs] Fix 301 links
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 15 -->\[docs] Fix modal transition demos
([#​36137](https://togithub.com/mui/material-ui/issues/36137))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 14 -->\[docs] Update links to pt examples
([#​36237](https://togithub.com/mui/material-ui/issues/36237))
[@​Aleff13](https://togithub.com/Aleff13)
- <!-- 13 -->\[docs] Update custom Typography variants example
([#​36185](https://togithub.com/mui/material-ui/issues/36185))
[@​mj12albert](https://togithub.com/mj12albert)
- <!-- 12 -->\[docs] Change markdown numbering syntax
([#​36187](https://togithub.com/mui/material-ui/issues/36187))
[@​mj12albert](https://togithub.com/mj12albert)
- <!-- 11 -->\[docs] Fix switch alignment in `Disabled tree items`
section in Tree View docs
([#​36217](https://togithub.com/mui/material-ui/issues/36217))
[@​PunitSoniME](https://togithub.com/PunitSoniME)
- <!-- 10 -->\[docs] Standardize example names
([#​36112](https://togithub.com/mui/material-ui/issues/36112))
[@​samuelsycamore](https://togithub.com/samuelsycamore)
- <!-- 09 -->\[docs] Fix typo
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 08 -->\[docs] Fix markdown table alignments
([#​36136](https://togithub.com/mui/material-ui/issues/36136))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 07 -->\[docs] Small color tweaks to the docs search bar
([#​36160](https://togithub.com/mui/material-ui/issues/36160))
[@​danilo-leal](https://togithub.com/danilo-leal)
- <!-- 06 -->\[docs]\[joy] Update class name prefixes in the `Anatomy`
section
([#​36210](https://togithub.com/mui/material-ui/issues/36210))
[@​ZeeshanTamboli](https://togithub.com/ZeeshanTamboli)
##### Core
- <!-- 19 -->\[core] Migrate nprogress to emotion
([#​36181](https://togithub.com/mui/material-ui/issues/36181))
[@​siriwatknp](https://togithub.com/siriwatknp)
- <!-- 18 -->\[core] Enforce namespace import for ReactDOM
([#​36208](https://togithub.com/mui/material-ui/issues/36208))
[@​mj12albert](https://togithub.com/mj12albert)
- <!-- 17 -->\[core] Fix deploy preview links
([#​36203](https://togithub.com/mui/material-ui/issues/36203))
[@​siriwatknp](https://togithub.com/siriwatknp)
All contributors of this release in alphabetical order:
[@​Aleff13](https://togithub.com/Aleff13),
[@​dani-mp](https://togithub.com/dani-mp),
[@​danilo-leal](https://togithub.com/danilo-leal),
[@​hbjORbj](https://togithub.com/hbjORbj),
[@​mj12albert](https://togithub.com/mj12albert),
[@​oliviertassinari](https://togithub.com/oliviertassinari),
[@​PunitSoniME](https://togithub.com/PunitSoniME),
[@​sai6855](https://togithub.com/sai6855),
[@​samuelsycamore](https://togithub.com/samuelsycamore),
[@​siriwatknp](https://togithub.com/siriwatknp),
[@​ZeeshanTamboli](https://togithub.com/ZeeshanTamboli)
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNTIuNSIsInVwZGF0ZWRJblZlciI6IjM0LjE1Mi41In0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-28 01:14:49 +01:00
"@mui/material" : "5.11.10" ,
2023-06-24 06:24:24 +02:00
"@testing-library/dom" : "8.20.1" ,
2023-07-28 20:25:08 +02:00
"@testing-library/jest-dom" : "5.17.0" ,
2022-04-17 20:16:53 +02:00
"@testing-library/react" : "12.1.5" ,
2022-08-18 15:56:39 +02:00
"@testing-library/react-hooks" : "7.0.2" ,
2023-09-30 14:59:03 +02:00
"@testing-library/user-event" : "14.5.1" ,
2023-09-30 00:51:13 +02:00
"@types/debounce" : "1.2.2" ,
2023-09-30 03:26:27 +02:00
"@types/deep-diff" : "1.0.3" ,
2023-09-29 20:29:50 +02:00
"@types/jest" : "29.5.5" ,
2022-04-28 16:57:43 +02:00
"@types/lodash.clonedeep" : "4.5.7" ,
2022-12-02 10:39:20 +01:00
"@types/lodash.omit" : "4.5.7" ,
2023-09-30 23:13:22 +02:00
"@types/node" : "18.17.19" ,
2023-10-15 03:38:36 +02:00
"@types/react" : "17.0.67" ,
2023-10-06 09:27:30 +02:00
"@types/react-dom" : "17.0.21" ,
2023-10-05 15:12:48 +02:00
"@types/react-linkify" : "1.0.2" ,
2022-05-05 15:34:46 +02:00
"@types/react-router-dom" : "5.3.3" ,
2023-10-05 16:27:34 +02:00
"@types/react-table" : "7.7.16" ,
2023-10-05 17:36:15 +02:00
"@types/react-test-renderer" : "17.0.5" ,
2023-10-05 20:27:38 +02:00
"@types/react-timeago" : "4.1.4" ,
2023-10-05 23:37:03 +02:00
"@types/semver" : "7.5.3" ,
2023-01-27 09:13:57 +01:00
"@types/uuid" : "^9.0.0" ,
2023-10-15 20:09:20 +02:00
"@uiw/codemirror-theme-duotone" : "4.21.19" ,
2023-10-16 00:18:08 +02:00
"@uiw/react-codemirror" : "4.21.19" ,
2023-02-15 06:02:10 +01:00
"@vitejs/plugin-react" : "3.1.0" ,
2023-06-23 11:29:13 +02:00
"cartesian" : "^1.0.1" ,
2022-08-04 16:46:41 +02:00
"chart.js" : "3.9.1" ,
2022-12-28 14:09:19 +01:00
"chartjs-adapter-date-fns" : "3.0.0" ,
2022-10-07 04:41:23 +02:00
"classnames" : "2.3.2" ,
2022-11-14 17:27:49 +01:00
"copy-to-clipboard" : "3.3.3" ,
2023-04-18 11:56:15 +02:00
"countries-and-timezones" : "^3.4.0" ,
2023-09-14 10:25:54 +02:00
"cypress" : "12.17.4" ,
2023-05-08 10:16:18 +02:00
"cypress-vite" : "^1.4.0" ,
2023-05-16 16:45:53 +02:00
"date-fns" : "2.30.0" ,
2023-04-18 11:56:15 +02:00
"date-fns-tz" : "^2.0.0" ,
2021-09-27 09:12:17 +02:00
"debounce" : "1.2.1" ,
2021-11-08 16:02:06 +01:00
"deep-diff" : "1.0.2" ,
2022-10-10 12:18:37 +02:00
"dequal" : "2.0.3" ,
2022-03-24 20:06:59 +01:00
"fast-json-patch" : "3.1.1" ,
2022-04-29 01:07:23 +02:00
"http-proxy-middleware" : "2.0.6" ,
2023-04-03 17:42:06 +02:00
"immer" : "9.0.21" ,
2023-07-20 16:15:22 +02:00
"jsdom" : "22.1.0" ,
2021-09-27 09:12:17 +02:00
"lodash.clonedeep" : "4.5.0" ,
2022-12-02 10:39:20 +01:00
"lodash.omit" : "4.5.0" ,
2022-12-16 15:12:36 +01:00
"mermaid" : "^9.3.0" ,
2023-07-20 16:15:45 +02:00
"millify" : "^6.0.0" ,
2023-02-12 17:25:43 +01:00
"msw" : "0.49.3" ,
2022-08-18 15:56:39 +02:00
"pkginfo" : "0.4.1" ,
2022-06-07 17:35:57 +02:00
"plausible-tracker" : "0.3.8" ,
2022-02-11 01:34:06 +01:00
"prop-types" : "15.8.1" ,
2021-09-27 09:12:17 +02:00
"react" : "17.0.2" ,
2022-08-02 05:44:13 +02:00
"react-chartjs-2" : "4.3.1" ,
2023-04-21 12:48:44 +02:00
"react-confetti" : "^6.1.0" ,
2021-09-27 09:12:17 +02:00
"react-dom" : "17.0.2" ,
2023-01-20 09:50:24 +01:00
"react-dropzone" : "14.2.3" ,
2022-10-10 12:18:37 +02:00
"react-error-boundary" : "3.1.4" ,
2022-12-10 18:26:53 +01:00
"react-hooks-global-state" : "2.1.0" ,
2023-04-18 11:56:15 +02:00
"react-joyride" : "^2.5.3" ,
"react-linkify" : "^1.0.0-alpha" ,
2023-04-21 12:48:44 +02:00
"react-markdown" : "^8.0.4" ,
2023-10-01 06:39:54 +02:00
"react-router-dom" : "6.16.0" ,
2022-05-17 16:33:12 +02:00
"react-table" : "7.8.0" ,
2022-02-25 10:55:39 +01:00
"react-test-renderer" : "17.0.2" ,
2023-09-14 22:29:13 +02:00
"react-timeago" : "7.2.0" ,
chore(deps): update dependency sass to v1.68.0 (#4887)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [sass](https://togithub.com/sass/dart-sass) | [`1.66.1` ->
`1.68.0`](https://renovatebot.com/diffs/npm/sass/1.66.1/1.68.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/sass/1.68.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sass/1.68.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sass/1.66.1/1.68.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sass/1.66.1/1.68.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>sass/dart-sass (sass)</summary>
###
[`v1.68.0`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1680)
[Compare
Source](https://togithub.com/sass/dart-sass/compare/1.67.0...1.68.0)
- Fix the source spans associated with the `abs-percent` deprecation.
##### JS API
- Non-filesystem importers can now set the `nonCanonicalScheme` field,
which
declares that one or more URL schemes (without `:`) will never be used
for
URLs returned by the `canonicalize()` method.
- Add a `containingUrl` field to the `canonicalize()` and
`findFileUrl()`
methods of importers, which is set to the canonical URL of the
stylesheet that
contains the current load. For filesystem importers, this is always set;
for
other importers, it's set only if the current load has no URL scheme, or
if
its URL scheme is declared as non-canonical by the importer.
##### Dart API
- Add `AsyncImporter.isNonCanonicalScheme`, which importers (async or
sync) can
use to indicate that a certain URL scheme will never be used for URLs
returned
by the `canonicalize()` method.
- Add `AsyncImporter.containingUrl`, which is set during calls to the
`canonicalize()` method to the canonical URL of the stylesheet that
contains
the current load. This is set only if the current load has no URL
scheme, or
if its URL scheme is declared as non-canonical by the importer.
##### Embedded Sass
- The `CalculationValue.interpolation` field is deprecated and will be
removed
in a future version. It will no longer be set by the compiler, and if
the host
sets it it will be treated as equivalent to `CalculationValue.string`
except
that `"("` and `")"` will be added to the beginning and end of the
string
values.
- Properly include TypeScript types in the `sass-embedded` package.
###
[`v1.67.0`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1670)
[Compare
Source](https://togithub.com/sass/dart-sass/compare/1.66.1...1.67.0)
- All functions defined in CSS Values and Units 4 are now once again
parsed as
calculation objects: `round()`, `mod()`, `rem()`, `sin()`, `cos()`,
`tan()`,
`asin()`, `acos()`, `atan()`, `atan2()`, `pow()`, `sqrt()`, `hypot()`,
`log()`, `exp()`, `abs()`, and `sign()`.
Unlike in 1.65.0, function calls are *not* locked into being parsed as
calculations or plain Sass functions at parse-time. This means that
user-defined functions will take precedence over CSS calculations of the
same
name. Although the function names `calc()` and `clamp()` are still
forbidden,
users may continue to freely define functions whose names overlap with
other
CSS calculations (including `abs()`, `min()`, `max()`, and `round()`
whose
names overlap with global Sass functions).
- **Breaking change**: As a consequence of the change in calculation
parsing
described above, calculation functions containing interpolation are now
parsed
more strictly than before. However, *almost* all interpolations that
would
have produced valid CSS will continue to work. The only exception is
`#{$variable}%` which is not valid in Sass and is no longer valid in
calculations. Instead of this, either use `$variable` directly and
ensure it
already has the `%` unit, or write `($variable * 1%)`.
- **Potentially breaking bug fix**: The importer used to load a given
file is no
longer used to load absolute URLs that appear in that file. This was
unintented behavior that contradicted the Sass specification. Absolute
URLs
will now correctly be loaded only from the global importer list. This
applies
to the modern JS API, the Dart API, and the embedded protocol.
##### Embedded Sass
- Substantially improve the embedded compiler's performance when
compiling many
files or files that require many importer or function call round-trips
with
the embedded host.
</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://developer.mend.io/github/Unleash/unleash).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-30 19:13:44 +02:00
"sass" : "1.68.0" ,
2023-07-20 20:54:00 +02:00
"semver" : "7.5.4" ,
2023-10-06 08:59:26 +02:00
"swr" : "2.2.4" ,
2023-09-30 11:35:38 +02:00
"tss-react" : "4.9.2" ,
2022-10-07 19:54:29 +02:00
"typescript" : "4.8.4" ,
2023-09-27 09:27:38 +02:00
"vanilla-jsoneditor" : "^0.18.4" ,
2023-10-16 03:39:47 +02:00
"vite" : "4.4.11" ,
2022-08-18 15:56:39 +02:00
"vite-plugin-env-compatible" : "1.1.1" ,
2023-10-01 02:51:52 +02:00
"vite-plugin-svgr" : "3.3.0" ,
2023-09-20 10:30:40 +02:00
"vite-tsconfig-paths" : "4.2.1" ,
2023-07-21 16:36:30 +02:00
"vitest" : "0.33.0" ,
2023-09-20 12:02:12 +02:00
"whatwg-fetch" : "3.6.19"
2017-02-23 22:18:23 +01:00
} ,
2023-01-05 11:57:53 +01:00
"optionalDependencies" : {
2023-07-20 12:59:55 +02:00
"orval" : "^6.17.0"
2023-01-05 11:57:53 +01:00
} ,
2022-10-14 11:44:59 +02:00
"resolutions" : {
2023-06-07 11:56:44 +02:00
"@codemirror/state" : "6.2.1" ,
2023-01-12 10:09:59 +01:00
"@xmldom/xmldom" : "^0.8.4" ,
2023-01-17 13:33:52 +01:00
"json5" : "^2.2.2" ,
2023-10-15 03:38:36 +02:00
"@types/react" : "17.0.67" ,
2023-10-06 09:27:30 +02:00
"@types/react-dom" : "17.0.21" ,
2023-07-20 20:54:00 +02:00
"semver" : "7.5.4"
2022-10-14 11:44:59 +02:00
} ,
2017-02-23 22:18:23 +01:00
"jest" : {
"moduleNameMapper" : {
2022-02-04 11:32:02 +01:00
"\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$" : "<rootDir>/src/__mocks__/fileMock.js" ,
"\\.svg" : "<rootDir>/src/__mocks__/svgMock.js" ,
2017-02-23 22:18:23 +01:00
"\\.(css|scss)$" : "identity-obj-proxy"
2022-02-04 11:32:02 +01:00
}
2021-04-07 09:04:48 +02:00
} ,
"browserslist" : {
2023-10-02 14:25:46 +02:00
"production" : [ ">0.2%" , "not dead" , "not op_mini all" ] ,
2021-04-07 09:04:48 +02:00
"development" : [
"last 1 chrome version" ,
"last 1 firefox version" ,
"last 1 safari version"
2021-02-05 14:33:32 +01:00
]
2021-03-30 15:14:02 +02:00
} ,
2023-09-27 09:27:38 +02:00
"dependencies" : { }
2016-11-10 14:26:24 +01:00
}