1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-28 19:06:12 +01:00
unleash.unleash/frontend/package.json
renovate[bot] dc977d3f40
chore(deps): update dependency vitest to v1.2.2 (#6212)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vitest](https://togithub.com/vitest-dev/vitest)
([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`1.1.3` ->
`1.2.2`](https://renovatebot.com/diffs/npm/vitest/1.1.3/1.2.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.3/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.3/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitest-dev/vitest (vitest)</summary>

###
[`v1.2.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.2)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2)

#####    🐞 Bug Fixes

-   **coverage**:
- Remove `coverage/.tmp` files after run  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5008](https://togithub.com/vitest-dev/vitest/issues/5008)
[<samp>(d53b8)</samp>](https://togithub.com/vitest-dev/vitest/commit/d53b8580)
- Don't crash when re-run removes earlier run's reports  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5022](https://togithub.com/vitest-dev/vitest/issues/5022)
[<samp>(66898)</samp>](https://togithub.com/vitest-dev/vitest/commit/6689856f)
-   **expect**:
- Improve `toThrow(asymmetricMatcher)` failure message  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5000](https://togithub.com/vitest-dev/vitest/issues/5000)
[<samp>(a199a)</samp>](https://togithub.com/vitest-dev/vitest/commit/a199ac2d)
-   **forks**:
- Set correct `VITEST_POOL_ID`  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5002](https://togithub.com/vitest-dev/vitest/issues/5002)
[<samp>(7d0a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d0a4692)
-   **threads**:
- Mention common work-around for the logged error  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5024](https://togithub.com/vitest-dev/vitest/issues/5024)
[<samp>(915d6)</samp>](https://togithub.com/vitest-dev/vitest/commit/915d6c43)
-   **typecheck**:
- Fix `ignoreSourceErrors` in run mode  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5044](https://togithub.com/vitest-dev/vitest/issues/5044)
[<samp>(6dae3)</samp>](https://togithub.com/vitest-dev/vitest/commit/6dae3feb)
-   **vite-node**:
- Provide import.meta.filename and dirname  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5011](https://togithub.com/vitest-dev/vitest/issues/5011)
[<samp>(73148)</samp>](https://togithub.com/vitest-dev/vitest/commit/73148575)
-   **vitest**:
- Expose getHooks & setHooks  -  by
[@&#8203;adriencaccia](https://togithub.com/adriencaccia) in
[https://github.com/vitest-dev/vitest/issues/5032](https://togithub.com/vitest-dev/vitest/issues/5032)
[<samp>(73448)</samp>](https://togithub.com/vitest-dev/vitest/commit/73448706)
- Test deep dependencies change detection  -  by
[@&#8203;blake-newman](https://togithub.com/blake-newman) in
[https://github.com/vitest-dev/vitest/issues/4934](https://togithub.com/vitest-dev/vitest/issues/4934)
[<samp>(9c7c0)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c7c0fc9)
- Throw an error if vi.mock is exported  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5034](https://togithub.com/vitest-dev/vitest/issues/5034)
[<samp>(253df)</samp>](https://togithub.com/vitest-dev/vitest/commit/253df1cc)
- Allow `useFakeTimers` to fake `requestIdleCallback` on non browser  - 
by [@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5028](https://togithub.com/vitest-dev/vitest/issues/5028)
[<samp>(a9a48)</samp>](https://togithub.com/vitest-dev/vitest/commit/a9a486f2)
- Support older NodeJS with async `import.meta.resolve`  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5045](https://togithub.com/vitest-dev/vitest/issues/5045)
[<samp>(cf564)</samp>](https://togithub.com/vitest-dev/vitest/commit/cf5641a9)
- Don't throw an error if mocked file was already imported  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5050](https://togithub.com/vitest-dev/vitest/issues/5050)
[<samp>(fff1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/fff1a270)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2)

###
[`v1.2.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.1)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1)

#####    🐞 Bug Fixes

-   **browser**:
- Apply inlined workspace config to browser mode vite server  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4947](https://togithub.com/vitest-dev/vitest/issues/4947)
[<samp>(db01f)</samp>](https://togithub.com/vitest-dev/vitest/commit/db01f6c2)
- Fix browser testing url for https  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4855](https://togithub.com/vitest-dev/vitest/issues/4855)
[<samp>(6c1cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6c1cc78b)
- Don't fail when calling vi.useFakeTimers  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4992](https://togithub.com/vitest-dev/vitest/issues/4992)
[<samp>(6c5fe)</samp>](https://togithub.com/vitest-dev/vitest/commit/6c5fe49b)
-   **coverage**:
- `thresholds.autoUpdate` to work with arrow function configuration
files  -  by [@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/4959](https://togithub.com/vitest-dev/vitest/issues/4959)
[<samp>(4b411)</samp>](https://togithub.com/vitest-dev/vitest/commit/4b41131a)
-   **expect**:
- Implement chai inspect for `AsymmetricMatcher`  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4942](https://togithub.com/vitest-dev/vitest/issues/4942)
[<samp>(06bae)</samp>](https://togithub.com/vitest-dev/vitest/commit/06bae4dd)
-   **vite-node**:
- Externalize network imports  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4987](https://togithub.com/vitest-dev/vitest/issues/4987)
[<samp>(21f57)</samp>](https://togithub.com/vitest-dev/vitest/commit/21f5744d)
-   **vitest**:
- Handle single `await vi.hoisted`  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4962](https://togithub.com/vitest-dev/vitest/issues/4962)
[<samp>(dcf2e)</samp>](https://togithub.com/vitest-dev/vitest/commit/dcf2e9f2)
- Simplify hoist transform check regex to avoid expensive regex match
 -  by [@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4974](https://togithub.com/vitest-dev/vitest/issues/4974)
[<samp>(df0db)</samp>](https://togithub.com/vitest-dev/vitest/commit/df0db6a9)
- Correctly find module if it has a version query  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4976](https://togithub.com/vitest-dev/vitest/issues/4976)
[<samp>(952c3)</samp>](https://togithub.com/vitest-dev/vitest/commit/952c31df)
- Check color support for intercepted console logging  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4966](https://togithub.com/vitest-dev/vitest/issues/4966)
[<samp>(39a71)</samp>](https://togithub.com/vitest-dev/vitest/commit/39a7169c)
- Use development/production conditions when resolving external modules
 -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4980](https://togithub.com/vitest-dev/vitest/issues/4980)
[<samp>(8877e)</samp>](https://togithub.com/vitest-dev/vitest/commit/8877e22a)
- Throw a syntax error if vi.hoisted is directly exported  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4969](https://togithub.com/vitest-dev/vitest/issues/4969)
[<samp>(f8bff)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8bff9ef)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1)

###
[`v1.2.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.0)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0)

#####    🚀 Features

- Support case-insensitive path matching in cli  -  by
[@&#8203;tigranmk](https://togithub.com/tigranmk) in
[https://github.com/vitest-dev/vitest/issues/3567](https://togithub.com/vitest-dev/vitest/issues/3567)
and
[https://github.com/vitest-dev/vitest/issues/4911](https://togithub.com/vitest-dev/vitest/issues/4911)
[<samp>(1326c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1326c6ef)
- Add typeahead search  -  by
[@&#8203;bonyuta0204](https://togithub.com/bonyuta0204) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4275](https://togithub.com/vitest-dev/vitest/issues/4275)
and
[https://github.com/vitest-dev/vitest/issues/4733](https://togithub.com/vitest-dev/vitest/issues/4733)
[<samp>(480d8)</samp>](https://togithub.com/vitest-dev/vitest/commit/480d866a)
- Add syntax highlighting to error messages  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4813](https://togithub.com/vitest-dev/vitest/issues/4813)
[<samp>(8c969)</samp>](https://togithub.com/vitest-dev/vitest/commit/8c969de2)
- Allow extending toEqual  -  by
[@&#8203;tigranmk](https://togithub.com/tigranmk) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2875](https://togithub.com/vitest-dev/vitest/issues/2875)
and
[https://github.com/vitest-dev/vitest/issues/4880](https://togithub.com/vitest-dev/vitest/issues/4880)
[<samp>(463be)</samp>](https://togithub.com/vitest-dev/vitest/commit/463bee38)
-   **coverage**:
- Custom reporter support  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/4828](https://togithub.com/vitest-dev/vitest/issues/4828)
[<samp>(96dc6)</samp>](https://togithub.com/vitest-dev/vitest/commit/96dc6e9a)
-   **ui**:
- Show unhandled errors on the ui  -  by
[@&#8203;spiroka](https://togithub.com/spiroka) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4380](https://togithub.com/vitest-dev/vitest/issues/4380)
[<samp>(7f59a)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f59a1b8)
-   **vitest**:
- Add `--disable-console-intercept` option to allow opting-out from
automatic console log interception  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4786](https://togithub.com/vitest-dev/vitest/issues/4786)
[<samp>(43fa6)</samp>](https://togithub.com/vitest-dev/vitest/commit/43fa6baa)
- Show slow test duration in verbose reporter on CI  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4929](https://togithub.com/vitest-dev/vitest/issues/4929)
[<samp>(ccb25)</samp>](https://togithub.com/vitest-dev/vitest/commit/ccb25836)
- Allow overiding package installer with public API  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4936](https://togithub.com/vitest-dev/vitest/issues/4936)
[<samp>(c2cce)</samp>](https://togithub.com/vitest-dev/vitest/commit/c2cceebb)

#####    🐞 Bug Fixes

-   **browser**:
- Support vite config `server.headers`  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4890](https://togithub.com/vitest-dev/vitest/issues/4890)
[<samp>(55f53)</samp>](https://togithub.com/vitest-dev/vitest/commit/55f5349f)
- Fix `testNamePattern` config  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4909](https://togithub.com/vitest-dev/vitest/issues/4909)
[<samp>(4add9)</samp>](https://togithub.com/vitest-dev/vitest/commit/4add9516)
- Fix updating snapshot during watch mode  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4867](https://togithub.com/vitest-dev/vitest/issues/4867)
[<samp>(508fc)</samp>](https://togithub.com/vitest-dev/vitest/commit/508fced9)
- Remove redundant test failure logging  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4891](https://togithub.com/vitest-dev/vitest/issues/4891)
[<samp>(7fd44)</samp>](https://togithub.com/vitest-dev/vitest/commit/7fd44dc3)
-   **happy-dom**:
- Window.close() for environment teardown  -  by
[@&#8203;capricorn86](https://togithub.com/capricorn86) in
[https://github.com/vitest-dev/vitest/issues/4931](https://togithub.com/vitest-dev/vitest/issues/4931)
[<samp>(91719)</samp>](https://togithub.com/vitest-dev/vitest/commit/91719bbd)
-   **utils**:
- Fix `objDisplay` default truncate option for `test.each` title  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4917](https://togithub.com/vitest-dev/vitest/issues/4917)
[<samp>(9ae9d)</samp>](https://togithub.com/vitest-dev/vitest/commit/9ae9dac9)
-   **vitest**:
- Fix tap reporter to handle custom error  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4897](https://togithub.com/vitest-dev/vitest/issues/4897)
[<samp>(f8ba8)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ba80f2)
- Gracefully exit Vitest if `process.exit` is called inside the test  - 
by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4903](https://togithub.com/vitest-dev/vitest/issues/4903)
[<samp>(8e6c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/8e6c104a)
- Throw "cannot mock" error only in isolated pools  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4905](https://togithub.com/vitest-dev/vitest/issues/4905)
[<samp>(f99cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/f99cc313)
- Don't throw SyntaxError when "await vi.hoisted" is used  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4915](https://togithub.com/vitest-dev/vitest/issues/4915)
[<samp>(ca62f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca62f37a)
- Correctly parse --maxWorkers/--minWorkers  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4924](https://togithub.com/vitest-dev/vitest/issues/4924)
[<samp>(0e77e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0e77e697)
- Show correct error when vi.hoisted is used inside vi.mock and the
other way around  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4916](https://togithub.com/vitest-dev/vitest/issues/4916)
[<samp>(c4eac)</samp>](https://togithub.com/vitest-dev/vitest/commit/c4eacbb7)
- Call global teardown when using workspaces  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4935](https://togithub.com/vitest-dev/vitest/issues/4935)
[<samp>(528bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/528bd558)
- Use file instead of id for HMR  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4938](https://togithub.com/vitest-dev/vitest/issues/4938)
[<samp>(ca76f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca76f457)
- Add inlined deps to ssr.noExternal so they are added to the module
graph  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4945](https://togithub.com/vitest-dev/vitest/issues/4945)
[<samp>(1663f)</samp>](https://togithub.com/vitest-dev/vitest/commit/1663f5ca)
-   **workspace**:
- Support overring `pool` and `poolOptions` on project level  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/4765](https://togithub.com/vitest-dev/vitest/issues/4765)
[<samp>(e9fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e9fe4181)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0)

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-13 03:36:40 +00:00

158 lines
5.8 KiB
JSON

{
"name": "unleash-frontend-local",
"version": "0.0.0",
"private": true,
"files": [
"index.js",
"build"
],
"engines": {
"node": ">=18"
},
"scripts": {
"build": "vite build",
"dev": "vite",
"start": "vite",
"start:prod": "vite build && vite preview",
"start:sandbox": "UNLEASH_API=https://sandbox.getunleash.io/ospro yarn run start",
"start:sandbox:enterprise": "UNLEASH_API=https://sandbox.getunleash.io/ VITE_TEST_REDIRECT=true UNLEASH_BASE_PATH=/enterprise/ yarn run start",
"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",
"start:demo": "UNLEASH_BASE_PATH=/demo/ UNLEASH_API=https://app.unleash-hosted.com/ yarn run start",
"test": "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" vitest run",
"test:snapshot": "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" yarn test -u",
"test:watch": "NODE_OPTIONS=\"${NODE_OPTIONS} --no-experimental-fetch\" vitest watch",
"lint": "biome lint src --apply",
"lint:check": "biome check src",
"fmt": "biome format src --write",
"fmt:check": "biome check src",
"ts:check": "tsc",
"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: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",
"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",
"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"
},
"devDependencies": {
"@biomejs/biome": "1.5.1",
"@codemirror/lang-json": "6.0.1",
"@emotion/react": "11.11.3",
"@emotion/styled": "11.11.0",
"@mui/icons-material": "5.15.3",
"@mui/lab": "5.0.0-alpha.159",
"@mui/material": "5.15.3",
"@mui/x-date-pickers": "^6.18.3",
"@tanstack/react-table": "^8.10.7",
"@testing-library/dom": "8.20.1",
"@testing-library/jest-dom": "6.4.2",
"@testing-library/react": "12.1.5",
"@testing-library/react-hooks": "7.0.2",
"@testing-library/user-event": "14.5.2",
"@types/debounce": "1.2.4",
"@types/deep-diff": "1.0.5",
"@types/jest": "29.5.12",
"@types/lodash.clonedeep": "4.5.9",
"@types/lodash.isequal": "^4.5.8",
"@types/lodash.mapvalues": "^4.6.9",
"@types/lodash.omit": "4.5.9",
"@types/node": "18.19.14",
"@types/react": "17.0.75",
"@types/react-dom": "17.0.25",
"@types/react-linkify": "1.0.4",
"@types/react-router-dom": "5.3.3",
"@types/react-table": "7.7.19",
"@types/react-test-renderer": "17.0.9",
"@types/react-timeago": "4.1.7",
"@types/semver": "7.5.6",
"@types/uuid": "^9.0.0",
"@uiw/codemirror-theme-duotone": "4.21.21",
"@uiw/react-codemirror": "4.21.21",
"@vitejs/plugin-react": "4.2.1",
"cartesian": "^1.0.1",
"chart.js": "3.9.1",
"chartjs-adapter-date-fns": "3.0.0",
"classnames": "2.5.1",
"copy-to-clipboard": "3.3.3",
"countries-and-timezones": "^3.4.0",
"cypress": "13.6.4",
"cypress-vite": "^1.4.0",
"date-fns": "2.30.0",
"date-fns-tz": "^2.0.0",
"debounce": "2.0.0",
"deep-diff": "1.0.2",
"dequal": "2.0.3",
"fast-json-patch": "3.1.1",
"http-proxy-middleware": "2.0.6",
"immer": "9.0.21",
"jsdom": "23.2.0",
"lodash.clonedeep": "4.5.0",
"lodash.isequal": "^4.5.0",
"lodash.mapvalues": "^4.6.0",
"lodash.omit": "4.5.0",
"mermaid": "^9.3.0",
"millify": "^6.0.0",
"msw": "2.1.7",
"pkginfo": "0.4.1",
"plausible-tracker": "0.3.8",
"prop-types": "15.8.1",
"react": "17.0.2",
"react-chartjs-2": "4.3.1",
"react-confetti": "^6.1.0",
"react-dom": "17.0.2",
"react-dropzone": "14.2.3",
"react-error-boundary": "3.1.4",
"react-hooks-global-state": "2.1.0",
"react-joyride": "^2.5.3",
"react-linkify": "^1.0.0-alpha",
"react-markdown": "^8.0.4",
"react-router-dom": "6.16.0",
"react-table": "7.8.0",
"react-test-renderer": "17.0.2",
"react-timeago": "7.2.0",
"sass": "1.70.0",
"semver": "7.6.0",
"swr": "2.2.4",
"tss-react": "4.9.4",
"typescript": "4.8.4",
"use-query-params": "^2.2.1",
"vanilla-jsoneditor": "^0.21.0",
"vite": "5.0.12",
"vite-plugin-env-compatible": "2.0.1",
"vite-plugin-svgr": "3.3.0",
"vite-tsconfig-paths": "4.3.1",
"vitest": "1.2.2",
"whatwg-fetch": "3.6.20"
},
"optionalDependencies": {
"orval": "^6.17.0"
},
"resolutions": {
"@codemirror/state": "6.4.0",
"@xmldom/xmldom": "^0.8.4",
"json5": "^2.2.2",
"@types/react": "17.0.75",
"@types/react-dom": "17.0.25",
"semver": "7.6.0"
},
"jest": {
"moduleNameMapper": {
"\\.(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",
"\\.(css|scss)$": "identity-obj-proxy"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}