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 ,
2024-03-12 13:29:52 +01: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" : {
2024-03-12 13:29:52 +01:00
"build" : "yarn run lint:material:icons && 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" ,
2024-01-05 09:23:12 +01:00
"start:sandbox:enterprise" : "UNLEASH_API=https://sandbox.getunleash.io/ VITE_TEST_REDIRECT=true UNLEASH_BASE_PATH=/enterprise/ 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-11-17 11:42:32 +01:00
"test" : "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" vitest run" ,
2023-04-18 10:35:32 +02:00
"test:snapshot" : "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" yarn test -u" ,
2023-12-05 17:31:23 +01:00
"test:watch" : "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" vitest watch" ,
2024-03-12 13:29:52 +01:00
"lint:material:icons" : "./check-imports.rc" ,
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" ,
2023-12-14 15:12:13 +01:00
"e2e:oss" : "yarn --cwd frontend run cypress run --spec \"cypress/oss/**/*.spec.ts\" --config baseUrl=\"http://localhost:${EXPOSED_PORT:-4242}\" --env AUTH_USER=admin,AUTH_PASSWORD=unleash4all" ,
2023-04-18 10:35:32 +02:00
"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" ,
2024-02-15 10:45:35 +01: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" ,
2024-02-27 09:49:25 +01:00
"gen:api:clean" : "yarn gen:api && rm -rf src/openapi/apis && sed -i.bak '1q' src/openapi/index.ts && rm src/openapi/index.ts.bak"
2016-11-10 14:26:24 +01:00
} ,
2021-04-09 13:38:30 +02:00
"devDependencies" : {
2024-01-12 10:25:59 +01:00
"@biomejs/biome" : "1.5.1" ,
2022-10-26 22:13:52 +02:00
"@codemirror/lang-json" : "6.0.1" ,
2024-03-05 20:12:01 +01:00
"@emotion/react" : "11.11.4" ,
2023-05-25 02:50:38 +02:00
"@emotion/styled" : "11.11.0" ,
chore(deps): update material-ui monorepo (#5862)
[![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/tree/HEAD/packages/mui-icons-material))
| [`5.15.2` ->
`5.15.3`](https://renovatebot.com/diffs/npm/@mui%2ficons-material/5.15.2/5.15.3)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2ficons-material/5.15.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2ficons-material/5.15.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2ficons-material/5.15.2/5.15.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2ficons-material/5.15.2/5.15.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@mui/lab](https://mui.com/material-ui/about-the-lab/)
([source](https://togithub.com/mui/material-ui/tree/HEAD/packages/mui-lab))
| [`5.0.0-alpha.158` ->
`5.0.0-alpha.159`](https://renovatebot.com/diffs/npm/@mui%2flab/5.0.0-alpha.158/5.0.0-alpha.159)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2flab/5.0.0-alpha.159?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2flab/5.0.0-alpha.159?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2flab/5.0.0-alpha.158/5.0.0-alpha.159?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2flab/5.0.0-alpha.158/5.0.0-alpha.159?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@mui/material](https://mui.com/material-ui/)
([source](https://togithub.com/mui/material-ui/tree/HEAD/packages/mui-material))
| [`5.15.2` ->
`5.15.3`](https://renovatebot.com/diffs/npm/@mui%2fmaterial/5.15.2/5.15.3)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2fmaterial/5.15.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2fmaterial/5.15.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2fmaterial/5.15.2/5.15.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2fmaterial/5.15.2/5.15.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>mui/material-ui (@​mui/icons-material)</summary>
###
[`v5.15.3`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#5153)
[Compare
Source](https://togithub.com/mui/material-ui/compare/v5.15.2...v5.15.3)
<!-- generated comparing v5.15.2..master -->
*Jan 3, 2024*
A big thanks to the 11 contributors who made this release possible.
This release was mostly about 🐛 bug fixes and 📚 documentation
improvements.
##### `@mui/material-nextjs@5.15.3`
- <!-- 06 -->\[material-nextjs] Fix order of emotion server
([#​40409](https://togithub.com/mui/material-ui/issues/40409))
[@​siriwatknp](https://togithub.com/siriwatknp)
##### `@mui/base@5.0.0-beta.30`
- <!-- 40 -->\[useSlider] Rearrange passive option in eventlisteners
([#​40235](https://togithub.com/mui/material-ui/issues/40235))
[@​Kamino0](https://togithub.com/Kamino0)
##### `@mui/lab@5.0.0-alpha.159`
- <!-- 14 -->Add use client directive
([#​40358](https://togithub.com/mui/material-ui/issues/40358))
[@​DiegoAndai](https://togithub.com/DiegoAndai)
##### `@mui/material-next@6.0.0-alpha.116`
- <!-- 13 -->\[List] Copy all List\* components to material-next
package
([#​40367](https://togithub.com/mui/material-ui/issues/40367))
[@​sai6855](https://togithub.com/sai6855)
- <!-- 12 -->Update CONTRIBUTING guide given v6/v7 rescheduling
([#​40363](https://togithub.com/mui/material-ui/issues/40363))
[@​DiegoAndai](https://togithub.com/DiegoAndai)
- <!-- 11 -->\[MenuItem] Fix spec import
([#​40271](https://togithub.com/mui/material-ui/issues/40271))
[@​DiegoAndai](https://togithub.com/DiegoAndai)
- <!-- 10 -->\[Option] Add Option component
([#​40270](https://togithub.com/mui/material-ui/issues/40270))
[@​DiegoAndai](https://togithub.com/DiegoAndai)
- <!-- 09 -->\[Slider] Replace lodash with internal utils
([#​40261](https://togithub.com/mui/material-ui/issues/40261))
[@​DiegoAndai](https://togithub.com/DiegoAndai)
- <!-- 08 -->\[Switch] Change files to TypeScript
([#​39894](https://togithub.com/mui/material-ui/issues/39894))
[@​lhilgert9](https://togithub.com/lhilgert9)
- <!-- 07 -->\[theme] Move ref palette out of color schemes
([#​40341](https://togithub.com/mui/material-ui/issues/40341))
[@​DiegoAndai](https://togithub.com/DiegoAndai)
##### Docs
- <!-- 41 -->\[base-ui] Polish the Table Pagination demos
([#​40281](https://togithub.com/mui/material-ui/issues/40281))
[@​danilo-leal](https://togithub.com/danilo-leal)
- <!-- 22 -->\[joy-ui] Fix dashboard template console errors
([#​40316](https://togithub.com/mui/material-ui/issues/40316))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 21 -->\[joy-ui] Fix image size on the Files template
([#​40315](https://togithub.com/mui/material-ui/issues/40315))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 20 -->\[material-ui] Revise the Divider page
([#​40356](https://togithub.com/mui/material-ui/issues/40356))
[@​danilo-leal](https://togithub.com/danilo-leal)
- <!-- 19 -->\[material-ui] Polish the Next.js integration page
([#​40317](https://togithub.com/mui/material-ui/issues/40317))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 18 -->\[material-ui] Adding autoFocus on Virtual Popover
([#​40239](https://togithub.com/mui/material-ui/issues/40239))
[@​aacevski](https://togithub.com/aacevski)
- <!-- 17 -->\[material-ui] Revise the Roadmap page
([#​40054](https://togithub.com/mui/material-ui/issues/40054))
[@​danilo-leal](https://togithub.com/danilo-leal)
- <!-- 16 -->\[material-ui] Update the "showing and hiding" section on
the Tooltip page
([#​40283](https://togithub.com/mui/material-ui/issues/40283))
[@​anle9650](https://togithub.com/anle9650)
- <!-- 05 -->\[material-ui] Fix Slider's customized iOS demo to use
updated official colors
([#​39813](https://togithub.com/mui/material-ui/issues/39813))
[@​Super-Kenil](https://togithub.com/Super-Kenil)
- <!-- 15 -->\[examples] Simplify Next.js example
([#​40318](https://togithub.com/mui/material-ui/issues/40318))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
##### Core
- <!-- 39 -->\[blog] Update open-graph cards for all posts
([#​40328](https://togithub.com/mui/material-ui/issues/40328))
[@​danilo-leal](https://togithub.com/danilo-leal)
- <!-- 38 -->\[blog] Correct git diff
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 37 -->\[code-infra] Update lerna and unpin its version
([#​40399](https://togithub.com/mui/material-ui/issues/40399))
[@​michaldudak](https://togithub.com/michaldudak)
- <!-- 36 -->\[code-infra] Break package dependency cycle between
[@​mui/material](https://togithub.com/mui/material) and
[@​mui/icons-material](https://togithub.com/mui/icons-material)
([#​40400](https://togithub.com/mui/material-ui/issues/40400))
[@​michaldudak](https://togithub.com/michaldudak)
- <!-- 35 -->\[code-infra] Break package dependency cycles
([#​40398](https://togithub.com/mui/material-ui/issues/40398))
[@​michaldudak](https://togithub.com/michaldudak)
- <!-- 34 -->\[code-infra] Sync bug issue template
([#​40305](https://togithub.com/mui/material-ui/issues/40305))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 33 -->\[docs] Fix 301 link to Base UI
([#​40396](https://togithub.com/mui/material-ui/issues/40396))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 32 -->\[docs] Link new MUI X components in sidnav
([#​40345](https://togithub.com/mui/material-ui/issues/40345))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 31 -->\[docs] Fix 301 links to Toolpad
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 30 -->\[docs] Remove old notifications
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 29 -->\[docs] Always mention the npm tag with npx
([#​40335](https://togithub.com/mui/material-ui/issues/40335))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 28 -->\[docs] Reduce network use on the All Components pages
([#​40313](https://togithub.com/mui/material-ui/issues/40313))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 27 -->\[docs-infra] Fix missing button aria-label
([#​40394](https://togithub.com/mui/material-ui/issues/40394))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 26 -->\[docs-infra] Fix a11y violation rule
([#​40393](https://togithub.com/mui/material-ui/issues/40393))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 25 -->\[docs-infra] Prefetch pages on hover
([#​40314](https://togithub.com/mui/material-ui/issues/40314))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 24 -->\[docs-infra] Fix footer links to link to the main domain
([#​40373](https://togithub.com/mui/material-ui/issues/40373))
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 23 -->\[docs-infra] Add stray design adjustments
([#​40347](https://togithub.com/mui/material-ui/issues/40347))
[@​danilo-leal](https://togithub.com/danilo-leal)
- <!-- 04 -->\[website] Fix Base UI page's component section imports &
styles
([#​40231](https://togithub.com/mui/material-ui/issues/40231))
[@​danilo-leal](https://togithub.com/danilo-leal)
- <!-- 03 -->\[website] Fix outdated Nhost image link
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 02 -->\[website] Shorten Joy UI description, 7 chars too long
[@​oliviertassinari](https://togithub.com/oliviertassinari)
- <!-- 01 -->\[website] Update some social preview images
([#​40282](https://togithub.com/mui/material-ui/issues/40282))
[@​danilo-leal](https://togithub.com/danilo-leal)
All contributors of this release in alphabetical order:
[@​aacevski](https://togithub.com/aacevski),
[@​anle9650](https://togithub.com/anle9650),
[@​danilo-leal](https://togithub.com/danilo-leal),
[@​DiegoAndai](https://togithub.com/DiegoAndai),
[@​Kamino0](https://togithub.com/Kamino0),
[@​lhilgert9](https://togithub.com/lhilgert9),
[@​michaldudak](https://togithub.com/michaldudak),
[@​oliviertassinari](https://togithub.com/oliviertassinari),
[@​sai6855](https://togithub.com/sai6855),
[@​siriwatknp](https://togithub.com/siriwatknp),
[@​Super-Kenil](https://togithub.com/Super-Kenil)
</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.
👻 **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://developer.mend.io/github/Unleash/unleash).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 20:50:58 +01:00
"@mui/icons-material" : "5.15.3" ,
"@mui/lab" : "5.0.0-alpha.159" ,
"@mui/material" : "5.15.3" ,
2023-12-08 09:07:57 +01:00
"@mui/x-date-pickers" : "^6.18.3" ,
2023-12-01 15:53:05 +01:00
"@tanstack/react-table" : "^8.10.7" ,
2023-06-24 06:24:24 +02:00
"@testing-library/dom" : "8.20.1" ,
2024-02-12 19:54:34 +01:00
"@testing-library/jest-dom" : "6.4.2" ,
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" ,
2024-01-05 20:03:31 +01:00
"@testing-library/user-event" : "14.5.2" ,
2023-11-27 12:17:21 +01:00
"@types/debounce" : "1.2.4" ,
2023-11-27 13:23:23 +01:00
"@types/deep-diff" : "1.0.5" ,
2024-02-08 19:40:38 +01:00
"@types/jest" : "29.5.12" ,
2023-11-27 18:56:28 +01:00
"@types/lodash.clonedeep" : "4.5.9" ,
2024-01-19 10:08:08 +01:00
"@types/lodash.isequal" : "^4.5.8" ,
2023-12-01 15:53:05 +01:00
"@types/lodash.mapvalues" : "^4.6.9" ,
2023-11-28 00:03:23 +01:00
"@types/lodash.omit" : "4.5.9" ,
2024-03-14 10:02:44 +01:00
"@types/node" : "18.19.22" ,
2024-03-04 23:19:10 +01:00
"@types/react" : "17.0.76" ,
2023-11-29 10:24:30 +01:00
"@types/react-dom" : "17.0.25" ,
2023-11-28 13:53:10 +01:00
"@types/react-linkify" : "1.0.4" ,
2022-05-05 15:34:46 +02:00
"@types/react-router-dom" : "5.3.3" ,
2024-01-09 23:10:04 +01:00
"@types/react-table" : "7.7.19" ,
2023-11-29 03:17:22 +01:00
"@types/react-test-renderer" : "17.0.9" ,
2024-01-08 20:06:47 +01:00
"@types/react-timeago" : "4.1.7" ,
2024-03-05 02:47:37 +01:00
"@types/semver" : "7.5.8" ,
2023-01-27 09:13:57 +01:00
"@types/uuid" : "^9.0.0" ,
2024-03-05 21:35:36 +01:00
"@uiw/codemirror-theme-duotone" : "4.21.24" ,
2024-03-06 01:45:23 +01:00
"@uiw/react-codemirror" : "4.21.24" ,
2023-12-20 14:48:18 +01:00
"@vitejs/plugin-react" : "4.2.1" ,
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" ,
2024-01-10 23:09:18 +01:00
"classnames" : "2.5.1" ,
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" ,
2024-03-01 03:53:42 +01:00
"cypress" : "13.6.6" ,
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" ,
2024-01-17 09:29:17 +01:00
"debounce" : "2.0.0" ,
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" ,
2024-02-07 11:41:10 +01:00
"jsdom" : "23.2.0" ,
2021-09-27 09:12:17 +02:00
"lodash.clonedeep" : "4.5.0" ,
2024-01-19 10:08:08 +01:00
"lodash.isequal" : "^4.5.0" ,
2023-12-01 15:53:05 +01:00
"lodash.mapvalues" : "^4.6.0" ,
2022-12-02 10:39:20 +01:00
"lodash.omit" : "4.5.0" ,
2023-07-20 16:15:45 +02:00
"millify" : "^6.0.0" ,
2024-02-07 11:33:55 +01:00
"msw" : "2.1.7" ,
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" ,
2024-02-21 14:34:57 +01:00
"react-archer" : "4.3.0" ,
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" ,
2024-01-31 11:33:39 +01: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.71.1 (#6576)
[![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.70.0` ->
`1.71.1`](https://renovatebot.com/diffs/npm/sass/1.70.0/1.71.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/sass/1.71.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sass/1.71.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sass/1.70.0/1.71.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sass/1.70.0/1.71.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>sass/dart-sass (sass)</summary>
###
[`v1.71.1`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1711)
[Compare
Source](https://togithub.com/sass/dart-sass/compare/1.71.0...1.71.1)
##### Command-Line Interface
- Ship the musl Linux release with the proper Dart executable.
##### JavaScript API
- Export the `NodePackageImporter` class in ESM mode.
- Allow `NodePackageImporter` to locate a default directory even when
the
entrypoint is an ESM module.
##### Dart API
- Make passing a null argument to `NodePackageImporter()` a static error
rather
than just a runtime error.
##### Embedded Sass
- In the JS Embedded Host, properly install the musl Linux embedded
compiler
when running on musl Linux.
###
[`v1.71.0`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1710)
[Compare
Source](https://togithub.com/sass/dart-sass/compare/1.70.0...1.71.0)
For more information about `pkg:` importers, see [the
announcement][pkg-importers] on the Sass blog.
[pkg-importers]: https://sass-lang.com/blog/announcing-pkg-importers
##### Command-Line Interface
- Add a `--pkg-importer` flag to enable built-in `pkg:` importers.
Currently
this only supports the Node.js package resolution algorithm, via
`--pkg-importer=node`. For example, `@use "pkg:bootstrap"` will load
`node_modules/bootstrap/scss/bootstrap.scss`.
##### JavaScript API
- Add a `NodePackageImporter` importer that can be passed to the
`importers`
option. This loads files using the `pkg:` URL scheme according to the
Node.js
package resolution algorithm. For example, `@use "pkg:bootstrap"` will
load
`node_modules/bootstrap/scss/bootstrap.scss`. The constructor takes a
single
optional argument, which indicates the base directory to use when
locating
`node_modules` directories. It defaults to
`path.dirname(require.main.filename)`.
##### Dart API
- Add a `NodePackageImporter` importer that can be passed to the
`importers`
option. This loads files using the `pkg:` URL scheme according to the
Node.js
package resolution algorithm. For example, `@use "pkg:bootstrap"` will
load
`node_modules/bootstrap/scss/bootstrap.scss`. The constructor takes a
single
argument, which indicates the base directory to use when locating
`node_modules` directories.
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-14 23:12:57 +01:00
"sass" : "1.71.1" ,
2024-02-13 02:24:56 +01:00
"semver" : "7.6.0" ,
2024-02-28 21:15:14 +01:00
"swr" : "2.2.5" ,
2024-02-09 19:07:45 +01:00
"tss-react" : "4.9.4" ,
2022-10-07 19:54:29 +02:00
"typescript" : "4.8.4" ,
2023-12-01 15:53:05 +01:00
"use-query-params" : "^2.2.1" ,
chore(deps): update dependency vanilla-jsoneditor to ^0.22.0 (#6577)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vanilla-jsoneditor](https://togithub.com/josdejong/svelte-jsoneditor)
| [`^0.21.0` ->
`^0.22.0`](https://renovatebot.com/diffs/npm/vanilla-jsoneditor/0.21.6/0.22.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/vanilla-jsoneditor/0.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vanilla-jsoneditor/0.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vanilla-jsoneditor/0.21.6/0.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vanilla-jsoneditor/0.21.6/0.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>josdejong/svelte-jsoneditor (vanilla-jsoneditor)</summary>
###
[`v0.22.0`](https://togithub.com/josdejong/svelte-jsoneditor/blob/HEAD/CHANGELOG.md#0220-2024-03-01)
[Compare
Source](https://togithub.com/josdejong/svelte-jsoneditor/compare/v0.21.6...v0.22.0)
##### ⚠ BREAKING CHANGES
- The `onChange` callback is no longer triggered on programmatic changes
via a
two-way binded `content` or via methods `.update()`, `.set()`, and
`.patch()`.
##### Features
- do not trigger onChange on programmatic changes
([#​410](https://togithub.com/josdejong/svelte-jsoneditor/issues/410))
([201f602](https://togithub.com/josdejong/svelte-jsoneditor/commit/201f6020c4022001b41b7c459e2d809808828543))
- document the requirement for immutable changes in `content` (see
[#​318](https://togithub.com/josdejong/svelte-jsoneditor/issues/318))
([0545e64](https://togithub.com/josdejong/svelte-jsoneditor/commit/0545e647b9c0e68edecbaf7c8f65d51d64de99a4))
- update dependencies (a.o. fixing an issue with wrapping tab indented
lines)
([1bd92e7](https://togithub.com/josdejong/svelte-jsoneditor/commit/1bd92e73fb95bb2cd0ded15d1fa0fd02b5959303))
##### Bug Fixes
- add missing property `onSelect` to interface `JSONEditorPropsOptional`
([4087e3f](https://togithub.com/josdejong/svelte-jsoneditor/commit/4087e3fa9e2f9243c95e8ff6fb7c46c4c67fb61f))
- improve the logic to determine whether a JSON document needs
formatting
([bb15bd1](https://togithub.com/josdejong/svelte-jsoneditor/commit/bb15bd1d30998d7490a53cf58a03cfc7b95f8935))
- onCreateMenu and onCreateContextMenu possibly applying mutated changes
without returning
([da8fd60](https://togithub.com/josdejong/svelte-jsoneditor/commit/da8fd6093de81daff47847cb1c50992b3f23fdbd))
#####
[0.21.6](https://togithub.com/josdejong/svelte-jsoneditor/compare/v0.21.5...v0.21.6)
(2024-02-15)
##### Features
- upgrade `codemirror`, `jsonrepair`, `svelte`, `svelte-simple-modal`,
and dev dependencies
([3255741](https://togithub.com/josdejong/svelte-jsoneditor/commit/32557411017739e9f92a1550d2b7a75113ca9692))
##### Bug Fixes
- improve the logic to determine whether a JSON document needs
formatting
([0ca8a49](https://togithub.com/josdejong/svelte-jsoneditor/commit/0ca8a493e42a3dbaa2d9560ba772dc12c9ef50ab))
- type definition of `JSONEditorPropsOptional.flattenColumns`
([3a28757](https://togithub.com/josdejong/svelte-jsoneditor/commit/3a28757a08abc4b1805c1c22e3245fce696ef31c))
- type definition of RenderMenuContext.mode
([51a7133](https://togithub.com/josdejong/svelte-jsoneditor/commit/51a7133778f542a5d634165cf7772fee17332647))
#####
[0.21.5](https://togithub.com/josdejong/svelte-jsoneditor/compare/v0.21.4...v0.21.5)
(2024-02-05)
##### Features
- implement support for vanilla JS components in `onRenderValue` using
Svelte Action
([#​398](https://togithub.com/josdejong/svelte-jsoneditor/issues/398))
([db482ea](https://togithub.com/josdejong/svelte-jsoneditor/commit/db482eae3cfe3d902ee66ae1f094ae30d12f1e5b))
##### Bug Fixes
-
[#​392](https://togithub.com/josdejong/svelte-jsoneditor/issues/392)
property `onRenderContextMenu` missing in `JSONEditorPropsOptional`
([ee9b4c9](https://togithub.com/josdejong/svelte-jsoneditor/commit/ee9b4c9199c11f535b94eab145ccac4d83312afa))
-
[#​401](https://togithub.com/josdejong/svelte-jsoneditor/issues/401)
original data can be mutated by the TransformModal previews
([337f812](https://togithub.com/josdejong/svelte-jsoneditor/commit/337f81234b1f72bbd2ab5c89338689ddacdb825a))
- consistently use selectedJson in the TransformModal
([ac31a79](https://togithub.com/josdejong/svelte-jsoneditor/commit/ac31a7980d77eae3c5ff3eef0d932f4b3362bdca))
- use `flex-start` instead of `start` for `align-items`
([#​395](https://togithub.com/josdejong/svelte-jsoneditor/issues/395))
([b8be1a5](https://togithub.com/josdejong/svelte-jsoneditor/commit/b8be1a57f3a6e35673033e1fbb879997f5533e7c))
#####
[0.21.4](https://togithub.com/josdejong/svelte-jsoneditor/compare/v0.21.3...v0.21.4)
(2024-01-24)
##### Bug Fixes
-
[#​381](https://togithub.com/josdejong/svelte-jsoneditor/issues/381)
method `.update()` throwing an exception when calling directly after
creating the editor
([75c3b5e](https://togithub.com/josdejong/svelte-jsoneditor/commit/75c3b5e1c19347e98d86c367bebe5e688c4f3ea1))
- update `@codemirror/view` and dev dependencies
([3f2afef](https://togithub.com/josdejong/svelte-jsoneditor/commit/3f2afef38bb420bc4f21629ff5cb16e494b6d025))
#####
[0.21.3](https://togithub.com/josdejong/svelte-jsoneditor/compare/v0.21.2...v0.21.3)
(2024-01-19)
##### Bug Fixes
-
[#​381](https://togithub.com/josdejong/svelte-jsoneditor/issues/381)
method `set()` sometimes throwing an error in `text` mode
([2dc62f0](https://togithub.com/josdejong/svelte-jsoneditor/commit/2dc62f04056ec352fe548323dda5819e423a25d5))
-
[#​391](https://togithub.com/josdejong/svelte-jsoneditor/issues/391)
editor not supporting `Object.create(null)` as object
([918a126](https://togithub.com/josdejong/svelte-jsoneditor/commit/918a126789c61b8846505072642023a179418e90))
- update dependencies and devDependencies
([0d49b66](https://togithub.com/josdejong/svelte-jsoneditor/commit/0d49b66810fa76c4b2fe82021e9dc7b760150407))
#####
[0.21.2](https://togithub.com/josdejong/svelte-jsoneditor/compare/v0.21.1...v0.21.2)
(2024-01-10)
##### Features
- provide the current `selection` in `onRenderContextMenu`
([#​376](https://togithub.com/josdejong/svelte-jsoneditor/issues/376))
([2068823](https://togithub.com/josdejong/svelte-jsoneditor/commit/2068823bc302b7be47bfdc6e977cbe65b92e2794))
- update deps `codemirror`, `jsonrepair`, `sass`, `svelte-awesome`,
`svelte-select`, and more
([63ac195](https://togithub.com/josdejong/svelte-jsoneditor/commit/63ac1950db57523d57446d43daecac69cb84d5a2))
##### Bug Fixes
-
[#​379](https://togithub.com/josdejong/svelte-jsoneditor/issues/379)
ContextMenu not closing after using a custom button via
onRenderContextMenu
([2a83137](https://togithub.com/josdejong/svelte-jsoneditor/commit/2a8313759a9c6125369697bbe8cf335214399df5))
-
[#​386](https://togithub.com/josdejong/svelte-jsoneditor/issues/386)
add a `standalone.d.ts` file to the `vanilla-jsoneditor` package
([4f8fa55](https://togithub.com/josdejong/svelte-jsoneditor/commit/4f8fa55fb4ed09ef112ddee3aab03429bf0a5ca9))
- improve performance of `isColor` detection (see
[#​378](https://togithub.com/josdejong/svelte-jsoneditor/issues/378))
([514f6ca](https://togithub.com/josdejong/svelte-jsoneditor/commit/514f6cafdf4937d495670395028e0f326a585a9a))
- improve performance of `isColor` detection for long text values (See
[#​378](https://togithub.com/josdejong/svelte-jsoneditor/issues/378))
([b1a04fc](https://togithub.com/josdejong/svelte-jsoneditor/commit/b1a04fce772a0fca4c14f1e3758a8ba5c7c77ad5))
- update dependency `jsonrepair`
([ec23521](https://togithub.com/josdejong/svelte-jsoneditor/commit/ec235216a1aee30fd880938dc82233a4731c2f0d))
#####
[0.21.1](https://togithub.com/josdejong/svelte-jsoneditor/compare/v0.21.0...v0.21.1)
(2023-12-20)
##### Bug Fixes
- add a module export again to the `svelte-jsoneditor` package
([0c695a4](https://togithub.com/josdejong/svelte-jsoneditor/commit/0c695a444a35b03b37c3a1981ba58c53e3be0159))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-15 02:59:20 +01:00
"vanilla-jsoneditor" : "^0.22.0" ,
chore(deps): update dependency vite to v5.1.5 (#6506)
[![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://vitejs.dev)
([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite)) |
[`5.1.4` -> `5.1.5`](https://renovatebot.com/diffs/npm/vite/5.1.4/5.1.5)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.1.4/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.1.4/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>vitejs/vite (vite)</summary>
###
[`v5.1.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small515-2024-03-04-small)
[Compare
Source](https://togithub.com/vitejs/vite/compare/v5.1.4...v5.1.5)
- fix: `__vite__mapDeps` code injection
([#​15732](https://togithub.com/vitejs/vite/issues/15732))
([aff54e1](https://togithub.com/vitejs/vite/commit/aff54e1)), closes
[#​15732](https://togithub.com/vitejs/vite/issues/15732)
- fix: analysing build chunk without dependencies
([#​15469](https://togithub.com/vitejs/vite/issues/15469))
([bd52283](https://togithub.com/vitejs/vite/commit/bd52283)), closes
[#​15469](https://togithub.com/vitejs/vite/issues/15469)
- fix: import with query with imports field
([#​16085](https://togithub.com/vitejs/vite/issues/16085))
([ab823ab](https://togithub.com/vitejs/vite/commit/ab823ab)), closes
[#​16085](https://togithub.com/vitejs/vite/issues/16085)
- fix: normalize literal-only entry pattern
([#​16010](https://togithub.com/vitejs/vite/issues/16010))
([1dccc37](https://togithub.com/vitejs/vite/commit/1dccc37)), closes
[#​16010](https://togithub.com/vitejs/vite/issues/16010)
- fix: optimizeDeps.entries with literal-only pattern(s)
([#​15853](https://togithub.com/vitejs/vite/issues/15853))
([49300b3](https://togithub.com/vitejs/vite/commit/49300b3)), closes
[#​15853](https://togithub.com/vitejs/vite/issues/15853)
- fix: output correct error for empty import specifier
([#​16055](https://togithub.com/vitejs/vite/issues/16055))
([a9112eb](https://togithub.com/vitejs/vite/commit/a9112eb)), closes
[#​16055](https://togithub.com/vitejs/vite/issues/16055)
- fix: upgrade esbuild to 0.20.x
([#​16062](https://togithub.com/vitejs/vite/issues/16062))
([899d9b1](https://togithub.com/vitejs/vite/commit/899d9b1)), closes
[#​16062](https://togithub.com/vitejs/vite/issues/16062)
- fix(runtime): runtime HMR affects only imported files
([#​15898](https://togithub.com/vitejs/vite/issues/15898))
([57463fc](https://togithub.com/vitejs/vite/commit/57463fc)), closes
[#​15898](https://togithub.com/vitejs/vite/issues/15898)
- fix(scanner): respect `experimentalDecorators: true`
([#​15206](https://togithub.com/vitejs/vite/issues/15206))
([4144781](https://togithub.com/vitejs/vite/commit/4144781)), closes
[#​15206](https://togithub.com/vitejs/vite/issues/15206)
- revert: "fix: upgrade esbuild to 0.20.x"
([#​16072](https://togithub.com/vitejs/vite/issues/16072))
([11cceea](https://togithub.com/vitejs/vite/commit/11cceea)), closes
[#​16072](https://togithub.com/vitejs/vite/issues/16072)
- refactor: share code with vite runtime
([#​15907](https://togithub.com/vitejs/vite/issues/15907))
([b20d542](https://togithub.com/vitejs/vite/commit/b20d542)), closes
[#​15907](https://togithub.com/vitejs/vite/issues/15907)
- refactor(runtime): use functions from `pathe`
([#​16061](https://togithub.com/vitejs/vite/issues/16061))
([aac2ef7](https://togithub.com/vitejs/vite/commit/aac2ef7)), closes
[#​16061](https://togithub.com/vitejs/vite/issues/16061)
- chore(deps): update all non-major dependencies
([#​16028](https://togithub.com/vitejs/vite/issues/16028))
([7cfe80d](https://togithub.com/vitejs/vite/commit/7cfe80d)), closes
[#​16028](https://togithub.com/vitejs/vite/issues/16028)
</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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-11 22:07:34 +01:00
"vite" : "5.1.5" ,
2023-12-20 14:48:18 +01:00
"vite-plugin-env-compatible" : "2.0.1" ,
2023-10-01 02:51:52 +02:00
"vite-plugin-svgr" : "3.3.0" ,
2024-02-13 02:25:33 +01:00
"vite-tsconfig-paths" : "4.3.1" ,
2024-02-13 04:36:40 +01:00
"vitest" : "1.2.2" ,
2024-01-10 04:23:31 +01:00
"whatwg-fetch" : "3.6.20"
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" : {
2024-02-26 22:33:43 +01:00
"@codemirror/state" : "6.4.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" ,
chore(deps): update dependency vite to v5.1.5 (#6506)
[![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://vitejs.dev)
([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite)) |
[`5.1.4` -> `5.1.5`](https://renovatebot.com/diffs/npm/vite/5.1.4/5.1.5)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.1.4/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.1.4/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>vitejs/vite (vite)</summary>
###
[`v5.1.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small515-2024-03-04-small)
[Compare
Source](https://togithub.com/vitejs/vite/compare/v5.1.4...v5.1.5)
- fix: `__vite__mapDeps` code injection
([#​15732](https://togithub.com/vitejs/vite/issues/15732))
([aff54e1](https://togithub.com/vitejs/vite/commit/aff54e1)), closes
[#​15732](https://togithub.com/vitejs/vite/issues/15732)
- fix: analysing build chunk without dependencies
([#​15469](https://togithub.com/vitejs/vite/issues/15469))
([bd52283](https://togithub.com/vitejs/vite/commit/bd52283)), closes
[#​15469](https://togithub.com/vitejs/vite/issues/15469)
- fix: import with query with imports field
([#​16085](https://togithub.com/vitejs/vite/issues/16085))
([ab823ab](https://togithub.com/vitejs/vite/commit/ab823ab)), closes
[#​16085](https://togithub.com/vitejs/vite/issues/16085)
- fix: normalize literal-only entry pattern
([#​16010](https://togithub.com/vitejs/vite/issues/16010))
([1dccc37](https://togithub.com/vitejs/vite/commit/1dccc37)), closes
[#​16010](https://togithub.com/vitejs/vite/issues/16010)
- fix: optimizeDeps.entries with literal-only pattern(s)
([#​15853](https://togithub.com/vitejs/vite/issues/15853))
([49300b3](https://togithub.com/vitejs/vite/commit/49300b3)), closes
[#​15853](https://togithub.com/vitejs/vite/issues/15853)
- fix: output correct error for empty import specifier
([#​16055](https://togithub.com/vitejs/vite/issues/16055))
([a9112eb](https://togithub.com/vitejs/vite/commit/a9112eb)), closes
[#​16055](https://togithub.com/vitejs/vite/issues/16055)
- fix: upgrade esbuild to 0.20.x
([#​16062](https://togithub.com/vitejs/vite/issues/16062))
([899d9b1](https://togithub.com/vitejs/vite/commit/899d9b1)), closes
[#​16062](https://togithub.com/vitejs/vite/issues/16062)
- fix(runtime): runtime HMR affects only imported files
([#​15898](https://togithub.com/vitejs/vite/issues/15898))
([57463fc](https://togithub.com/vitejs/vite/commit/57463fc)), closes
[#​15898](https://togithub.com/vitejs/vite/issues/15898)
- fix(scanner): respect `experimentalDecorators: true`
([#​15206](https://togithub.com/vitejs/vite/issues/15206))
([4144781](https://togithub.com/vitejs/vite/commit/4144781)), closes
[#​15206](https://togithub.com/vitejs/vite/issues/15206)
- revert: "fix: upgrade esbuild to 0.20.x"
([#​16072](https://togithub.com/vitejs/vite/issues/16072))
([11cceea](https://togithub.com/vitejs/vite/commit/11cceea)), closes
[#​16072](https://togithub.com/vitejs/vite/issues/16072)
- refactor: share code with vite runtime
([#​15907](https://togithub.com/vitejs/vite/issues/15907))
([b20d542](https://togithub.com/vitejs/vite/commit/b20d542)), closes
[#​15907](https://togithub.com/vitejs/vite/issues/15907)
- refactor(runtime): use functions from `pathe`
([#​16061](https://togithub.com/vitejs/vite/issues/16061))
([aac2ef7](https://togithub.com/vitejs/vite/commit/aac2ef7)), closes
[#​16061](https://togithub.com/vitejs/vite/issues/16061)
- chore(deps): update all non-major dependencies
([#​16028](https://togithub.com/vitejs/vite/issues/16028))
([7cfe80d](https://togithub.com/vitejs/vite/commit/7cfe80d)), closes
[#​16028](https://togithub.com/vitejs/vite/issues/16028)
</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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-11 22:07:34 +01:00
"vite" : "5.1.5" ,
2024-03-04 23:19:10 +01:00
"@types/react" : "17.0.76" ,
2023-11-29 10:24:30 +01:00
"@types/react-dom" : "17.0.25" ,
2024-02-13 02:24:56 +01:00
"semver" : "7.6.0"
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" : {
2024-03-12 13:29:52 +01: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
]
2023-12-08 09:07:57 +01:00
}
2016-11-10 14:26:24 +01:00
}